/* Hallmark · shape: One continuous 3D journey · genre: atmospheric · theme: brand · redesign: full
 * paper: #100e18 · accent: #c5a6ff · display: Onest · body: Onest · hero: immersive
 * signature: one camera flies through a portal, unfolding book and library in a shared world · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: only a desktop browser can verify motion here. */
/* Hallmark · waive 80 · Original night landscape remains in the footer · Existing Yorumi material is preserved. */
/* Hallmark · waive 79 · Three capabilities share one continuous pinned world · Immersive scroll motion is explicitly requested on mobile too, with natural flow for reduced motion and short viewports. */
/* Hallmark · dismissed 25 · Short capability copy accompanies artwork rather than long-form prose. */
/* Hallmark · waive 44c · The first section contains three scroll chapters rather than one hero · User removed the separate hero; its total scroll height is intentional and only one chapter is visible on desktop. */
/* Hallmark · waive 59 · Installation details remain attached to the download and footer · User explicitly asked to remove unnecessary outer framing and padding. */
/* Hallmark · waive 81 · The book planes are the animated pages of one object · These are not placeholder images; existing artwork is used for viewing and the shelf. */
/* Hallmark · dismissed F15 · Capability, installation and download layouts use gaps appropriate to their contents. */
/* User override of floor 44b/44d: remove the top download block, let artwork and controls use the full viewport width. Text remains readable; download and version move below the scenes. */
@font-face{font-family:Onest;src:url('/app/fonts/onest.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--font-body:Onest,system-ui,sans-serif;--bg:#100e18;--surface:#1b1726;--raised:#241e32;--line:#ffffff1c;--text:#f3edf9;--muted:#bfb3cf;--accent:#c5a6ff;--ink:#26133e;--hover:#dac5ff;--clear:transparent;--qr-paper:#faf8ff;--qr-ink:#21182d;--hero-glow:#38274d;--radius:28px;--button:14px;--wrap:1120px;--ease-out:cubic-bezier(.22,1,.36,1);--fast:180ms;--long:650ms;
--elysia-bg:#19121d;--elysia-surface:#291f30;--elysia-raised:#35263d;--elysia-line:#64465d;--elysia-text:#fff0f7;--elysia-muted:#d5b7ca;--elysia-accent:#f0b4d2;--elysia-ink:#371b30;--elysia-glow:#42283d;--elysia-hover:#f8ccdf}
:root[data-yorumi-look=elysia]{--bg:var(--elysia-bg);--surface:var(--elysia-surface);--raised:var(--elysia-raised);--line:var(--elysia-line);--text:var(--elysia-text);--muted:var(--elysia-muted);--accent:var(--elysia-accent);--ink:var(--elysia-ink);--hero-glow:var(--elysia-glow);--hover:var(--elysia-hover)}
svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:5px}button:disabled{opacity:.5;cursor:default}
.outline,.cta,.browser-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;border-radius:var(--button);font-weight:600;line-height:1.4;transition:background-color var(--fast),color var(--fast),border-color var(--fast),transform var(--fast)}.outline{padding:12px 16px;border:1px solid var(--line);font-size:14px;background:var(--clear)}.outline:hover{border-color:var(--accent);background:var(--surface)}.outline svg{width:18px;height:18px}.cta{padding:16px 24px;min-height:52px;background:var(--accent);color:var(--ink);font-size:15px}.cta:hover{background:var(--hover);transform:translateY(-2px)}.cta:active,.outline:active,.round-button:active,.motion-toggle:active:not(:disabled){transform:translateY(1px) scale(.98)}.browser-link{font-size:14px;padding:12px 4px;color:var(--muted)}.browser-link svg{width:18px;height:18px;transition:transform var(--fast)}.browser-link:hover{color:var(--text)}.browser-link:hover svg{transform:translateX(3px)}
.motion-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--clear);color:var(--muted)}.motion-ready .motion-toggle{display:inline-flex}.motion-toggle:hover:not(:disabled){color:var(--accent);background:var(--surface)}.motion-toggle[aria-pressed=true]{color:var(--accent)}.motion-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.download-finale{display:grid;grid-template-columns:144px minmax(0,1fr) 220px;gap:40px;align-items:center;padding-block:72px;border-top:1px solid var(--line)}.finale-brand img{display:block;width:100%;height:auto;filter:drop-shadow(0 16px 24px var(--shadow))}.download-finale h2{font-size:52px;line-height:1.05;letter-spacing:-.05em;font-weight:680}.download-finale p{font-size:16px;line-height:1.65;color:var(--muted);margin-top:20px}.download-finale .actions{gap:12px;margin-top:24px}.android-note{display:block;font-size:12px;color:var(--muted);margin-top:16px}
.qr-card{display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center;border-radius:16px}.qr{width:176px;height:176px;display:block;color:var(--qr-ink);background:var(--qr-paper);border-radius:16px;line-height:0}.qr svg{display:block;width:100%;height:100%;stroke:none}.qr-copy{display:grid;gap:8px;color:var(--muted);font-size:12px;line-height:1.6}.qr-copy b{color:var(--text);font-weight:600;font-size:13px}
.install{border-block:1px solid var(--line);scroll-margin-top:24px}.install summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;min-height:72px;font-size:20px;font-weight:600;letter-spacing:-.025em;cursor:pointer;list-style:none}.install summary::-webkit-details-marker{display:none}.install summary:hover{color:var(--accent)}.install summary svg{color:var(--accent);transition:transform var(--fast)}.install[open] summary svg{transform:rotate(180deg)}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding:8px 0 32px;list-style:none;counter-reset:install;margin:0}.steps li{counter-increment:install;display:flex;align-items:flex-start;gap:16px}.steps li:before{content:counter(install,decimal-leading-zero);font-size:14px;color:var(--accent);line-height:24px;font-variant-numeric:tabular-nums}.steps h3{font-size:16px;line-height:1.5;font-weight:600}.steps p{font-size:14px;line-height:1.7;color:var(--muted);margin-top:8px}
.closing-landscape{position:relative;height:180px;pointer-events:none;margin-top:40px;mask-image:linear-gradient(var(--clear),var(--text) 30%)}.scene{position:absolute;inset:0}.scene-art{display:block;width:100%;height:100%}.scene-art,.scene-art *{stroke:none}.foot{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;color:var(--muted);padding-block:24px 32px;font-size:12px}.foot nav{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px}.foot a{display:inline-flex;align-items:center;min-height:44px}.foot a:hover{color:var(--text);text-decoration:underline;text-underline-offset:5px}
:root{--page-inset:clamp(20px,4vw,72px);--watch-fade:#100e18f2;--watch-clear:#100e1800;--watch-mid:#100e1880;--elysia-watch-fade:#19121df2;--elysia-watch-clear:#19121d00;--elysia-watch-mid:#19121d80;--shadow:#08050d99;--edge:#6b537f;--glass:#ffffff12;--shine:#ffffff66;--white:#f7f4ff;--image-ink:#0c1115;--paper:#eee8f2;--paper-line:#c5b7d2;--book-face:#382949}
:root[data-yorumi-look=elysia]{--watch-fade:var(--elysia-watch-fade);--watch-clear:var(--elysia-watch-clear);--watch-mid:var(--elysia-watch-mid)}
*{box-sizing:border-box}html,body{overflow-x:clip}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.6 var(--font-body);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}h1,h2,h3,p{margin:0}h1,h2,h3{min-width:0;overflow-wrap:break-word;text-wrap:balance}p{text-wrap:pretty}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button:disabled{opacity:.5;cursor:default}.sr-only,.motion-label{position:absolute;width:1px;height:1px;overflow:clip;clip-path:inset(50%);white-space:nowrap}
.wrap{width:100%;max-width:none;margin:0;padding-inline:var(--page-inset)}.skip-link{position:absolute;inset:8px auto auto 8px;z-index:10;padding:12px;background:var(--accent);color:var(--ink);transform:translateY(-160%)}.skip-link:focus{transform:none}
.top{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:88px;position:relative;z-index:5}.brand{display:inline-flex;align-items:center;gap:8px;font-size:29px;font-weight:760;letter-spacing:-1px}.brand img{display:block;object-fit:contain;flex:none}.top-nav,.top-actions{display:flex;align-items:center;gap:28px}.top-nav a{font-size:14px;color:var(--muted);padding-block:12px}.top-nav a:hover{color:var(--text)}.top-actions{gap:12px}.outline{white-space:nowrap}
.story-scroll{position:relative;width:100%;margin:0;scroll-margin-top:0}.story-stage{position:relative}.story-heading{position:relative;z-index:4;background:var(--bg)}.story-tabs{display:none;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--line)}.motion-ready .story-tabs{display:grid}.story-tabs button{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0;min-height:52px;padding:12px;border:0;border-bottom:2px solid var(--clear);background:var(--clear);color:var(--muted);font-size:15px;font-weight:500;transition:color var(--fast),background-color var(--fast)}.story-tabs button+button{border-left:1px solid var(--line)}.story-tabs button[aria-pressed=true]{color:var(--text);border-bottom-color:var(--accent);background:var(--glass)}.story-tabs button:hover{color:var(--text);background:var(--glass)}.story-tabs button:focus-visible{outline-offset:-6px}.story-tabs svg{width:20px;height:20px}
.story-panel{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:0;align-items:center;min-height:max(560px,calc(100svh - 152px));padding:48px 0;scroll-margin-top:52px}.story-copy{position:relative;z-index:2;padding-inline:var(--page-inset);max-width:680px}.story-copy h2{font-size:clamp(40px,4.8vw,76px);line-height:1.06;letter-spacing:-.045em;font-weight:660}.story-copy>p{max-width:38ch;font-size:17px;line-height:1.7;color:var(--muted);margin-top:28px}.story-note{display:flex;align-items:flex-start;gap:12px;max-width:38ch;margin-top:28px;color:var(--muted);font-size:14px}.story-note svg{color:var(--accent);width:20px;height:20px;margin-top:2px}.story-art{position:relative;min-width:0;height:440px;perspective:1600px;isolation:isolate}.story-watch .story-copy{grid-column:1}.watch-art{position:absolute;inset:0;height:100%;width:100%;z-index:0;overflow:clip}.watch-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--watch-fade),var(--watch-mid) 38%,var(--watch-clear) 78%),linear-gradient(0deg,var(--bg),var(--watch-clear) 35%)}.cinema-frame{position:absolute;inset:0}.cinema-frame img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 45%}.cinema-caption{position:absolute;right:var(--page-inset);bottom:24px;z-index:1;font-size:13px;color:var(--white)}.story-track{display:none}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:28px}.release{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:20px;color:var(--muted);font-size:12px;line-height:1.6;min-height:40px}.release span{white-space:nowrap}.download-finale{padding-block:88px;border-top:0;scroll-margin-top:32px}.download-finale h2{font-size:clamp(40px,4vw,60px)}.finale-copy{max-width:720px}
@media(max-width:1050px){.top{gap:16px}.top-nav{gap:16px}.top-nav a{font-size:12px}.download-finale{grid-template-columns:minmax(0,1fr) 200px}.finale-brand{display:none}.story-copy{padding-right:24px}.story-art{height:380px}}
@media(max-width:899px){.top{min-height:80px}.top-nav{display:none}.brand{font-size:25px}.brand img{width:40px;height:40px}.story-panel{grid-template-columns:minmax(0,1fr);padding:40px 0;min-height:0;gap:32px}.story-copy{max-width:none;padding-inline:var(--page-inset)}.story-copy h2{font-size:clamp(36px,6.5vw,56px)}.story-copy>p{max-width:48ch;font-size:16px;margin-top:20px}.story-note{max-width:48ch;font-size:13px;margin-top:20px}.story-art{height:360px}.story-watch{min-height:max(520px,calc(100svh - 144px));align-items:end;padding-bottom:64px;padding-top:160px}.story-watch .story-copy{grid-column:auto}.watch-art{height:100%;position:absolute}.watch-art:after{background:linear-gradient(0deg,var(--bg),var(--watch-fade) 12%,var(--watch-mid) 65%,var(--watch-clear))}.cinema-frame img{object-position:55% 35%}.cinema-caption{bottom:20px}.download-finale{padding-block:56px}.closing-landscape{height:132px;margin-top:24px}.steps{grid-template-columns:minmax(0,1fr);gap:24px}}
@media(max-width:600px){.top-actions{gap:8px}.story-tabs button{font-size:13px;gap:8px;min-height:52px;padding:12px 4px}.story-tabs svg{width:18px;height:18px}.story-panel{scroll-margin-top:52px}.story-art{height:300px}.watch-art{height:100%}.story-copy h2{font-size:40px}.download-finale{grid-template-columns:minmax(0,1fr);gap:24px}.qr-card{display:none}.foot{gap:8px;padding-bottom:24px}.foot nav{gap:8px 20px}}
@media(max-width:360px){:root{--page-inset:16px}.top{gap:8px}.top-actions{gap:4px}.brand{font-size:23px}.brand img{width:34px;height:34px}.outline{font-size:12px;padding:8px 12px;gap:8px}.story-tabs button{font-size:12px}.story-tabs svg{width:16px;height:16px}.story-copy h2{font-size:36px}.story-watch{min-height:520px}.story-copy>p{font-size:15px}.story-note{font-size:12px}.story-art{height:260px}.watch-art{height:100%}.cta{padding-inline:16px;font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* DOM fallback geometry; WebGL volume styling follows below. */
.book-object{position:absolute;left:55%;top:51%;width:196px;height:276px;transform:translate(-50%,-50%) rotateX(18deg) rotateY(calc(-25deg + var(--story-progress,0)*18deg)) rotateZ(-8deg);transform-style:preserve-3d}.book-back,.book-cover,.book-paper{position:absolute;inset:0;border-radius:4px 16px 16px 4px;transform-origin:left center;transform-style:preserve-3d}.book-back{background:var(--edge);box-shadow:16px 24px 48px var(--shadow)}.book-spine{position:absolute;top:0;bottom:0;left:0;width:24px;background:var(--edge);transform-origin:left;transform:rotateY(-90deg);border:1px solid var(--shine)}.book-paper{inset:8px 4px 8px 2px;background:repeating-linear-gradient(var(--paper) 0px,var(--paper) 11px,var(--paper-line) 12px,var(--paper) 13px);border:12px solid var(--paper);box-shadow:1px 1px 2px var(--shadow)}
.paper-one{transform:translateZ(6px) rotateY(calc(-4deg - clamp(0,(var(--story-progress,0) - .333)*3,1)*32deg))}.paper-two{transform:translateZ(12px) rotateY(calc(-12deg - clamp(0,(var(--story-progress,0) - .333)*3,1)*58deg))}.paper-three{transform:translateZ(18px) rotateY(calc(-20deg - clamp(0,(var(--story-progress,0) - .333)*3,1)*84deg));display:flex;align-items:center;background:var(--paper)}.paper-three span{color:var(--ink);font-size:15px;line-height:1.8;padding:8px;font-weight:500}.book-cover{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:linear-gradient(140deg,var(--glass),var(--clear)),var(--book-face);border:1px solid var(--accent);transform:translateZ(24px) rotateY(calc(-28deg - clamp(0,(var(--story-progress,0) - .333)*3,1)*98deg));backface-visibility:hidden}.book-cover img{width:108px;height:108px;object-fit:contain}.book-cover>span{font-size:28px;font-weight:700;letter-spacing:-1px}.book-cover small{font-size:12px;color:var(--muted)}
.book-object{left:55%;top:50%;width:clamp(220px,20vw,320px);height:auto;aspect-ratio:220/310;transform:translate(-50%,-50%) rotateX(12deg) rotateY(16deg) rotateZ(-5deg)}.paper-one{transform:translateZ(6px) rotateY(calc(-4deg - var(--read-progress,.35)*22deg))}.paper-two{transform:translateZ(12px) rotateY(calc(-12deg - var(--read-progress,.35)*42deg))}.paper-three{transform:translateZ(18px) rotateY(calc(-20deg - var(--read-progress,.35)*62deg))}.book-cover{transform:translateZ(24px) rotateY(calc(-28deg - var(--read-progress,.35)*78deg))}
.save-art{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:24px;padding-right:var(--page-inset);height:auto;min-height:400px}.shelf-cover{position:relative;min-width:0;aspect-ratio:2/3;overflow:clip;border-radius:8px;transform:none;box-shadow:0 12px 28px var(--shadow)}.shelf-cover img{display:block;width:100%;height:100%;object-fit:cover}.shelf-right img{object-position:34% center}.shelf-front{order:-1}.bookmark-mark{position:absolute;right:12px;top:0;width:36px;height:52px;display:grid;place-items:center;background:var(--accent);color:var(--ink);clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%)}.bookmark-mark svg{width:18px;height:18px;margin-top:-8px}
body[data-motion=on] .cinema-frame img{transform:scale(1.04) translateY(calc(var(--watch-progress,0)*-12px))}
body[data-motion=on] .shelf-cover{transform:translateY(calc(var(--save-progress,0)*-16px))}body[data-motion=on] .shelf-cover:nth-child(2){transform:translateY(calc(var(--save-progress,0)*16px))}
@media(max-width:899px){.save-art{padding-inline:var(--page-inset);gap:20px;min-height:0}.book-object{width:200px}.book-cover img{width:96px;height:96px}}
@media(max-width:600px){.save-art{gap:12px}.book-object{width:160px}.book-cover img{width:80px;height:80px}.book-cover>span{font-size:24px}.paper-three span{font-size:12px}}

/* One full-viewport world. The ordinary DOM chapters remain the complete fallback. */
.journey-world,.journey-hint{display:none}
body[data-journey=ready] .story-scroll{height:580svh}
body[data-journey=ready] .story-stage{position:sticky;top:0;height:100svh;isolation:isolate;overflow:clip}
body[data-journey=ready] .journey-world{display:block;position:absolute;inset:0;z-index:0}
.journey-world canvas{display:block;width:100%;height:100%}
body[data-journey=ready] .story-heading{position:relative;z-index:5;background:linear-gradient(var(--bg),var(--watch-clear))}
body[data-journey=ready] .story-tabs{border:0}
body[data-journey=ready] .story-tabs button{position:relative;border:0;min-height:64px;background:var(--clear);gap:12px}
body[data-journey=ready] .story-tabs button:after{content:'';position:absolute;bottom:6px;left:35%;right:35%;height:1px;background:var(--accent);transform:scaleX(0);transition:transform var(--fast) var(--ease-out)}
body[data-journey=ready] .story-tabs button[aria-pressed=true]:after{transform:scaleX(1)}
body[data-journey=ready] .story-tabs button[aria-pressed=true] svg{color:var(--accent)}
body[data-journey=ready] .story-panels{position:absolute;inset:0;z-index:2;pointer-events:none}
body[data-journey=ready] .story-panels:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--watch-fade),var(--watch-mid) 30%,var(--watch-clear) 65%),linear-gradient(0deg,var(--bg),var(--watch-clear) 35%)}
body[data-journey=ready] .story-panel{position:absolute;inset:0;display:block;height:100%;min-height:0;padding:0;visibility:hidden;opacity:var(--chapter-opacity,1)}
body[data-journey=ready] .story-scroll[data-active='0'] .story-panel:nth-child(1),body[data-journey=ready] .story-scroll[data-active='1'] .story-panel:nth-child(2),body[data-journey=ready] .story-scroll[data-active='2'] .story-panel:nth-child(3){visibility:visible}
body[data-journey=ready] .story-copy{position:absolute;left:0;bottom:112px;width:min(48%,680px);max-width:none;padding-inline:var(--page-inset)}
body[data-journey=ready] .story-copy h2{font-size:clamp(40px,4.8vw,72px);text-wrap:balance}
body[data-journey=ready] .story-copy h2 span{font-size:.85em}
body[data-journey=ready] .story-copy>p{font-size:16px;max-width:35ch;margin-top:24px}
body[data-journey=ready] .story-note{font-size:13px;margin-top:24px}
body[data-journey=ready] .story-art{display:none}
body[data-journey=ready] .journey-hint{display:block;position:absolute;bottom:28px;left:var(--page-inset);z-index:3;font-size:12px;color:var(--muted);opacity:var(--hint-opacity,1);pointer-events:none}
body[data-journey=ready] .story-track{display:block;position:absolute;bottom:0;left:0;right:0;height:2px;z-index:4;background:var(--line)}
body[data-journey=ready] .story-track span{display:none}
body[data-journey=ready] .story-track:before{content:'';position:absolute;inset:0;transform:scaleX(var(--journey-progress,0));transform-origin:left;background:var(--accent)}
@media(max-width:899px){body[data-journey=ready] .story-scroll{height:540svh}body[data-journey=ready] .story-copy{width:100%;bottom:160px;padding-inline:var(--page-inset)}body[data-journey=ready] .story-copy h2{font-size:clamp(34px,5.8vw,48px)}body[data-journey=ready] .story-copy>p{max-width:44ch;font-size:15px;margin-top:16px}body[data-journey=ready] .story-note{max-width:44ch;font-size:12px;margin-top:16px}body[data-journey=ready] .story-panels:before{background:linear-gradient(0deg,var(--bg),var(--watch-fade) 21%,var(--watch-mid) 36%,var(--watch-clear) 61%)}body[data-journey=ready] .journey-hint{bottom:28px}}
@media(max-height:700px){body[data-journey=ready] .story-copy{bottom:92px}body[data-journey=ready] .story-copy h2{font-size:32px}body[data-journey=ready] .story-copy>p{font-size:14px;margin-top:12px}body[data-journey=ready] .story-note{display:none}}

/* Natural materials for the continuous world; colours remain theme tokens. */
:root{--story-world-bg:#18221c;--story-leaf-dark:#243d28;--story-leaf:#547345;--story-leaf-light:#a1ae73;--story-wood:#594330;--story-warm:#ffe0a0;--story-stone:#928f7d;--story-stone-dark:#474c3d;--story-page-paper:#e9dfcb}
body[data-journey=ready] .story-copy h2{font-weight:500;letter-spacing:-.045em}
body[data-journey=ready] .story-copy h2 span{font-size:1em}
:root{--story-cloth:#343d2c;--story-binding:#725b42;--story-foil:#b59b64;--story-type:#f1e9d9}
body[data-journey=ready] .story-copy h2{color:var(--story-type)}

/* Two quiet header actions; the scene itself introduces the next chapter. */
.top.wrap{position:fixed;inset:0 0 auto;width:100%;max-width:none;margin:0;min-height:0;padding:16px var(--page-inset);justify-content:flex-end;pointer-events:none;background:linear-gradient(var(--watch-fade),var(--watch-clear))}
.top-actions{pointer-events:auto;gap:12px}
.top-actions .outline,.top-actions .motion-toggle{background:var(--surface);border:1px solid var(--line)}
.top-actions .motion-toggle{width:auto;min-height:48px;height:auto;border-radius:var(--button);padding:12px 16px;gap:8px}
.motion-label{position:static;width:auto;height:auto;overflow:visible;clip-path:none;font-size:13px;white-space:nowrap}
.story-heading{height:0;background:none}
.story-panel{scroll-margin-top:88px}
.journey-hint,body[data-journey=ready] .journey-hint{display:inline-flex;align-items:center;gap:12px;position:absolute;left:var(--page-inset);bottom:28px;z-index:4;min-height:48px;color:var(--text);font-size:14px;line-height:1.45;text-decoration:none;pointer-events:auto}
.journey-hint .hint-detail{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.scroll-cue{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;background:var(--watch-fade)}
.scroll-cue svg{width:20px;height:20px}
.journey-hint:hover .scroll-cue{border-color:var(--accent);color:var(--accent)}
body[data-journey=ready] .journey-hint[aria-hidden=true]{visibility:hidden;pointer-events:none}
body[data-journey=ready] .story-scroll[data-scrolled=false] .scroll-cue svg{animation:scroll-invitation 1.5s var(--ease-out) 3}
@keyframes scroll-invitation{0%,100%{transform:translateY(-3px);opacity:.6}55%{transform:translateY(4px);opacity:1}}
body:not([data-journey=ready]) .journey-hint{top:calc(min(100svh,720px) - 78px);bottom:auto}
body[data-journey=ready] .story-copy{bottom:116px}
@media(max-width:899px){.top.wrap{padding:12px var(--page-inset)}.top-actions .motion-toggle{padding:12px}.top-actions .outline{padding:12px;font-size:13px;min-height:48px}body[data-journey=ready] .story-copy{bottom:98px}body[data-journey=ready] .story-copy h2{font-size:clamp(34px,5.8vw,48px)}body[data-journey=ready] .story-panels:before{background:linear-gradient(0deg,var(--bg),var(--watch-fade) 12%,var(--watch-mid) 32%,var(--watch-clear) 54%)}.journey-hint,body[data-journey=ready] .journey-hint{bottom:22px}}
@media(max-height:700px){body[data-journey=ready] .story-copy{bottom:102px}.journey-hint .hint-detail{display:none}.journey-hint,body[data-journey=ready] .journey-hint{bottom:20px}}
@media(prefers-reduced-motion:reduce){body[data-journey=ready] .scroll-cue svg{animation:none}}
/* The static reading flow owns the invitation; it never floats over copy. */
body:not([data-journey=ready]) .journey-hint{position:relative;inset:auto;margin-top:24px}
body[data-journey=ready] .journey-hint{bottom:-80px}
@media(max-width:899px){body[data-journey=ready] .journey-hint{bottom:-76px}}
@media(max-height:700px){body[data-journey=ready] .journey-hint{bottom:-82px}}


/* Audit follow-up: preserve the continuous world, align its controls with beta. */
:root:not([data-yorumi-look=elysia]) {
 --bg:#0b1215;--surface:#14201e;--raised:#1d2c28;--text:#edf2ef;
 --muted:#a9bcb5;--accent:#a6e8ce;--ink:#10261e;--hover:#c4f1df;
 --watch-fade:#0b1215f2;--watch-clear:#0b121500;--watch-mid:#0b121580;
 --story-world-bg:#152521;--story-leaf-dark:#254137;--story-leaf:#537e67;
 --story-wood:#4c5146;--story-warm:#e8e5c2;--story-binding:#607267;
 --story-foil:#b4d6c3;--story-type:#edf2ef;
}
.top.wrap { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:20px; }
.landing-identity { display:flex; align-items:center; gap:12px; width:fit-content; pointer-events:auto; }
.landing-identity img { width:44px; height:44px; object-fit:contain; }
.landing-identity strong { display:block; font-size:25px; letter-spacing:-.04em; line-height:1.2; }
.landing-identity small { display:block; font-size:13px; color:var(--muted); }
.landing-install-shortcut { display:inline-flex; align-items:center; min-height:44px; font-size:14px; color:var(--accent); pointer-events:auto; }
#get-app { scroll-margin-top:100px; }
body[data-journey=ready] .story-scroll { height:420svh; }
.closing-landscape { background:linear-gradient(0deg,var(--bg),transparent 80%),url('/app/product/a1f8bb9ebea52f2a/assets/landscape.png') center 55%/cover;background:linear-gradient(0deg,var(--bg),transparent 80%),image-set(url("/beta-static/ea11c64e777147270e090965.avif") type("image/avif"), url("/app/product/a1f8bb9ebea52f2a/assets/landscape.png") type("image/png")) center 55%/cover; }
.closing-landscape .scene { visibility:hidden; }
body:not([data-journey=ready]) .story-watch { padding-top:120px; }
@media(max-width:899px) {
 .top.wrap { grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; padding-top:12px; padding-bottom:12px; }
 .top-actions { grid-column:1/-1; justify-content:flex-end; }
 .landing-identity img { width:36px; height:36px; }
 .landing-identity strong { font-size:23px; }
 .landing-identity small { font-size:12px; }
 .landing-install-shortcut { font-size:13px; }
 #get-app { scroll-margin-top:144px; }
 body[data-journey=ready] .story-scroll { height:380svh; }
 body:not([data-journey=ready]) .story-watch { padding-top:156px; }
}
@media(prefers-reduced-motion:reduce) {
 body[data-journey=ready] .story-scroll { height:auto; }
}

/* The book plays on its own clock. Keep the scene in normal document flow. */
body[data-journey=ready] .story-scroll[data-playing-scene=true]{height:100svh}
body[data-journey=ready] .story-scroll[data-playing-scene=true] .story-stage{position:relative;top:auto}

.landing-picture{display:contents}