:root{--ink:#34473c;--muted:#778174;--paper:#fffdf6;--green:#406b51;--gold:#edbd62}*{box-sizing:border-box}body{margin:0;background:#f4f0e7;color:var(--ink);font-family:Arial,sans-serif}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;font:inherit}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #d09731;outline-offset:5px}header{max-width:1200px;margin:auto;padding:29px 36px;border-bottom:1px solid #dedfd2;display:flex;justify-content:space-between;align-items:center}.brand{font-size:22px;text-decoration:none;color:var(--green);font-family:Georgia,serif}.brand span{margin-left:7px}.prototype{font-size:10px;letter-spacing:1.4px;color:var(--muted)}main{max-width:1120px;margin:auto;padding:36px 24px}.intro{display:flex;justify-content:space-between;align-items:center;padding:0 24px 32px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--green)}h1,h2{font-family:Georgia,serif;font-weight:normal}h1{font-size:43px;line-height:1.13;margin:16px 0}p{line-height:1.6}.intro p:not(.eyebrow){font-size:14px;color:#6c786b}.stamp{transform:rotate(9deg);border:1px dashed #c3a86d;border-radius:50%;width:128px;height:128px;background:#efe5c9;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#8c7549;font-family:Georgia,serif;font-size:18px;line-height:1.35;margin-right:50px}.stamp span{font-size:24px}.book{display:grid;grid-template-columns:1fr 1fr;background:var(--paper);border-radius:9px 18px 18px 9px;box-shadow:0 18px 50px #48563c15,0 4px 0 #e3dfd1,0 7px 0 #faf7ef;border:1px solid #e1dfd1;overflow:hidden}.illustration{background:linear-gradient(90deg,#f9f8ee 94%,#deded22b);text-align:center;position:relative;padding:32px 24px 48px;border-right:1px solid #e2e0d5}.chapter{font-size:9px;letter-spacing:2px;color:var(--muted)}.chapter span{margin:0 13px;color:#c4a35b}.illustration h2{font-size:34px;line-height:1.2;margin:24px 0 0}.illustration svg{width:100%;max-width:430px}.story-caption{font:italic 14px/1.7 Georgia,serif;color:#73816f}.page-no{position:absolute;bottom:19px;left:50%;font:12px Georgia,serif;color:#a6ad99}.record-page{position:relative;padding:34px 38px 46px;background:linear-gradient(90deg,#b9b7a414,transparent 8%)}.page-top{display:flex;justify-content:space-between;gap:8px;font-size:9px;letter-spacing:1px}.role{color:var(--green);font-weight:700}.page-top>span:last-child{color:var(--muted)}.narration{margin:29px 0 22px;border-left:2px solid #dedac5;padding-left:15px}.narration>span{font-size:9px;letter-spacing:1px;color:#8a927e}.narration p{font:16px/1.55 Georgia,serif;margin:7px 0;color:#69765f}.text-button{border:0;background:none;color:var(--green);padding:4px 0;font-size:12px}.line-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--green)}.line-label>span:first-child{background:#e8eedf;border-radius:12px;padding:5px 11px}.line-label>span:last-child{font-size:10px;color:var(--muted)}.script{font:26px/1.65 Georgia,serif;margin:13px 0 19px;min-height:130px}.word{border-radius:4px;transition:background .1s}.word.confirmed{background:#d8e6ca}.word.tentative{background:#fae6a9}.tracking{background:#f3f3e8;border:1px solid #e9e9d9;border-radius:10px;padding:12px 13px}.tracking label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:bold}.tracking input{accent-color:var(--green);width:17px;height:17px}.tracking small{display:block;font-size:10px;font-weight:normal;color:#858b7d;margin-top:4px}.tracking p{font-size:10px;line-height:1.5;color:#7a8371;margin:8px 0 0}.recognition-status:empty{display:none}.recorder{display:flex;align-items:center;gap:15px;margin-top:20px}.primary{background:var(--green);color:white;border:0;border-radius:9px;padding:16px 18px;font-size:13px;font-weight:bold;display:flex;align-items:center;justify-content:center;gap:10px;flex:1;box-shadow:0 4px 8px #354d3010}.primary.recording{background:#a65240}.record-dot{width:10px;height:10px;border-radius:50%;background:#fff}.recording .record-dot{border-radius:2px}#timer{font:12px monospace;color:#7f8879}#status{font-size:11px;line-height:1.5;color:#7d8575;min-height:33px;margin:10px 0}audio{width:100%;height:35px;margin-bottom:12px}.line-actions{display:flex;justify-content:space-between;align-items:center}.next{border:0;background:#eee9db;border-radius:7px;padding:9px 16px;font-size:12px;color:var(--ink)}nav{display:flex;justify-content:center;gap:8px;margin-top:18px}nav button{width:28px;height:28px;border:1px solid #dadfce;border-radius:50%;background:transparent;color:#8b9383;font-size:11px}nav button.selected{background:#e7eddd;color:var(--green);border-color:#a9b89b}nav button.done{border-bottom:3px solid var(--green)}.finish{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:31px 24px}.finish h2{font-size:24px;margin:8px 0}.finish p:not(.eyebrow){font-size:12px;color:var(--muted);margin:0}.secondary{border:1px solid #b9c5ac;padding:13px 18px;border-radius:8px;background:#e7eddf;color:var(--green);font-size:12px;white-space:nowrap}details{border-top:1px solid #dedfd2;padding:20px 24px;font-size:12px;color:#76806e}summary{cursor:pointer;color:#4d624b}details p{max-width:850px}footer{font-size:10px;text-align:center;color:#929986;padding:20px}footer span{margin:0 12px;color:#c6a35c}@media(max-width:700px){header{padding:20px}.brand{font-size:20px}.prototype{display:none}main{padding:25px 14px}.intro{padding:0 8px 23px}.intro h1{font-size:34px}.intro p:not(.eyebrow){font-size:12px}.stamp{width:85px;height:85px;min-width:85px;margin:0 0 0 10px;font-size:13px}.eyebrow{font-size:8px;letter-spacing:1.2px}.book{grid-template-columns:1fr}.illustration{padding:23px 20px 10px;border-right:0;border-bottom:1px solid #e5e3d6}.illustration h2{font-size:27px;margin-top:12px}.illustration svg{max-width:240px;margin-top:-5px}.story-caption{font-size:12px;margin:0 0 14px}.illustration .page-no{display:none}.record-page{padding:25px 23px 45px}.narration{margin-top:21px}.script{font-size:27px;min-height:100px}.finish{padding:26px 8px;display:block}.finish h2{font-size:23px}.secondary{width:100%;margin-top:18px}details{padding:20px 8px}footer{line-height:1.7}.desktop{display:none}}
/* Second edition: a tangible, dimensional reading studio. */
body{background:radial-gradient(ellipse at 50% 30%,#f7f0dd 0,#e8dfcd 65%,#d9cdbb 100%);background-attachment:fixed}header{border-color:#c5bda855}.brand{color:#294e42}main{max-width:1230px}.intro{padding-top:8px}.intro h1{font-size:clamp(36px,4.3vw,58px);letter-spacing:-1.5px}.intro p:not(.eyebrow){font-size:15px}.stamp{box-shadow:0 9px 18px #69593614;background:#eeddad}.book-stage{perspective:1800px;position:relative;padding:12px 0 25px}.book-shadow{position:absolute;inset:45% 5% 0;background:#4e4439;filter:blur(34px);opacity:.18;border-radius:50%}.book{position:relative;transform:rotateX(3deg);transform-style:preserve-3d;border-radius:12px 22px 22px 12px;overflow:visible;border:0;border-bottom:8px solid #f2ead8;box-shadow:0 2px 0 #b7aa8d,0 5px 0 #f8f3e6,0 7px 0 #c1b49c,0 10px 0 #f7eedb,0 15px 0 #3d5c4b,0 24px 26px #28392a30}.book:before{content:'';position:absolute;inset:0 49.4%;z-index:4;pointer-events:none;background:linear-gradient(90deg,transparent,#4e4a3525,#fffcf0bb,transparent);border-radius:50%;filter:blur(2px)}.illustration{border-radius:12px 0 0 9px;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#e9efdc,#eff0df 60%,#e4e7d4);padding-top:38px;min-height:650px}.record-page{background:linear-gradient(90deg,#c7bfa62b,transparent 8%),#fffbef;border-radius:0 22px 17px 0;padding:36px 38px 50px;transform-origin:left center;backface-visibility:hidden}.illustration h2{font-size:37px;position:relative;z-index:2}.scene-art{position:relative;z-index:1;filter:drop-shadow(0 13px 9px #3c5d3620);animation:sceneFloat 7s ease-in-out infinite;transition:filter .7s,transform .7s}.story-caption{position:relative;z-index:2}.fireflies{position:absolute;inset:10% 6% 20%;pointer-events:none}.fireflies i{position:absolute;width:5px;height:5px;border-radius:50%;background:#edbf56;box-shadow:0 0 15px 5px #ffe49888;animation:firefly 6s ease-in-out infinite}.fireflies i:nth-child(1){top:20%;left:14%}.fireflies i:nth-child(2){top:65%;left:81%;animation-delay:-2s}.fireflies i:nth-child(3){top:45%;left:38%;animation-delay:-4s}.fireflies i:nth-child(4){top:15%;left:76%;animation-delay:-1s}.fireflies i:nth-child(5){top:75%;left:12%;animation-delay:-3s}.book[data-scene="1"] .illustration{background:radial-gradient(ellipse at 50% 35%,#e1e4cf,#b9c9b7)}.book[data-scene="1"] .scene-art{filter:drop-shadow(0 10px 15px #213c3666) brightness(.86)}.book[data-scene="2"] .illustration{background:radial-gradient(ellipse at 50% 40%,#faf0c4,#e1e8d0)}.book.turning .record-page{animation:pageTurn .7s ease-in-out}.book.turning .scene-art{animation:sceneChange .7s ease-in-out}.book.turning .story-caption{animation:sceneChange .7s ease-in-out}.studio{border:1px solid #cad4bc;background:#ecf0e3;border-radius:15px;padding:14px;margin-top:17px;box-shadow:inset 0 1px 0 #fff}.studio-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.studio-head>span{font-size:9px;font-weight:700;letter-spacing:1px}.studio-head .text-button{font-size:11px;text-decoration:underline;text-underline-offset:3px}.meter-row{position:relative;margin-top:10px;height:50px;background:#dde5d5;border-radius:8px;overflow:hidden}#waveform{width:100%;height:50px;display:block}#level-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:10px;color:#54664c;pointer-events:none}.studio.live #level-label{inset:auto 8px 3px auto;background:#e9efddcc;padding:2px 5px;border-radius:3px;font-size:8px}.studio.capturing{border-color:#b4674c;background:#f2e8da}.studio.capturing .studio-head>span{color:#a74936}.studio.capturing .studio-head>span:before{content:'';display:inline-block;width:7px;height:7px;background:#b5533d;border-radius:50%;margin-right:6px;animation:pulse 1s infinite}.recorder{margin-top:12px}.primary{min-height:50px;border-radius:9px}.primary.recording{box-shadow:0 0 0 4px #b95f3c15}.primary:disabled{opacity:.55}.tracking{border:0;background:#efedde;padding:11px 13px}.tracking p{font-size:10px}.script{font-size:28px;min-height:135px}.narration{margin:24px 0 20px}.finish{padding-top:35px}.finish h2{font-size:28px}.finish .secondary{box-shadow:0 3px 0 #b1bfa3}.next{transition:transform .2s,background .2s}.next:hover{transform:translateY(-2px);background:#e3dcc8}button{touch-action:manipulation}nav button{width:34px;height:34px}.line-actions{gap:10px}.line-actions #download{margin-right:auto}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#294c40;color:white;padding:14px 20px;border-radius:12px;box-shadow:0 8px 30px #0003;z-index:10;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s}.toast.show{opacity:1}.book-stage{scroll-margin-top:20px}@keyframes pageTurn{0%{transform:rotateY(0);filter:brightness(1)}48%{transform:rotateY(-28deg);filter:brightness(.85)}100%{transform:rotateY(0);filter:brightness(1)}}@keyframes sceneChange{0%,100%{opacity:1;transform:translateX(0)}48%{opacity:0;transform:translateX(-18px)}}@keyframes sceneFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes firefly{0%,100%{transform:translate(0,0);opacity:.3}50%{transform:translate(10px,-16px);opacity:1}}@keyframes pulse{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.book{transform:none}}@media(max-width:700px){main{padding:24px 13px}.intro{padding-bottom:16px}.intro h1{font-size:38px}.intro p:not(.eyebrow){font-size:13px}.stamp{display:none}.book-stage{padding-top:5px}.book{transform:none;border-radius:17px;box-shadow:0 3px 0 #b8ac94,0 7px 0 #f4ead5,0 12px 0 #3e5a4b,0 18px 24px #243c2520}.book:before{display:none}.illustration{min-height:0;display:grid;grid-template-columns:1fr 140px;grid-template-rows:auto auto auto;padding:21px 22px 17px;text-align:left;border-radius:17px 17px 0 0}.chapter{grid-column:1;font-size:8px;letter-spacing:1px}.illustration h2{grid-column:1;font-size:25px;margin:12px 0 5px}.illustration .scene-art{grid-column:2;grid-row:1/4;width:160px;margin:-2px -15px -10px;align-self:center}.story-caption{grid-column:1;font-size:11px;line-height:1.5;margin:5px 0}.story-caption br{display:none}.record-page{padding:25px 22px 44px;border-radius:0 0 17px 17px}.script{font-size:27px;min-height:100px}.studio{padding:12px}.book.turning .record-page{animation:pageTurn .7s ease-in-out;transform-origin:left}.finish h2{font-size:25px}}
.page-leaf{display:none;position:absolute;top:0;bottom:0;left:50%;width:50%;z-index:8;transform-origin:left center;border-radius:0 20px 16px 0;background:linear-gradient(90deg,#e3d8bc,#fff9e9 12%,#fbf3de 85%,#d8cdb1);box-shadow:8px 4px 22px #3b342022;pointer-events:none;backface-visibility:visible}.page-leaf span{position:absolute;top:45%;left:48%;color:#c8b48a;font:64px Georgia,serif;opacity:.4}.book.turning .page-leaf{display:block;animation:leafTurn .7s cubic-bezier(.4,0,.2,1) both}.book.turning .record-page{animation:pageContent .7s ease-in-out}@keyframes leafTurn{0%{transform:rotateY(0deg);opacity:0}12%{opacity:1}85%{opacity:1}100%{transform:rotateY(-172deg);opacity:0}}@keyframes pageContent{0%,35%{opacity:.4}60%,100%{opacity:1}}@media(max-width:700px){.page-leaf{left:0;width:100%;top:200px;transform-origin:left center}.book.turning .page-leaf{animation:mobileLeaf .7s ease-in-out}}@keyframes mobileLeaf{0%{transform:rotateY(0deg);opacity:0}15%{opacity:1}75%{opacity:1}100%{transform:rotateY(-100deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.book.turning .page-leaf{display:none}.book.turning .record-page,.book.turning .scene-art,.book.turning .story-caption{opacity:1;transform:none}}
/* Edition 3: restrained book and content-bearing physical leaves. */
header{padding-top:22px;padding-bottom:22px}.app-heading{display:flex;justify-content:space-between;align-items:center;padding:0 8px 20px}.app-heading h1{font-size:29px;letter-spacing:-.6px;margin:0}.app-heading p{font-size:13px;color:#697665;margin:7px 0 0}.edition{font-size:12px;color:#62715c}.book-stage{padding-top:3px}.illustration h2{margin-top:25px}.illustration{display:flex;flex-direction:column;justify-content:center;padding-top:25px}.story-caption{display:none!important}.book .record-page{padding-top:29px}.script{font-size:27px;min-height:110px}.page-top{font-size:11px;letter-spacing:.3px}.role{font-size:12px}.studio-head>span{font-size:10px;letter-spacing:.4px}.tracking small{display:none}.tracking label{font-size:12px}.tracking p{font-size:11px;color:#66725f}.finish{padding:26px 10px}.finish h2{font-size:24px}.finish p:not(.eyebrow){font-size:13px}.book.turning .record-page,.book.turning .scene-art{animation:none!important;opacity:1;transform:none}.turn-leaf{position:absolute;top:0;bottom:0;width:50%;z-index:15;transform-style:preserve-3d;pointer-events:none}.turn-leaf.forward{left:50%;transform-origin:left center;animation:physicalForward 950ms cubic-bezier(.38,.02,.22,1) both}.turn-leaf.backward{left:0;transform-origin:right center;animation:physicalBack 950ms cubic-bezier(.38,.02,.22,1) both}.turn-face{position:absolute;inset:0;backface-visibility:hidden;overflow:hidden;background:#fffbef;box-shadow:0 5px 20px #372f2428}.turn-face.back{transform:rotateY(180deg)}.turn-face>.illustration,.turn-face>.record-page{width:100%;height:100%;min-height:0;margin:0;border-radius:0}.turn-face:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#302a252b,transparent 25%,transparent 70%,#3c352a20);animation:leafShade 950ms ease-in-out}.turn-static{position:absolute;top:0;bottom:0;width:50%;z-index:7;overflow:hidden;pointer-events:none;background:#fffbef}.turn-static.left{left:0}.turn-static.right{right:0}.turn-static>.illustration,.turn-static>.record-page{width:100%;height:100%;min-height:0}.trim-panel{border-top:1px solid #d9ddce;border-bottom:1px solid #d9ddce;padding:15px 0;margin:12px 0 17px}.trim-heading{display:flex;justify-content:space-between;font-size:12px}.trim-heading span{color:#738169}.trim-panel p{font-size:11px;line-height:1.5;color:#64705e;margin:8px 0 12px}.trim-inputs{display:flex;gap:16px;flex-wrap:wrap}.trim-inputs label{font-size:12px;color:#5d6d57}.trim-inputs input{width:72px;border:1px solid #b9c6af;border-radius:5px;padding:7px;background:#fffef7;color:#34473c;font:12px monospace}.trim-buttons{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:12px}.trim-buttons button{font-size:11px}.trim-buttons .next{padding:8px 10px}@keyframes physicalForward{0%{transform:rotateY(0)}100%{transform:rotateY(-180deg)}}@keyframes physicalBack{0%{transform:rotateY(0)}100%{transform:rotateY(180deg)}}@keyframes leafShade{0%,100%{opacity:.15}50%{opacity:1}}@media(max-width:700px){header{padding:18px 20px}.app-heading{padding:0 5px 18px}.app-heading h1{font-size:24px;max-width:280px}.app-heading p{font-size:12px}.edition{display:none}.illustration{display:grid;grid-template-columns:1fr 130px;padding:22px;min-height:170px}.illustration h2{font-size:24px;margin:0;align-self:center}.illustration .scene-art{grid-row:1;width:145px}.book .record-page{padding:23px 22px 42px}.turn-leaf{width:100%;left:0!important}.turn-leaf.forward{transform-origin:left center}.turn-leaf.backward{transform-origin:right center}.turn-static{display:none}.turn-face>.mobile-sheet{height:100%;width:100%;background:#fffbef}.mobile-sheet>.illustration{border-radius:0}.mobile-sheet>.record-page{border-radius:0}.turn-face{border-radius:14px}.script{font-size:26px}.finish{padding-top:25px}.book-stage{touch-action:pan-y}}@media(prefers-reduced-motion:reduce){.turn-leaf,.turn-static{display:none!important}}
[hidden]{display:none!important}.back-shelf{border:0;background:none;color:#41614c;font-size:13px;padding:0 0 20px;cursor:pointer}.library{padding:25px 0 50px}.library-heading{text-align:center;margin-bottom:40px}.library-heading h1{font-size:39px;letter-spacing:-.7px;margin:5px}.library-heading p{font-size:14px;color:#6f7765}.cabinet{position:relative;max-width:1000px;margin:0 auto;padding:50px 50px 0;background:linear-gradient(90deg,#5b48392b,#91715112 20%,#57422c20);border:14px solid #78634b;border-top-width:20px;border-bottom-width:22px;border-radius:9px;box-shadow:inset 0 16px 22px #43312226,0 25px 40px #44372620,0 3px 0 #4f4034}.cabinet-top{position:absolute;top:-28px;left:-23px;right:-23px;height:15px;border-radius:3px;background:linear-gradient(#958164,#6c573e);box-shadow:0 4px 4px #352b2528}.books{display:flex;align-items:flex-end;justify-content:center;gap:40px;perspective:1600px;padding-bottom:35px}.volume{--cover:#315642;position:relative;display:block;flex:1;max-width:235px;height:310px;border:0;background:none;padding:0;transform:rotateY(-17deg) rotateZ(-2deg);transform-style:preserve-3d;transition:transform .5s cubic-bezier(.2,.8,.2,1),filter .4s;filter:drop-shadow(12px 15px 9px #342a2a35);text-align:left;color:#f3e9cf}.volume:hover,.volume:focus-visible{transform:translateY(-20px) translateZ(45px) rotateY(-7deg) rotateZ(0);filter:drop-shadow(18px 25px 13px #342a2a40)}.volume.ocean{--cover:#3c6074;transform:rotateY(-10deg) rotateZ(1deg)}.volume.garden{--cover:#8a614c;transform:rotateY(-13deg) rotateZ(3deg)}.volume.ocean:hover,.volume.garden:hover{transform:translateY(-20px) translateZ(45px) rotateY(-7deg)}.volume-cover{position:absolute;inset:0;display:flex;flex-direction:column;padding:25px 22px;background:linear-gradient(90deg,#0003,transparent 9%,#fff1 12%,transparent 14%),var(--cover);border:1px solid #ffffff18;border-radius:3px 8px 8px 3px;box-shadow:inset -2px 0 3px #0002;transform:translateZ(13px)}.volume-cover:after{content:'';position:absolute;inset:12px;border:1px solid #f7e6b933;border-radius:2px;pointer-events:none}.cover-label{font-size:8px;letter-spacing:2px;opacity:.65}.volume strong{font:25px/1.15 Georgia,serif;margin-top:18px}.cover-author{font-size:10px;letter-spacing:.4px;margin-top:auto;color:#e9dcc0}.cover-art{display:flex;flex:1;justify-content:center;align-items:center;position:relative;font-size:48px;color:#e2bd6f}.cover-art span{font-size:70px;margin-left:15px}.whale-cover{color:#a8d1d6}.garden-cover{color:#d9d7aa}.volume-spine{position:absolute;top:0;bottom:0;left:-25px;width:26px;background:linear-gradient(90deg,#0004,#ffffff08),var(--cover);transform:rotateY(-90deg);transform-origin:right;box-shadow:inset 0 0 0 1px #ffffff12;border-radius:4px}.volume-pages{position:absolute;right:-9px;top:5px;bottom:5px;width:22px;transform:rotateY(90deg);background:repeating-linear-gradient(0deg,#e5dcc5 0px,#e5dcc5 1px,#fff6e2 1px,#fff6e2 3px);transform-origin:left}.volume-progress{position:absolute;bottom:-28px;left:0;right:0;text-align:center;font:11px Arial,sans-serif;color:#4c5546;transform:rotateY(17deg)}.shelf-board{height:20px;margin:0 -60px;background:linear-gradient(#ac9676,#7d6548);box-shadow:0 6px 9px #3e302335;border-radius:3px}.library-note{font-size:12px;color:#6b7765;text-align:center;margin-top:24px}.opening{animation:bookOpen .7s ease-out}.story-play{display:flex;flex-direction:column;gap:12px;align-items:flex-end}.story-play label{font-size:11px;color:#62715b}.story-play label input{accent-color:#45674f}.story-play>div{display:flex;align-items:center;gap:12px}.story-play p{font-size:11px!important;margin:0!important;text-align:right}.story-play .secondary{margin:0}.book[data-book="wieloryb"] .illustration{background:linear-gradient(135deg,#dae4e1,#c5d8d9)}.book[data-book="ogrod"] .illustration{background:linear-gradient(135deg,#eee4cf,#d9dfc4)}@keyframes bookOpen{from{opacity:0;transform:perspective(1500px) rotateY(-7deg) translateY(15px)}to{opacity:1;transform:none}}@media(max-width:700px){.library{padding-top:10px}.library-heading{margin-bottom:24px}.library-heading h1{font-size:31px}.cabinet{padding:30px 17px 0;border-width:9px;border-top-width:15px;border-bottom-width:15px}.books{gap:19px;flex-wrap:wrap;padding-bottom:25px}.volume{flex:0 0 41%;height:226px;max-width:165px}.volume-cover{padding:18px 15px}.volume strong{font-size:19px;margin-top:12px}.cover-label{font-size:7px;letter-spacing:1px}.cover-author{font-size:8px}.cover-art{font-size:31px}.cover-art span{font-size:42px;margin-left:5px}.volume-progress{font-size:10px;bottom:-21px}.volume:last-child{margin-top:21px}.shelf-board{margin:0 -25px}.library-note{font-size:11px;padding:0 15px}.story-play{align-items:stretch;margin-top:20px}.story-play>div{flex-wrap:wrap}.story-play>div .secondary{flex:1}.story-play p{text-align:left}.story-play label{font-size:12px}}
.library-heading{display:flex;justify-content:space-between;align-items:center;text-align:left;margin-bottom:28px;padding:0 15px}.library-heading h1{font:27px Georgia,serif;margin:0}.library-heading p{font-size:13px;margin:0}.app-heading{display:none}.volume strong{margin-top:15px;font-size:27px}.cover-art{min-height:140px}.library{padding-top:10px}.cabinet{margin-top:10px}.finish h2{font-size:21px}.finish{align-items:flex-start}details{font-size:12px}.book .line-label{font-size:12px}.book .narration>span{font-size:10px;letter-spacing:.4px}.book .narration p{font-size:16px}.text-button{font-size:12px;color:#395b43}@media(max-width:700px){.library-heading{padding:0 4px;align-items:center;margin-bottom:23px}.library-heading h1{font-size:25px}.library-heading p{font-size:11px;max-width:130px;text-align:right}.volume strong{font-size:20px;margin-top:8px}.cover-art{min-height:110px}.finish h2{font-size:21px}}
.scene-container{position:relative;margin:0 -12px;border-radius:12px;overflow:hidden;background:#bca98b;box-shadow:0 18px 35px #47362722}.scene-container canvas{display:block;width:100%;height:clamp(440px,65vh,640px);touch-action:pan-y}.scene-controls{display:flex;justify-content:center;gap:12px;padding:16px 20px;background:#f1eadbd9;border-top:1px solid #bcad90}.scene-controls button{font:13px Georgia,serif;color:#35513e;border:1px solid #bcae92;border-radius:6px;padding:11px 16px;background:#fff9eb;min-height:42px;flex:1;max-width:260px}.scene-controls button:hover{background:#e7e0cc}.scene-controls button:focus-visible{outline:3px solid #8e7445;outline-offset:2px}@media(max-width:700px){.scene-container{margin:0 -4px}.scene-container canvas{height:410px}.scene-controls{gap:7px;padding:12px 9px}.scene-controls button{font-size:12px;padding:8px;line-height:1.3;min-height:56px}.library-note{margin-top:17px}}
.illustration>.page-no{display:none}.library-status{font-size:11px;color:#6a745f;text-align:center;margin:14px 0 0}.library-status:empty{display:none}
/* Continuous model-mounted reader. The WebGL stage is never replaced by DOM cards. */
.scene-loader{height:60vh;display:flex;align-items:center;justify-content:center;color:#68735f;font:15px Georgia,serif}.scene-container:not([data-ready=true]){visibility:hidden;position:absolute;left:24px;right:24px}.scene-container[data-ready=true]{visibility:visible}.scene-container{position:relative}#scene-page-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}.scene-reading main{max-width:none;padding:0 18px 16px}.scene-reading .scene-container{margin:0;box-shadow:none;border-radius:8px}.scene-reading #library-scene{height:calc(100vh - 115px);min-height:540px}.scene-reading .scene-controls{display:none}.model-nav{display:none}.scene-reading .model-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.scene-page-surface .illustration,.scene-page-surface .record-page{width:100%;height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;border:0;border-radius:0;position:relative;font-family:Arial,sans-serif;font-size:14px;color:#34473c;scrollbar-width:thin;scrollbar-color:#b8b49c transparent}.scene-page-surface .illustration{display:flex;flex-direction:column;justify-content:flex-start;padding:24px 26px;background:#f2f0df}.scene-page-surface .record-page{padding:24px 28px 35px;background:#fffbef}.scene-page-surface h2{font-family:Georgia,serif;font-size:31px;line-height:1.2;margin:10px 0}.scene-page-surface .illustration .scene-art{flex:none;width:100%;height:225px;max-width:none;margin:0;animation:none}.scene-page-surface .script{font-family:Georgia,serif;font-size:26px;line-height:1.6;min-height:100px}.scene-page-surface .finish{display:block;padding:10px 0;margin:0;border-top:1px solid #c8cbb7;width:100%}.scene-page-surface .finish h2{font-size:20px;margin:10px 0}.scene-page-surface .finish p:not(.eyebrow){font-size:12px}.scene-page-surface .story-play{margin-top:12px;align-items:stretch;gap:10px}.scene-page-surface .story-play>div{flex-wrap:wrap}.scene-page-surface .story-play .secondary{font-size:12px;padding:11px}.scene-page-surface .story-play label{font-size:12px}.scene-page-surface details{padding:12px 0;font-size:11px;width:100%}.scene-page-surface .back-shelf{padding:12px 0;font-size:12px}.scene-page-surface .page-no{display:none}.scene-page-surface .narration{margin:16px 0}.scene-page-surface .narration p{font-size:16px}.scene-page-surface .primary{font-family:Arial,sans-serif;font-size:13px}.scene-page-surface[data-layout=mobile] .illustration,.scene-page-surface[data-layout=mobile] .record-page{padding:16px;font-size:13px}.scene-page-surface[data-layout=mobile] .script{font-size:22px;line-height:1.5;min-height:0;margin:12px 0}.scene-page-surface[data-layout=mobile] h2{font-size:25px}.scene-page-surface[data-layout=mobile] .illustration .scene-art{height:170px}.scene-page-surface[data-layout=mobile] .narration p{font-size:15px}.scene-page-surface[data-layout=mobile] .tracking p{font-size:11px}.scene-page-surface[data-layout=mobile] .model-nav .text-button{font-size:11px}.scene-reading #shelf{display:none}@media(max-width:700px){.scene-reading main{padding:0 0 8px}.scene-reading .scene-container{border-radius:0}.scene-reading #library-scene{height:calc(100dvh - 82px);min-height:540px}.scene-loader{height:65vh}}
.decor-books{display:flex;justify-content:center;align-items:flex-end;gap:5px;padding:0 0 7px;margin:-18px -24px 30px;border-bottom:9px solid #957d59;box-shadow:0 6px 6px #45322420;pointer-events:none}.decor-books i{display:block;width:clamp(12px,2.5vw,35px);height:var(--height);background:linear-gradient(90deg,#0002,transparent 17%,#fff2 22%,transparent 30%),var(--spine);border-radius:3px 3px 1px 1px;border:1px solid #fff2;box-shadow:2px 0 2px #392c2826;transform:rotate(-2deg)}.decor-books i:nth-child(3n){transform:rotate(4deg);margin-right:3px}.decor-books i:nth-child(4n):after{content:'';display:block;height:3px;margin:10px 2px 0;border-top:1px solid #f0dfba80;border-bottom:1px solid #f0dfba80}.volume.forest{--cover:#3c7361}.volume.ocean{--cover:#4d7b95}.volume.garden{--cover:#b47b64}.scene-page-surface .illustration[data-book=wieloryb]{background:#e4eeee}.scene-page-surface .illustration[data-book=ogrod]{background:#eee6d5}@media(max-width:700px){.decor-books{gap:3px;margin:-7px -9px 24px;overflow:hidden}.decor-books i{width:14px;min-width:10px;height:calc(var(--height)*.7)}}
.scene-page-surface .model-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.turn-face:after{animation-duration:var(--turn-duration,950ms)}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.scene-reading #library-scene{height:calc(100dvh - 32px)}@media(max-width:700px){.scene-reading #library-scene{height:calc(100dvh - 8px)}}
