:root{--gold:#deb45e;--ink:#4b2d0d;--paper:#f4d995}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0;background:#020a06;font-family:Georgia,"Times New Roman",serif}
body{overflow:hidden}
.site-return{position:fixed;z-index:40;top:18px;left:22px;display:flex;align-items:center;gap:10px;color:#f1d889;text-decoration:none;opacity:0;transform:translateY(-8px);animation:siteReturnIn .55s ease 6.45s forwards}.site-return img{width:38px;height:38px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px rgba(222,180,94,.5),0 5px 18px rgba(0,0,0,.35)}.site-return span{display:grid;line-height:1}.site-return strong{font:700 14px/1 Georgia,serif;letter-spacing:.14em}.site-return small{margin-top:5px;color:#c8b77f;font:600 8px/1 Arial,sans-serif;letter-spacing:.12em}.site-return:hover{color:#fff3bd}
.reader{position:relative;min-height:100svh;display:grid;place-items:center;align-content:center;padding:84px 3vw 24px;color:white;background:radial-gradient(ellipse at 50% 58%,#294126 0,#0b2014 40%,#020906 76%);isolation:isolate}
.ambient{position:absolute;inset:0;z-index:-1;overflow:hidden;background:radial-gradient(ellipse at 50% 63%,rgba(226,171,70,.18),transparent 47%)}
.ambient::before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,#ffd77c 0 1px,transparent 1.7px);background-size:91px 77px;opacity:.17;mask-image:radial-gradient(circle at 50% 55%,#000,transparent 62%);animation:dust 13s linear infinite}
.ambient::after{content:"";position:absolute;left:25%;right:25%;top:-18%;height:88%;pointer-events:none;background:linear-gradient(180deg,rgba(255,236,175,.18),rgba(255,201,93,.08) 48%,transparent 88%);clip-path:polygon(39% 0,61% 0,92% 100%,8% 100%);filter:blur(24px);opacity:0;animation:spotlightGather 3.35s ease-in-out .1s both}
.stage{width:min(90vw,1080px,calc((100svh - 230px)*1.5));aspect-ratio:1.5;perspective:2200px;filter:drop-shadow(0 26px 22px rgba(0,0,0,.52));animation:cinematicAnticipation 3.35s cubic-bezier(.35,0,.2,1) .15s both}
.stage::before{content:"";position:absolute;z-index:-1;inset:-18%;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,rgba(255,203,82,.3),rgba(46,128,79,.12) 37%,transparent 70%);opacity:0;filter:blur(20px);animation:worldGlow 3.15s ease-in-out .25s both}
.reader-cast{position:absolute;z-index:14;inset:0;pointer-events:none}
.stage-character{position:absolute;display:block;max-height:29%;object-fit:contain;object-position:center bottom;opacity:0;transform-origin:center;filter:drop-shadow(0 9px 7px rgba(0,0,0,.5));transition:opacity .32s ease,filter .2s ease,scale .2s ease;pointer-events:auto;cursor:pointer}
.stage-character.is-visible{opacity:1}
.stage-character:hover,.stage-character:focus-visible{scale:1.09;filter:drop-shadow(0 0 10px rgba(255,220,105,.9)) drop-shadow(0 9px 7px rgba(0,0,0,.5));outline:none}
.stage-character.is-speaking{scale:1.12;filter:drop-shadow(0 0 14px #ffe071) drop-shadow(0 9px 7px rgba(0,0,0,.5))}
.stage-character.is-changing{opacity:0;transform:translateY(12px) scale(.94)}
.cast-sprout{left:42%;top:-7%;width:16%;height:27%;clip-path:inset(0 0 10% 0)}
.cast-pip{left:-8%;top:25%;width:14%;transform:rotate(12deg)}
.cast-echo{right:-8%;top:30%;width:14%;transform:rotate(-12deg)}
.cast-honey{right:-5%;top:8%;width:10%;transform:rotate(-12deg)}
.cast-manna{left:2%;bottom:-3%;width:9%;transform:rotate(12deg)}
.cast-pebble{left:13%;bottom:-4%;width:10%;transform:rotate(8deg)}
.cast-reed{right:2%;bottom:-3%;width:8%;height:27%;transform:rotate(-10deg)}
.cast-shiloh{right:12%;bottom:-4%;width:10%;transform:scaleX(-1) rotate(8deg)}
.cast-dot{left:-7%;top:52%;width:10%;transform:rotate(18deg)}
.cast-ollie{left:-1%;top:-5%;width:15%;height:35%;transform:rotate(11deg)}
.cast-lumi{right:20%;top:-4%;width:7%;transform:rotate(-12deg)}
.cast-figgy{left:25%;bottom:-6%;width:9%;transform:rotate(8deg)}
.cast-selah{right:24%;bottom:-6%;width:9%;transform:scaleX(-1) rotate(7deg)}
.is-flyer.is-visible{animation:friendHover 3s ease-in-out infinite alternate}
.cast-echo.is-visible{animation-delay:-1.2s}.cast-honey.is-visible{animation-delay:-2s}.cast-lumi.is-visible{animation-delay:-.6s}
.book-rig{position:relative;width:100%;height:100%;transform-style:preserve-3d;transform:translateX(-24%);animation:centerBook 3.15s cubic-bezier(.62,.01,.16,1) 3.5s forwards,goldHeartbeat 2.2s ease-in-out 6.82s 2}
.book-rig::after{content:"";position:absolute;z-index:12;inset:0;box-sizing:border-box;padding:5.5% 5%;pointer-events:none;background:url("assets/open-book.png") center/100% 100% no-repeat;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;opacity:0;filter:brightness(1.1) saturate(1);animation:insideGoldAwakens 3.4s ease-in-out 6.58s both}
.right-half,.left-leaf{position:absolute;top:0;left:50%;width:50%;height:100%;background-image:url("assets/open-book.png");background-repeat:no-repeat;background-size:200% 100%}
.right-half{z-index:1;background-position:right center;opacity:0;animation:revealRightPage 3.15s ease 3.5s forwards}
.left-leaf{z-index:4;transform-style:preserve-3d;transform-origin:0 50%;background:none;animation:openLeaf 3.15s cubic-bezier(.62,.01,.16,1) 3.5s forwards}
.leaf-face{position:absolute;inset:0;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.leaf-page{transform:rotateY(180deg);opacity:0;background-image:url("assets/open-book.png");background-repeat:no-repeat;background-size:200% 100%;background-position:left center;animation:revealLeftPage 3.15s linear 3.5s forwards}
.leaf-cover{isolation:isolate;background-image:url("assets/closed-book.png");background-repeat:no-repeat;background-size:122% auto;background-position:center 48%;filter:drop-shadow(7px 18px 15px rgba(0,0,0,.52));animation:retireCover 3.15s linear 3.5s forwards}
.leaf-cover::before{display:none}
.leaf-cover::after{display:none}
.tree-shadow{display:none}
.light-rays{display:none}
.emboss-lift{display:none}
.spark-crown{position:absolute;z-index:7;left:50%;top:48%;width:2px;height:2px;border-radius:50%;background:#fff8d2;opacity:0;pointer-events:none;box-shadow:-88px -52px 0 #ffd86a,-56px -18px 0 #fff0a6,-96px 42px 0 #ffc33e,-44px 76px 0 #fff4bd,-18px -86px 0 #ffd052,32px -82px 0 #fff0a0,72px -48px 0 #ffc33e,94px -5px 0 #fff5bf,78px 51px 0 #ffd052,42px 82px 0 #fff0a0,-8px 94px 0 #ffd052;filter:drop-shadow(0 0 5px #ffb72f);animation:cinematicSparks 2.25s ease-out 1.05s both}
.edge-current{display:none}
.cover-glint{position:absolute;z-index:8;inset:0;background:#ffe6a0;-webkit-mask-image:url("assets/gold-mask.png");-webkit-mask-repeat:no-repeat;-webkit-mask-size:122% auto;-webkit-mask-position:center 48%;mask-image:url("assets/gold-mask.png");mask-repeat:no-repeat;mask-size:122% auto;mask-position:center 48%;opacity:0;pointer-events:none;mix-blend-mode:screen;filter:drop-shadow(0 0 7px #ffbd32);animation:insideGoldAwakens 3.4s ease-in-out .22s both}
.spine-shine{display:none}
.left-page-copy,.right-page-copy{position:absolute;z-index:3;top:14%;height:61%;width:64%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(10px,1.4vw,20px);text-align:center;color:var(--ink);opacity:0;animation:copyIn .65s ease 6.68s forwards;text-shadow:0 1px rgba(255,255,255,.42);overflow:hidden;overflow-wrap:anywhere;word-break:normal}
.left-page-copy{left:6%}.right-page-copy{right:30%;border:1px solid transparent;border-radius:0;background:transparent;box-shadow:none}
.right-page-copy>*{position:relative;z-index:1;max-width:100%}
.left-art-mount{position:absolute;z-index:6;left:8.3%;top:10.2%;width:41.1%;height:68.5%;overflow:hidden;clip-path:polygon(9% 3%,23% 1%,72% 0,84% 1%,92% 4%,97% 9%,100% 17%,100% 82%,98% 90%,93% 95%,84% 98%,69% 99%,30% 100%,16% 98%,8% 94%,3% 87%,0 77%,0 19%,3% 10%);opacity:0;animation:copyIn .65s ease 6.68s forwards;filter:drop-shadow(0 2px 5px rgba(75,42,8,.16));pointer-events:none}
.left-page-art{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border:0;border-radius:0;box-sizing:border-box;background:#ead397;filter:saturate(.93) contrast(1.01)}
.art-curl{position:absolute;z-index:2;left:0;bottom:0;width:22%;height:18%;overflow:hidden;border-top-right-radius:100% 100%;background:radial-gradient(ellipse at 15% 100%,#fff0b8 0 24%,#e4c477 52%,#b88a3e 78%,rgba(91,55,14,.75) 100%);box-shadow:8px -7px 12px rgba(66,36,6,.24);transform-origin:left bottom;transform:perspective(110px) rotateY(-8deg) rotateX(5deg)}
.art-curl::before{content:"";position:absolute;inset:0;border-top:1px solid rgba(108,65,18,.32);border-right:1px solid rgba(108,65,18,.2);border-top-right-radius:100% 100%;background:linear-gradient(28deg,rgba(255,244,194,.42),transparent 58%)}
.reader-open .book-rig.has-art .left-art-mount{opacity:1}
.book-rig.has-art .left-page-copy{display:none}
.kicker{margin:0;text-transform:uppercase;letter-spacing:.16em;font:700 clamp(7px,.9vw,13px)/1.3 Arial,sans-serif;color:#866122}
h1{max-width:11ch;margin:.35em 0 .3em;font-size:clamp(20px,3.5vw,52px);line-height:.98}
#pageIntro{max-width:25ch;margin:0;font-size:clamp(10px,1.45vw,20px);font-style:italic}
#rightVerse{width:100%;max-width:38ch;white-space:pre-line;margin:0;font-size:clamp(9px,1.15vw,17px);line-height:1.36}
#rightEnding{max-width:22ch;margin-top:.7em;font-size:clamp(10px,1.3vw,18px);line-height:1.22;color:#7b4513}
.right-page-copy.is-medium #rightVerse{font-size:clamp(9px,1.02vw,15px);line-height:1.3}
.right-page-copy.is-dense #rightVerse{font-size:clamp(8px,.9vw,13px);line-height:1.24}
.turn-sheet{position:absolute;z-index:8;left:50%;top:0;width:50%;height:100%;transform-origin:0 50%;transform-style:preserve-3d;opacity:0;pointer-events:none;will-change:transform,filter}
.turn-sheet.turn{opacity:1;animation:pageTurn .72s cubic-bezier(.5,.02,.18,1) forwards}
.turn-sheet.reverse{left:0;transform-origin:100% 50%;transform:rotateY(-180deg)}
.turn-sheet.turn.reverse{animation-name:pageTurnReverse}
.sheet-face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--ink);backface-visibility:hidden;overflow:hidden;clip-path:polygon(0 13%,65% 12.5%,73% 13.5%,78% 16%,80% 22%,80% 68%,78% 73%,73% 77%,63% 79%,22% 80%,7% 80%,0 77%);background-image:url("assets/open-book.png");background-repeat:no-repeat;background-size:200% 100%;background-position:right center;filter:drop-shadow(7px 8px 8px rgba(52,28,3,.24))}
.sheet-face::after{content:"";position:absolute;inset:9% 3% 19% 0;background:linear-gradient(90deg,rgba(78,37,3,.28),transparent 8%,transparent 72%,rgba(114,66,8,.14));opacity:.35;pointer-events:none}
.sheet-face p{position:absolute;z-index:2;top:24%;left:6%;right:30%;max-height:54%;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line;font-size:clamp(9px,1.15vw,17px);line-height:1.36;margin:0}
.sheet-back{transform:rotateY(180deg);background-position:left center}
.turn-sheet.reverse .sheet-front{transform:rotateY(180deg);background-position:right center}
.turn-sheet.reverse .sheet-back{transform:none;background-position:left center}
.sheet-back p{display:none}
.turn-sheet.turn .sheet-front p{animation:retireTurningInk .72s linear forwards}
.book-rig.is-turning .right-page-copy{visibility:visible}
.controls{z-index:20;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:28px;opacity:0;transform:translateY(8px);animation:controlsReveal .55s ease 6.45s forwards}
.audio-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;width:100%;margin-top:2px}
.volume-control{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 13px;border:1px solid rgba(222,180,94,.45);border-radius:999px;background:rgba(4,25,15,.8);color:#f7df9d;font:700 12px Arial,sans-serif;backdrop-filter:blur(7px)}
.volume-control input{width:clamp(90px,14vw,170px);accent-color:#d9a847;cursor:pointer}
.volume-control output{min-width:34px;color:#fff0bd;font-variant-numeric:tabular-nums}
button{border:1px solid rgba(222,180,94,.58);border-radius:999px;padding:.68rem 1rem;background:rgba(4,25,15,.84);color:#f7df9d;font:700 14px Arial,sans-serif;cursor:pointer;backdrop-filter:blur(7px)}
button:hover{background:#173c25;transform:translateY(-2px)}
button:focus-visible{outline:3px solid #ffe59c;outline-offset:3px}
button.primary{min-width:92px;background:#c28a2f;color:#171006;border-color:#f3cf76}
.hint{margin:.7rem 0 0;color:#c7b98e;font:12px Arial,sans-serif;letter-spacing:.08em;opacity:0;animation:copyIn .55s ease 6.7s forwards}
.reading-dialog{width:min(680px,calc(100vw - 28px));max-height:min(82svh,760px);padding:0;border:1px solid rgba(222,180,94,.72);border-radius:22px;background:#f7e8bc;color:#3b240d;box-shadow:0 28px 80px rgba(0,0,0,.65);overflow:hidden}
.reading-dialog::backdrop{background:rgba(0,8,4,.82);backdrop-filter:blur(5px)}
.reading-dialog__surface{position:relative;max-height:min(82svh,760px);padding:clamp(28px,6vw,56px);overflow:auto;background:linear-gradient(135deg,rgba(255,255,255,.5),transparent 45%),#f7e8bc}
.reading-dialog__close{position:sticky;z-index:2;top:0;float:right;margin:-12px -12px 12px 18px;background:#173c25;color:#fff2c1;border-color:#8b6a2d}
.reading-dialog__eyebrow{margin:0 0 .55rem;color:#71501b;font:700 12px/1.3 Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.reading-dialog h2{max-width:none;margin:0 0 1.15rem;color:#3b240d;font-size:clamp(26px,5vw,42px);line-height:1.05}
.reading-dialog__text{clear:both;white-space:pre-line;font-size:clamp(18px,2.4vw,22px);line-height:1.58;text-align:left;overflow-wrap:break-word}
.reading-dialog__count{display:block;margin-top:1.25rem;color:#794414;font-size:16px}
@keyframes centerBook{0%{transform:translateX(-24%)}12%{transform:translateX(-24%)}100%{transform:translateX(0)}}
@keyframes bookTremor{0%,28%,100%{transform:translate(0,0) rotate(0)}42%{transform:translate(-1px,0) rotate(-.08deg)}48%{transform:translate(1.5px,-.5px) rotate(.1deg)}54%{transform:translate(-1.5px,.5px) rotate(-.1deg)}60%{transform:translate(1px,0) rotate(.07deg)}72%{transform:translate(0,0) rotate(0)}78%{transform:translate(-2px,.5px) rotate(-.12deg)}83%{transform:translate(2px,-.5px) rotate(.12deg)}88%{transform:translate(-1px,0) rotate(-.06deg)}94%{transform:translate(0,0) rotate(0)}}
@keyframes cinematicAnticipation{0%,12%{transform:scale(.985) translateY(4px);filter:drop-shadow(0 28px 20px rgba(0,0,0,.5))}36%{transform:scale(.996) translateY(-2px);filter:drop-shadow(0 35px 25px rgba(0,0,0,.48))}62%{transform:scale(1.008) translateY(-11px);filter:drop-shadow(0 48px 30px rgba(0,0,0,.42))}76%{transform:scale(1.01) translateY(-9px);filter:drop-shadow(0 45px 28px rgba(0,0,0,.44))}84%{transform:scale(1.008) translate(-.7px,-6px) rotate(-.04deg)}88%{transform:scale(1.008) translate(.9px,-5px) rotate(.05deg)}92%{transform:scale(1.006) translate(-.6px,-3px) rotate(-.035deg)}100%{transform:scale(1.004) translateY(0);filter:drop-shadow(0 34px 25px rgba(0,0,0,.52))}}
@keyframes spotlightGather{0%{opacity:0;transform:scaleX(.6)}32%{opacity:.3;transform:scaleX(.82)}68%{opacity:.72;transform:scaleX(1)}100%{opacity:0;transform:scaleX(1.08)}}
@keyframes worldGlow{0%{opacity:0;transform:scale(.8)}45%{opacity:.72;transform:scale(1)}76%{opacity:.42;transform:scale(1.08)}100%{opacity:0;transform:scale(1.15)}}
@keyframes openLeaf{0%,12%{transform:rotateY(0deg)}42%{transform:rotateY(-54deg)}72%{transform:rotateY(-132deg)}100%{transform:rotateY(-180deg)}}
@keyframes revealRightPage{0%,44%{opacity:0}55%{opacity:.35}68%,100%{opacity:1}}
@keyframes revealLeftPage{0%,48%{opacity:0}58%{opacity:.45}70%,100%{opacity:1}}
@keyframes retireCover{0%,98%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
@keyframes glint{0%{transform:translateX(-130%)}100%{transform:translateX(130%)}}
@keyframes edgeChase{0%{opacity:0;transform:scale(.995);rotate:0deg}12%,82%{opacity:1}100%{opacity:0;transform:scale(1.012);rotate:360deg}}
@keyframes engravingIgnite{0%,18%{background:#000;filter:none;opacity:1}34%{background:#171006;filter:drop-shadow(0 0 1px rgba(255,145,0,.12));opacity:1}52%{background:#5e3500;filter:drop-shadow(0 0 3px rgba(255,154,0,.38));opacity:1}68%{background:#b86e08;filter:drop-shadow(0 0 7px rgba(255,174,20,.72));opacity:1}82%{background:#f0b52f;filter:drop-shadow(0 0 11px rgba(255,199,58,.9));opacity:1}92%,100%{background:#ffe68f;filter:drop-shadow(0 0 16px #ffc13b);opacity:1}}
@keyframes goldBurst{0%,15%{opacity:0;transform:scale(.35)}35%{opacity:.95;transform:scale(.72)}58%{opacity:.78;transform:scale(1.08)}100%{opacity:0;transform:scale(1.5)}}
@keyframes treeLightBloom{0%,8%{opacity:0;transform:scale(.55)}28%{opacity:.35;transform:scale(.82)}47%{opacity:.95;transform:scale(1)}63%{opacity:.48;transform:scale(1.12)}78%{opacity:.82;transform:scale(1.2)}100%{opacity:0;transform:scale(1.42)}}
@keyframes borderTrace{0%{opacity:0;clip-path:polygon(0 0,0 0,0 0,0 0)}8%{opacity:1;clip-path:polygon(0 0,12% 0,12% 3%,0 3%)}28%{opacity:1;clip-path:polygon(0 0,100% 0,100% 3%,0 3%)}50%{opacity:1;clip-path:polygon(0 0,100% 0,100% 100%,97% 100%,97% 3%,0 3%)}74%{opacity:1;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 97%,97% 97%,97% 3%,0 3%)}92%{opacity:1;clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}100%{opacity:0;clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}}
@keyframes logoTrace{0%{opacity:0;background-position:center 135%}12%{opacity:.9}72%{opacity:1}100%{opacity:0;background-position:center -35%}}
@keyframes logoExplosion{0%,8%{opacity:0;transform:scale(.42)}26%{opacity:.9;transform:scale(.72)}48%{opacity:1;transform:scale(1)}68%{opacity:.58;transform:scale(1.18)}100%{opacity:0;transform:scale(1.52)}}
@keyframes allGoldPulse{0%,100%{opacity:0;filter:drop-shadow(0 0 0 transparent)}18%{opacity:.32;filter:drop-shadow(0 0 5px #ffc23d)}38%{opacity:.82;filter:drop-shadow(0 0 14px #ffe289)}58%{opacity:.24;filter:drop-shadow(0 0 4px #ffb523)}78%{opacity:.7;filter:drop-shadow(0 0 12px #ffd766)}}
@keyframes cinematicGoldBreath{0%,8%{opacity:0;filter:drop-shadow(0 0 0 transparent)}25%{opacity:.23;filter:drop-shadow(0 0 4px rgba(255,187,43,.55))}39%{opacity:.05}58%{opacity:.48;filter:drop-shadow(0 0 11px rgba(255,204,77,.82))}72%{opacity:.12}88%{opacity:.78;filter:drop-shadow(0 0 19px rgba(255,224,124,.98))}100%{opacity:0;filter:drop-shadow(0 0 4px rgba(255,187,43,.3))}}
@keyframes wholeBookAwakens{0%,8%{opacity:0;filter:drop-shadow(0 0 0 transparent)}26%{opacity:.18;filter:drop-shadow(0 0 4px rgba(255,190,46,.45))}44%{opacity:.05}66%{opacity:.46;filter:drop-shadow(0 0 11px rgba(255,207,81,.78))}82%{opacity:.18}94%{opacity:.72;filter:drop-shadow(0 0 18px rgba(255,224,132,.95))}100%{opacity:0}}
@keyframes insideGoldAwakens{0%,7%{opacity:0;filter:brightness(1) saturate(1) drop-shadow(0 0 0 transparent)}22%{opacity:.2;filter:brightness(1.28) saturate(1.2) drop-shadow(0 0 5px rgba(255,190,46,.5))}38%{opacity:.06;filter:brightness(1.08) saturate(1.05) drop-shadow(0 0 2px rgba(255,190,46,.2))}58%{opacity:.5;filter:brightness(1.85) saturate(1.38) drop-shadow(0 0 13px rgba(255,211,92,.82))}75%{opacity:.16;filter:brightness(1.18) saturate(1.1) drop-shadow(0 0 4px rgba(255,190,46,.28))}91%{opacity:.66;filter:brightness(2.05) saturate(1.45) drop-shadow(0 0 18px rgba(255,226,137,.95))}100%{opacity:0;filter:brightness(1.05) saturate(1) drop-shadow(0 0 0 transparent)}}
@keyframes cinematicTreeBloom{0%,8%{opacity:0;transform:scale(.68)}28%{opacity:.3;transform:scale(.86)}48%{opacity:.72;transform:scale(1)}64%{opacity:.38;transform:scale(1.08)}78%{opacity:1;transform:scale(1.16)}100%{opacity:0;transform:scale(1.48)}}
@keyframes logoSpiritLift{0%,8%{opacity:0;transform:translateZ(0) translateY(0) rotateX(0) scale(1)}22%{opacity:.42;transform:translateZ(18px) translateY(-5px) rotateX(-2deg) scale(1.008)}46%{opacity:.82;transform:translateZ(55px) translateY(-16px) rotateX(-5deg) scale(1.026)}60%{opacity:.92;transform:translateZ(72px) translateY(-22px) rotateX(-6deg) scale(1.038)}74%{opacity:.72;transform:translateZ(52px) translateY(-15px) rotateX(-4deg) scale(1.025)}91%{opacity:.28;transform:translateZ(12px) translateY(-3px) rotateX(-1deg) scale(1.006)}100%{opacity:0;transform:translateZ(0) translateY(0) rotateX(0) scale(1)}}
@keyframes logoLandingBurst{0%,8%{opacity:0;transform:scale(.82)}22%{opacity:.72;transform:scale(.94)}38%{opacity:1;transform:scale(1.04)}62%{opacity:.35;transform:scale(1.2)}100%{opacity:0;transform:scale(1.42)}}
@keyframes cinematicSparks{0%,12%{opacity:0;transform:translate(-50%,-50%) scale(.35)}28%{opacity:.85;transform:translate(-50%,-56%) scale(.65)}62%{opacity:.55;transform:translate(-50%,-74%) scale(1)}100%{opacity:0;transform:translate(-50%,-105%) scale(1.25)}}
@keyframes treeAwakens{0%,34%{opacity:1;transform:scale(1)}64%{opacity:.72;transform:scale(1.01)}84%{opacity:.2;transform:scale(1.025)}100%{opacity:0;transform:scale(1.04)}}
@keyframes raysRelease{0%,12%{opacity:0;transform:scale(.35) rotate(-4deg)}38%{opacity:.8;transform:scale(.86) rotate(0)}64%{opacity:.55;transform:scale(1.22) rotate(3deg)}100%{opacity:0;transform:scale(1.7) rotate(7deg)}}
@keyframes embossAscend{0%,8%{opacity:0;transform:translateZ(0) scale(1);filter:brightness(.7) drop-shadow(0 0 2px #ffd15a)}28%{opacity:.92;transform:translateZ(18px) scale(1.01);filter:brightness(1.35) drop-shadow(0 0 7px #ffc23d)}55%{opacity:1;transform:translateZ(58px) scale(1.035);filter:brightness(1.8) drop-shadow(0 0 14px #fff0a4)}78%{opacity:.55;transform:translateZ(92px) scale(1.065);filter:brightness(2) drop-shadow(0 0 20px #ffca4a)}100%{opacity:0;transform:translateZ(122px) scale(1.1);filter:brightness(2.2) drop-shadow(0 0 25px #fff2aa)}}
@keyframes treeEmbossRise{0%,8%{opacity:0;transform:translateZ(0) scale(1);filter:brightness(.8) drop-shadow(0 0 1px #d58a13)}30%{opacity:.55;transform:translateZ(8px) scale(1.008);filter:brightness(1.25) drop-shadow(0 0 5px #ffbf35)}52%{opacity:.95;transform:translateZ(24px) scale(1.018);filter:brightness(1.75) drop-shadow(0 0 11px #ffe47e)}72%{opacity:.5;transform:translateZ(38px) scale(1.03);filter:brightness(1.5) drop-shadow(0 0 15px #ffc039)}100%{opacity:0;transform:translateZ(48px) scale(1.045);filter:brightness(1.35) drop-shadow(0 0 18px #ffd45e)}}
@keyframes sparksFly{0%,12%{opacity:0;transform:translate(-50%,-50%) scale(.18) rotate(0)}32%{opacity:1;transform:translate(-50%,-50%) scale(.55) rotate(3deg)}70%{opacity:.72;transform:translate(-50%,-50%) scale(1.05) rotate(8deg)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.55) rotate(14deg)}}
@keyframes goldHeartbeat{0%,100%{filter:drop-shadow(0 0 0 rgba(255,190,54,0)) brightness(1)}18%{filter:drop-shadow(0 0 7px rgba(255,190,54,.45)) brightness(1.035)}32%{filter:drop-shadow(0 0 18px rgba(255,211,91,.75)) brightness(1.075)}48%{filter:drop-shadow(0 0 4px rgba(255,190,54,.25)) brightness(1.015)}}
@keyframes openEdgeAlive{0%{opacity:0;filter:brightness(1) saturate(1) drop-shadow(0 0 0 transparent)}12%{opacity:.25;filter:brightness(1.35) saturate(1.25) drop-shadow(0 0 4px #ffbd2e)}24%{opacity:.68;filter:brightness(2.05) saturate(1.45) drop-shadow(0 0 12px #ffc640)}38%{opacity:.18;filter:brightness(1.2) saturate(1.1) drop-shadow(0 0 3px #ffbe34)}52%{opacity:.62;filter:brightness(1.9) saturate(1.4) drop-shadow(0 0 10px #ffe07b)}67%{opacity:.2;filter:brightness(1.2) saturate(1.1) drop-shadow(0 0 3px #ffbe34)}80%{opacity:.52;filter:brightness(1.75) saturate(1.35) drop-shadow(0 0 8px #ffd45e)}100%{opacity:0;filter:brightness(1.05) saturate(1) drop-shadow(0 0 0 transparent)}}
@keyframes spineIn{to{opacity:1}}
@keyframes copyIn{to{opacity:1}}
@keyframes controlsReveal{to{opacity:1;transform:translateY(0)}}
@keyframes siteReturnIn{to{opacity:1;transform:translateY(0)}}
@keyframes characterArrives{0%{opacity:0;transform:translateY(22px) scale(.9)}72%{opacity:1;transform:translateY(-3px) scale(1.015)}100%{opacity:1}}
@keyframes friendHover{from{translate:0 -3px}to{translate:0 5px}}
@keyframes pageTurn{
0%{transform:rotateY(0deg) rotateZ(0) skewY(0) scaleX(1);filter:brightness(1)}
16%{transform:rotateY(-15deg) rotateZ(-.25deg) skewY(-.4deg) scaleX(.995);filter:brightness(1.03) drop-shadow(7px 5px 6px rgba(25,13,1,.18))}
38%{transform:rotateY(-58deg) rotateZ(-.75deg) skewY(-1.8deg) scaleX(.975);filter:brightness(.9) drop-shadow(18px 8px 10px rgba(25,13,1,.3))}
52%{transform:rotateY(-92deg) rotateZ(-1deg) skewY(-2.8deg) scaleX(.94);filter:brightness(.68) drop-shadow(24px 9px 11px rgba(25,13,1,.4))}
70%{transform:rotateY(-137deg) rotateZ(-.55deg) skewY(-1.5deg) scaleX(.975);filter:brightness(.85) drop-shadow(14px 7px 8px rgba(25,13,1,.27))}
88%{transform:rotateY(-170deg) rotateZ(-.1deg) skewY(-.25deg) scaleX(.997);filter:brightness(.98)}
100%{transform:rotateY(-180deg) rotateZ(0) skewY(0) scaleX(1);filter:brightness(1)}}
@keyframes pageTurnReverse{
0%{transform:rotateY(-180deg) rotateZ(0) skewY(0) scaleX(1);filter:brightness(1)}
16%{transform:rotateY(-170deg) rotateZ(.1deg) skewY(.25deg) scaleX(.997);filter:brightness(.98)}
38%{transform:rotateY(-137deg) rotateZ(.55deg) skewY(1.5deg) scaleX(.975);filter:brightness(.85) drop-shadow(-14px 7px 8px rgba(25,13,1,.27))}
52%{transform:rotateY(-92deg) rotateZ(1deg) skewY(2.8deg) scaleX(.94);filter:brightness(.68) drop-shadow(-24px 9px 11px rgba(25,13,1,.4))}
70%{transform:rotateY(-58deg) rotateZ(.75deg) skewY(1.8deg) scaleX(.975);filter:brightness(.9) drop-shadow(-18px 8px 10px rgba(25,13,1,.3))}
88%{transform:rotateY(-15deg) rotateZ(.25deg) skewY(.4deg) scaleX(.995);filter:brightness(1.03) drop-shadow(-7px 5px 6px rgba(25,13,1,.18))}
100%{transform:rotateY(0deg) rotateZ(0) skewY(0) scaleX(1);filter:brightness(1)}}
@keyframes retireTurningInk{0%,42%{opacity:1}50%,100%{opacity:0}}
@keyframes dust{to{background-position:60px -110px}}
@media(max-width:700px){body{overflow-x:hidden;overflow-y:auto}.reader{min-height:100svh;padding:70px 12px 18px;align-content:center;overflow:hidden}.site-return{top:10px;left:12px}.site-return span{display:none}.stage{width:min(86vw,calc((100svh - 285px)*1.5));max-width:100%;flex:0 0 auto}.stage-character{max-height:27%}.cast-dot{left:-8%;width:11%}.cast-manna{left:0}.cast-reed{right:0}.controls{width:min(94vw,540px);margin-top:18px;gap:7px}.controls button{flex:0 0 auto;padding:.58rem .72rem;font-size:12px}.controls #reopen{max-width:100%}.audio-controls{gap:6px}.volume-control{min-height:38px;padding:0 10px}.volume-control input{width:100px}.left-art-mount{left:8.3%;top:10.2%;width:41.1%;height:68.5%}.left-page-copy,.right-page-copy{top:15%;height:59%;padding:5px}.left-page-copy{left:6%}.right-page-copy{right:30%;width:64%}#rightVerse,.sheet-face p{font-size:clamp(6px,1.5vw,10px)}#rightEnding{font-size:clamp(7px,1.6vw,11px)}h1{font-size:clamp(16px,5vw,29px)}#pageIntro{font-size:10px}.kicker{font-size:7px}.hint{display:none}.reading-dialog__surface{padding:30px 24px}.reading-dialog__text{font-size:18px;line-height:1.5}}
@media(prefers-reduced-motion:reduce){.book-rig{transform:none;animation:none}.right-half{opacity:1;animation:none}.left-leaf{transform:rotateY(-180deg);animation:none}.cover-glint,.ambient::before{animation:none}.spine-shine,.left-page-copy,.right-page-copy,.left-page-art{opacity:1;animation:none}.turn-sheet.turn{animation-duration:.01ms}}

/* Exact top-left sheet outline traced by hand against open-book.png. */
.left-art-mount{left:8.594%;top:12.109%;width:39.518%;height:66.602%;clip-path:polygon(16.31% 2.79%,15.49% 3.96%,14.66% 5.43%,14.00% 6.74%,13.51% 8.21%,13.01% 9.53%,12.69% 11.00%,12.36% 12.17%,12.03% 13.49%,12.03% 14.96%,11.86% 16.28%,11.86% 17.74%,11.70% 19.06%,11.37% 20.38%,11.20% 21.85%,11.04% 23.02%,10.87% 24.49%,10.71% 25.66%,10.87% 27.13%,10.87% 28.45%,10.87% 29.91%,10.71% 31.38%,10.54% 32.84%,10.21% 34.46%,9.88% 35.92%,9.72% 37.39%,9.56% 38.71%,9.39% 40.18%,9.23% 41.50%,9.23% 42.82%,9.23% 44.13%,9.23% 45.45%,9.39% 46.92%,9.56% 48.24%,9.39% 49.56%,9.23% 50.88%,8.90% 52.20%,8.57% 53.52%,8.24% 54.99%,7.91% 56.30%,7.58% 57.77%,7.41% 59.24%,7.08% 60.70%,6.75% 62.32%,6.59% 63.49%,6.26% 65.10%,5.93% 66.72%,5.77% 68.33%,5.60% 69.79%,5.44% 71.11%,5.11% 72.58%,4.94% 74.05%,4.78% 75.51%,4.78% 76.69%,4.61% 78.15%,4.45% 79.62%,4.12% 80.94%,3.79% 82.40%,3.29% 83.72%,2.80% 85.19%,2.31% 86.66%,1.98% 88.12%,1.81% 89.59%,1.65% 91.06%,1.48% 92.23%,0.99% 93.11%,0.00% 94.87%,1.32% 93.99%,2.64% 93.99%,3.95% 94.28%,5.27% 94.57%,6.59% 95.01%,7.91% 95.60%,9.23% 96.19%,10.71% 96.92%,12.03% 97.51%,13.51% 98.09%,14.99% 98.24%,16.64% 98.39%,18.12% 98.39%,19.60% 98.53%,21.25% 98.68%,22.90% 98.83%,24.71% 98.97%,26.36% 98.97%,28.01% 98.97%,29.65% 98.97%,31.14% 98.97%,32.62% 98.97%,34.27% 98.97%,35.75% 98.83%,37.23% 98.83%,38.88% 98.83%,40.53% 98.83%,42.17% 98.83%,43.82% 98.68%,45.30% 98.53%,46.79% 98.39%,48.27% 98.24%,49.75% 98.24%,51.40% 98.24%,53.05% 98.09%,54.70% 97.95%,56.34% 97.65%,57.83% 97.21%,59.47% 96.92%,60.96% 96.77%,62.44% 96.63%,63.92% 96.48%,65.40% 96.19%,66.89% 95.89%,68.53% 95.60%,70.02% 95.31%,71.50% 95.16%,72.98% 95.01%,74.63% 95.01%,76.28% 95.01%,77.92% 95.01%,79.57% 95.01%,81.05% 95.16%,82.54% 95.31%,84.18% 95.45%,85.83% 95.75%,87.48% 96.04%,89.13% 96.48%,90.61% 96.77%,92.26% 97.07%,93.74% 97.51%,95.39% 97.95%,96.71% 98.53%,97.86% 99.12%,98.85% 100.00%,99.18% 98.39%,99.18% 97.07%,99.01% 95.60%,98.85% 94.28%,98.52% 92.96%,98.52% 91.50%,98.52% 90.03%,98.52% 88.56%,98.68% 87.24%,98.85% 85.92%,98.85% 84.60%,98.85% 83.28%,98.85% 81.82%,98.85% 80.50%,98.85% 79.18%,98.68% 77.86%,98.52% 76.54%,98.35% 75.07%,98.35% 73.75%,98.35% 72.43%,98.52% 71.11%,98.68% 69.79%,98.85% 68.33%,99.01% 67.01%,99.18% 65.69%,99.18% 64.37%,99.01% 63.05%,98.85% 61.73%,98.85% 60.41%,98.85% 58.94%,99.01% 57.62%,99.18% 56.30%,99.51% 54.99%,99.67% 53.67%,99.84% 52.20%,99.84% 50.88%,100.00% 49.56%,100.00% 48.09%,100.00% 46.63%,99.84% 45.16%,99.67% 43.70%,99.51% 42.38%,99.34% 41.06%,99.34% 39.74%,99.34% 38.27%,99.34% 36.95%,99.34% 35.63%,99.34% 34.31%,99.34% 32.84%,99.34% 31.38%,99.18% 29.91%,99.18% 28.59%,99.34% 27.13%,99.34% 25.81%,99.67% 24.49%,99.84% 23.02%,100.00% 21.70%,100.00% 20.38%,100.00% 19.06%,99.84% 17.74%,99.67% 16.42%,99.51% 14.96%,99.34% 13.64%,99.34% 12.32%,99.34% 11.00%,99.51% 9.68%,99.67% 8.36%,99.67% 7.04%,99.01% 5.57%,97.53% 4.55%,96.21% 3.96%,94.73% 3.52%,93.25% 3.23%,91.76% 2.79%,90.44% 2.35%,88.96% 2.05%,87.64% 1.76%,86.16% 1.32%,84.51% 1.03%,83.03% 0.59%,81.55% 0.29%,80.07% 0.15%,78.58% 0.15%,77.10% 0.15%,75.45% 0.15%,73.81% 0.29%,72.16% 0.29%,70.35% 0.29%,68.70% 0.29%,67.05% 0.15%,65.40% 0.00%,63.92% 0.00%,62.44% 0.00%,60.96% 0.00%,59.47% 0.00%,57.83% 0.00%,56.34% 0.00%,54.86% 0.00%,53.38% 0.15%,51.89% 0.29%,50.25% 0.59%,48.60% 0.88%,46.95% 1.03%,45.30% 1.32%,43.82% 1.47%,42.34% 1.61%,40.69% 1.76%,38.88% 1.91%,37.23% 1.91%,35.91% 2.05%,34.10% 2.20%,32.29% 2.20%,30.64% 2.20%,28.83% 2.20%,27.02% 2.20%,25.37% 2.20%,23.56% 2.20%,22.08% 2.20%,20.43% 2.35%,18.95% 2.49%,17.13% 2.79%)}

/* Player-style controls (2026-08-26) */
.player-cluster{display:flex;align-items:center;justify-content:center;gap:12px;padding:6px 16px;border:1px solid rgba(222,180,94,.45);border-radius:999px;background:rgba(4,25,15,.72);backdrop-filter:blur(7px)}
.player-cluster button{border-radius:50%;display:inline-flex;align-items:center;justify-content:center;padding:0}
button.player-round{width:48px;height:48px;font-size:19px}
button.player-main{width:66px;height:66px;min-width:66px;font-size:26px;line-height:1;box-shadow:0 6px 22px rgba(194,138,47,.45)}
button.player-main:hover{transform:translateY(-2px) scale(1.04)}
button.player-next-book{border-radius:999px;padding:.62rem 1.05rem;font-size:13px}
@media (max-width:640px){button.player-main{width:58px;height:58px;min-width:58px;font-size:22px}button.player-round{width:42px;height:42px}}

/* Compact player so controls always fit on screen */
.controls{margin-top:14px;gap:8px}
.player-cluster{padding:4px 10px;gap:9px}
button.player-main{width:54px;height:54px;min-width:54px;font-size:21px}
button.player-round{width:42px;height:42px;font-size:16px}
.audio-controls{margin-top:0}
@media (max-height:730px){
  .controls{margin-top:8px;gap:6px}
  button.player-main{width:46px;height:46px;min-width:46px;font-size:18px}
  button.player-round{width:38px;height:38px;font-size:14px}
  .controls button,.player-cluster{padding-top:.45rem;padding-bottom:.45rem}
  .player-cluster{padding:3px 8px}
  .volume-control{min-height:36px}
  .hint{margin-top:.35rem}
}

/* Smaller player buttons (owner request 2026-08-26) */
button.player-main{width:46px;height:46px;min-width:46px;font-size:17px}
button.player-round{width:36px;height:36px;font-size:14px}
.player-cluster{padding:3px 8px;gap:7px}
button.player-next-book{padding:.5rem .85rem;font-size:12px}
