/* Approved immersive book. All rules are scoped to the reader. */
.book-is-open{background:#15163d;color:#f6edf8;min-height:100vh;background-image:radial-gradient(ellipse at 90% 5%,#66549c66,transparent 47%),radial-gradient(ellipse at 8% 70%,#60457155,transparent 45%),linear-gradient(145deg,#111c49,#26204b 65%,#181b40)}
.book-is-open>footer{display:none}
.book-is-open.book-expanded{position:fixed;inset:0;z-index:50;overflow:auto}.book-expanded>.reader-header{display:none}body:has(.book-expanded){overflow:hidden}
.reader-header{background:#121b43a8;border-bottom:1px solid #bca7e32b}
.reader-header .nav-inner{height:64px;width:min(1640px,calc(100% - 64px))}
.reader-header nav{align-items:center;gap:34px;font-size:14px}
.reader-header nav>a{display:inline-flex;align-items:center;gap:9px;min-height:44px}
.reader-header nav .reader-nav-active{background:linear-gradient(#b8966952,#a6844450);border:1px solid #d9b77888;border-radius:30px;padding:5px 24px;color:#fff0ca;box-shadow:inset 0 0 15px #ffd4881a}
.reader-header .brand{font-size:27px}.reader-header .brand span:last-child{font-size:25px;color:#fff}
.reader-header .nav-actions .button{display:none}.reader-header .draft-link{font-size:12px;color:#ede2f8;text-decoration:none;border:1px solid #c3acdd66;border-radius:30px;min-height:42px;padding:6px 19px}
.picture-reader{width:min(1640px,100%);margin:auto;padding:16px 34px 30px}
.book-toolbar{display:flex;align-items:center;gap:25px;margin:0 10px}
.book-back{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:#dcd2eb;min-height:44px}
.book-title{flex:1;min-width:0}.book-title h1{font:italic 23px/1.35 Georgia,serif;letter-spacing:-.3px;overflow-wrap:anywhere;color:#fff5e1}.book-title>span{display:block;font-size:11px;color:#c6c0dd;margin-top:5px}
.book-tools{display:flex;border:1px solid #b9a1d36b;border-radius:30px;overflow:hidden;flex-shrink:0;background:#121b4444}
.book-tools button{border:0;background:none;color:#fff2cf;min-width:54px;min-height:46px;padding:5px 14px;font:22px Georgia;display:flex;align-items:center;justify-content:center;gap:7px}.book-tools button+button{border-left:1px solid #b9a1d34a}.book-tools button>span{font:9px Nun,Arial,sans-serif;color:#ccc0dd}.book-tools svg{stroke:currentColor;stroke-width:1.7;fill:none;width:20px}
.book-tools button:hover{background:#ffffff12}.book-tools button[hidden]{display:none}
.book-mode-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 10px 17px}
.book-reading-guide{display:flex;align-items:center;flex-wrap:wrap;gap:5px 14px;min-width:0}
.book-reading-label{display:inline-flex;align-items:center;gap:8px;color:#ffe0a3;font-size:12px;font-weight:700;white-space:nowrap}
.book-reading-label svg{width:20px;height:20px}
.book-reading-guide p{font-size:11px;line-height:1.6;color:#d2c7e4}




.book-mode-row .book-print-action{min-height:44px;flex-shrink:0;gap:8px;white-space:nowrap}
.book-narrator{width:fit-content;max-width:calc(100% - 20px);margin:-4px 10px 12px auto;color:#fff2cf}
.book-narrator summary{display:flex;align-items:center;gap:8px;min-height:42px;width:fit-content;margin-left:auto;padding:6px 12px;border:1px solid #c3acdd66;border-radius:22px;background:#151b4566;list-style:none;font-size:13px;cursor:pointer}
.book-narrator summary::-webkit-details-marker{display:none}
.book-narrator summary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.book-narrator summary::after{content:'▾';color:#dfc79d}
.book-narrator[open] summary::after{content:'▴'}
.book-narrator-panel{display:grid;gap:10px;margin-top:8px;padding:12px;border:1px solid #bba0d66e;border-radius:15px;background:#211e46}
.book-narrator-options,.book-narrator-actions{display:flex;flex-wrap:wrap;align-items:end;gap:8px}
.book-narrator-options label{display:grid;gap:4px;font-size:12px;color:#f2e8fa;min-width:0;max-width:100%}
.book-narrator-options label[hidden]{display:none}
.book-narrator-options select,.book-narrator-actions button{min-height:44px;max-width:100%;padding:5px 10px;border:1px solid #ad95c6;border-radius:9px;background:#312951;color:#fff5e1;font:inherit}
.book-narrator-options select{font-size:16px}
.book-narrator-options [data-narrator-voice]{max-width:min(100%,19rem);text-overflow:ellipsis}
.book-narrator-actions button{font-size:13px}
.book-narrator-actions [data-narrator-play]:not(:disabled){background:#f5d98f;border-color:#fff0c6;color:#302142;font-weight:700}
.book-narrator-status{max-width:46ch;font-size:12px;line-height:1.5;color:#e4d8ef}
.picture-book .narration-active{background:#ffe0a3;border-radius:2px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
::highlight(mindelune-spoken-word){background:#efb96a}
.picture-book .narration-child-ready{outline:2px solid #ac7840;outline-offset:3px}
.narration-tap-active .narration-fragment{cursor:pointer}
.narration-tap-active .narration-fragment:focus-visible{outline-offset:2px}
@media(max-width:600px){.book-narrator{margin-inline:auto}.book-narrator summary{margin-inline:auto}}
.book-stage{position:relative;padding:0 30px 24px;perspective:2200px}
.book-cover{position:relative;padding:9px 9px 16px;background:linear-gradient(110deg,#55346b,#34204d 45%,#6f4480);border:2px solid #bd8c44;border-radius:4% 5% 4% 3%/5% 6% 5% 5%;box-shadow:0 24px 36px #070d2566,0 6px 0 #100f29,0 0 0 3px #36244d,inset 0 0 0 3px #3a254c}
.book-leaves{position:relative;padding:0 8px 9px;border-radius:4% 4% 3% 3%;background:repeating-linear-gradient(to bottom,#c5a787 0 1px,#f7e3c8 1px 3px);box-shadow:0 3px 3px #150f2855}
.picture-book{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;min-height:650px;border-radius:4% 4% 3% 3%/5% 5% 4% 4%;background:#fff1dc;color:#30213f;isolation:isolate;outline-offset:9px!important;box-shadow:0 1px 3px #45302880;touch-action:pan-y pinch-zoom}
.picture-book:focus:not(:focus-visible){outline:none}
.book-page{position:relative;min-width:0;padding:30px 35px 45px;overflow-wrap:anywhere}
.book-page-left{display:flex;flex-direction:column;justify-content:center;background:linear-gradient(90deg,#e4c4a450,#fff5e6 5%,#fff1dc 88%,#dac0a2);border-radius:5% 0 0 4%/5% 0 0 5%;padding-right:31px}
.book-page-right{background:linear-gradient(90deg,#c7aa8d,#f7e6cd 3%,#fff5e7 10%,#fff6e9 92%,#ebceb1);border-radius:0 5% 4% 0/0 5% 5% 0;padding-left:39px}
.picture-book:before{content:'';position:absolute;left:calc(50% - 12px);width:24px;top:3%;bottom:1%;z-index:3;background:linear-gradient(90deg,transparent,#59382818 33%,#68422827 50%,#fff3cf44 60%,transparent);pointer-events:none}
.book-chapter{text-align:center;margin-bottom:21px;color:#4a285f}
.book-chapter>span{display:inline-block;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#866133;margin-bottom:10px}
/* The facing text page carries the title on a two-page spread. */
.book-chapter h2{display:none;font:italic 28px/1.22 Georgia,serif;letter-spacing:-.5px}
.book-art{margin:0;position:relative;border:1px solid #be985b;border-radius:18px 8px 12px 8px;overflow:hidden;box-shadow:0 4px 9px #65412525;background:#e8d8bf}
.book-art>img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;user-select:none;-webkit-user-drag:none}
.book-art figcaption{padding:12px 17px;background:linear-gradient(90deg,#f9e5c3,#fcefdc);color:#654838;font:italic 13px/1.5 Georgia,serif;text-align:center;border-top:1px solid #bfa07666}
.book-art-footer{display:flex;align-items:center;flex-direction:column;text-align:center;font:italic 14px/1.65 Georgia,serif;color:#85683f;max-width:290px;margin:23px auto 0;gap:5px}.book-flourish{font-style:normal;color:#bc8b40;font-size:23px}
.book-vignettes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:16px}.book-vignettes figure{min-width:0;margin:0;position:relative;overflow:hidden;border:1px solid #c5a370;border-radius:10px;box-shadow:0 3px 6px #65412515}.book-vignettes img{width:100%;height:auto;aspect-ratio:1.6;object-fit:cover}.book-vignettes figcaption{position:absolute;bottom:6px;right:5px;left:5px;width:fit-content;max-width:calc(100% - 10px);margin:auto;padding:4px 9px;border-radius:20px;background:#fff5e5e8;color:#543a4c;font:italic 11px/1.3 Georgia,serif;text-align:center}
.book-right-heading{text-align:center;margin-bottom:23px}.book-right-heading>span{display:block;font-size:8px;letter-spacing:1.5px;color:#997345}.book-right-heading h2{font:italic 27px/1.22 Georgia,serif;color:#4a285f;letter-spacing:-.5px;margin:8px 0 11px}.book-right-heading>i{display:flex;align-items:center;gap:10px;color:#ba914f;justify-content:center;line-height:1;font-size:19px}.book-right-heading>i:before,.book-right-heading>i:after{content:'';width:25%;height:1px;background:linear-gradient(90deg,transparent,#bf9453)}.book-right-heading>i:after{transform:rotate(180deg)}
.book-reading{font:calc(19px * var(--reading-scale))/1.5 Georgia,serif;color:#2e2340}
.book-reading p{margin:0 0 12px}.book-reading p+p{margin-top:0}.book-reading p:last-child{margin-bottom:0}
.book-reading .parent-passage{font:inherit;line-height:inherit}
.book-role{display:flex;align-items:center;gap:8px;width:fit-content;background:#eddbed;color:#4b245c;border-radius:20px;padding:5px 12px;font:700 14px/1.4 Georgia,serif;letter-spacing:0;margin-bottom:13px}
.book-role svg{width:19px;height:19px}.book-role small{font:10px Nun,Arial,sans-serif;font-weight:400;letter-spacing:0}
.book-reading .child-passage{background:linear-gradient(125deg,#fff0c9,#ffedce);border:1px solid #e3bc73;border-radius:19px;box-shadow:inset 0 0 0 3px #fff7e6,0 3px 6px #784c2110;padding:19px 21px;margin-top:25px;color:#4b245c}
.book-reading .child-passage>.book-role{background:transparent;color:#6f4523;padding:0;margin-bottom:12px;font-size:15px}.book-reading .child-passage>.book-role svg{stroke:#c68a28;fill:#f5c86b}
.book-reading .child-line{font:700 calc(27px * var(--reading-scale))/1.4 Georgia,serif;letter-spacing:0;margin-bottom:9px}
.book-reading .parent-dialogue{margin-top:23px;border-top:1px solid #d0b58b;padding-top:18px}.book-reading .parent-dialogue .book-role{background:transparent;padding:0;color:#705131}
.book-reading .independent-passage{font:inherit;line-height:1.65}.book-reading .independent-passage.stage-beginning{font-size:calc(25px * var(--reading-scale))}.book-reading .independent-passage.stage-developing{font-size:calc(22px * var(--reading-scale))}.book-reading .independent-passage.stage-confident{font-size:calc(20px * var(--reading-scale))}
.printed-page-number{position:absolute;bottom:17px;font:italic 16px Georgia,serif;color:#6d5032}.book-page-left .printed-page-number{left:28px}.book-page-right .printed-page-number{right:28px}
.book-spine-light{position:absolute;bottom:7px;left:calc(50% - 18px);height:11px;width:36px;border-radius:50%;background:#ffe3a5;box-shadow:0 0 12px #f8c866;pointer-events:none}
.book-arrow{position:absolute;top:45%;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;z-index:5;border:2px solid #fff0b8;background:linear-gradient(#ffe8a3,#edb947);color:#402249;box-shadow:0 0 0 4px #c3915420,0 4px 15px #100e2b66}
.book-arrow svg{width:25px;height:25px;stroke-width:2.3}.book-previous{left:0}.book-next{right:0}.book-arrow:disabled{opacity:.4}.book-arrow:hover:not(:disabled){filter:brightness(1.07)}
.book-page-count{position:relative;z-index:5;width:fit-content;min-width:130px;margin:-7px auto -11px;padding:8px 17px;text-align:center;background:linear-gradient(#fff8e9,#f7e1b6);color:#492b42;border:1px solid #bd9a5d;border-radius:25px;font:700 17px Georgia,serif;box-shadow:0 4px 9px #100e2b4d}.book-page-count>span{font-weight:400;font-size:12px;color:#72573c}
.book-thumbnails{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#ab8bb8 transparent;max-width:1260px;padding:12px 8px 15px;margin:3px auto 0;align-items:stretch;justify-content:safe center}
.book-thumbnails>button{flex:0 0 127px;min-width:0;padding:4px 4px 0;border:1px solid #b9a5c7;border-radius:12px;background:#fbefdd;color:#4a2c55;overflow:hidden;box-shadow:0 4px 10px #080d2f33;text-align:center;line-height:1.35;transition:transform .15s}
.book-thumbnails>button:hover{transform:translateY(-3px)}.book-thumbnails>button[aria-current]{border:2px solid #ffe7a2;padding:3px 3px 0;box-shadow:0 0 0 3px #f0bb5e88,0 0 17px #f4bd5470}
.book-thumbnails img{width:100%;height:auto;aspect-ratio:1.7;object-fit:cover;border-radius:7px 7px 3px 3px}.book-thumbnails>button>span{display:block;padding:7px 5px 8px;font:10px/1.35 Nun,Arial,sans-serif}.book-thumbnails b{font-weight:700}
.book-bottom{display:flex;align-items:center;justify-content:center;gap:30px;margin:8px auto 0}.book-navigation-hint{font-size:10px;color:#c9b9dc}.book-review{font-size:12px;display:inline-flex;align-items:center;gap:9px;color:#ffe0a3;min-height:44px}.book-review:hover{text-decoration:underline}
.book-art-note{font-size:9px;text-align:center;color:#bfb2cf;margin:8px 0 0;line-height:1.7}
.book-discovery>.book-role{margin-bottom:22px}.book-discovery>p{font-size:calc(23px * var(--reading-scale));line-height:1.6}.book-discovery .child-passage p{font-size:calc(25px * var(--reading-scale));line-height:1.4}.book-discovery .hint{font:12px/1.7 Nun,Arial,sans-serif;color:#715e6d;margin-top:25px}
.book-word-list article{display:flex;gap:16px;margin:25px 0}.book-word-list article>span{height:35px;width:35px;flex-shrink:0;display:grid;place-items:center;background:#eedbec;color:#62416c;border-radius:50%;font-size:15px}.book-word-list h3{font:700 23px Georgia,serif;margin-bottom:9px}
/* Two printed faces turn slowly around the binding, with a gentle lift and settle. */
.book-turn-layer{position:absolute;inset:0;z-index:7;pointer-events:none;perspective:2400px;border-radius:inherit}
.book-turn-leaf{position:absolute;inset:0 0 0 50%;border-radius:inherit;transform-origin:left center;transform-style:preserve-3d;will-change:transform;animation:book-leaf-next var(--page-turn-duration) cubic-bezier(.4,0,.2,1) both}
.book-turn-face,.book-turn-rest{position:absolute;inset:0;overflow:hidden;background:#fff1dc}
.book-turn-face{backface-visibility:hidden;-webkit-backface-visibility:hidden;outline:1px solid #bda08255;box-shadow:0 8px 24px #37231a30}
.book-turn-front{transform:translateZ(.1px)}
.book-turn-back{transform:rotateY(180deg);background:linear-gradient(90deg,#e6caaa,#fff3df 18%,#fff5e5 80%,#dcc0a1)}
.book-turn-face:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#6e4b2d55,transparent 32%,#fffaf04d 65%,#7a523b3d);animation:book-leaf-shade var(--page-turn-duration) ease-in-out both}
.book-turn-layer .book-turn-snapshot{position:absolute;inset:0 auto auto 0;width:200%;height:100%;min-height:0;outline:0;box-shadow:none}
.turn-spread.turn-next .book-turn-rest{right:50%}
.turn-spread.turn-next .book-turn-front .book-turn-snapshot{left:-100%}
.turn-spread.turn-previous .book-turn-rest{left:50%}
.turn-spread.turn-previous .book-turn-rest .book-turn-snapshot,.turn-spread.turn-previous .book-turn-back .book-turn-snapshot{left:-100%}
.turn-spread.turn-previous .book-turn-leaf{inset:0 50% 0 0;transform-origin:right center;animation-name:book-leaf-previous}
.turn-spread.turn-next .book-turn-rest,.turn-spread.turn-next .book-turn-back,.turn-spread.turn-previous .book-turn-front{border-radius:5% 0 0 4%/5% 0 0 5%}
.turn-spread.turn-previous .book-turn-rest,.turn-spread.turn-previous .book-turn-back,.turn-spread.turn-next .book-turn-front{border-radius:0 5% 4% 0/0 5% 5% 0}
.turn-portrait .book-turn-leaf{inset:0}
.turn-portrait .book-turn-snapshot{width:100%}
.turn-portrait.turn-previous .book-turn-leaf{animation-name:book-leaf-return}
.turn-portrait .book-turn-face,.turn-portrait .book-turn-rest{border-radius:inherit}
@keyframes book-leaf-next{0%{transform:rotateY(0) skewY(0)}30%{transform:rotateY(-35deg) skewY(-1.2deg)}70%{transform:rotateY(-145deg) skewY(.7deg)}100%{transform:rotateY(-180deg) skewY(0)}}
@keyframes book-leaf-previous{0%{transform:rotateY(0) skewY(0)}30%{transform:rotateY(35deg) skewY(1.2deg)}70%{transform:rotateY(145deg) skewY(-.7deg)}100%{transform:rotateY(180deg) skewY(0)}}
@keyframes book-leaf-return{0%{transform:rotateY(-180deg) skewY(0)}30%{transform:rotateY(-145deg) skewY(.7deg)}70%{transform:rotateY(-35deg) skewY(-1.2deg)}100%{transform:rotateY(0) skewY(0)}}
@keyframes book-leaf-shade{0%,100%{opacity:0}35%,65%{opacity:1}}
@media(min-width:1600px){.book-page{padding-top:30px;padding-bottom:45px}.picture-book{min-height:690px}.book-reading{font-size:calc(20px * var(--reading-scale));line-height:1.45}.book-reading .child-line{font-size:calc(29px * var(--reading-scale))}.book-chapter h2,.book-right-heading h2{font-size:29px}.book-art-footer{font-size:16px;margin-top:25px}}
@media(max-width:1150px){.reader-header .nav-inner{width:calc(100% - 36px)}.reader-header .brand{font-size:22px}.reader-header .brand span:last-child{font-size:21px}.reader-header nav{gap:20px}.picture-reader{padding:20px 18px 27px}.book-toolbar{gap:15px}.book-title h1{font-size:21px}.book-mode-row{gap:15px}.book-page{padding:27px 25px 42px}.book-page-right{padding-left:31px}.book-reading{font-size:calc(18px * var(--reading-scale))}.book-chapter h2,.book-right-heading h2{font-size:25px}.book-reading .child-line{font-size:calc(26px * var(--reading-scale))}}
/* Compact spreads remain open on tablets and landscape phones. */
@media(max-width:1000px){
 .reader-header .nav-actions{display:none}.reader-header nav{display:flex}.reader-header .nav-inner{height:62px}
 .picture-reader{padding:16px 10px 24px}.book-back span{display:none}.book-toolbar{gap:12px}.book-title h1{font-size:20px}
 .book-mode-row{gap:8px;margin-bottom:16px}
 .book-stage{padding:0 20px 24px}.book-cover{padding:7px 7px 12px}.book-leaves{padding:0 5px 6px}
 .picture-book{min-height:480px}.book-page{padding:24px 20px 40px}.book-page-right{padding-left:25px}
 .book-chapter h2,.book-right-heading h2{font-size:23px}.book-reading{font-size:calc(17px * var(--reading-scale));line-height:1.5}
 .book-reading .child-line{font-size:calc(24px * var(--reading-scale))}.book-reading .child-passage{padding:16px;margin-top:20px}
 .book-art figcaption{font-size:11px;padding:9px}.book-role{font-size:12px;flex-wrap:wrap}.book-role small{font-size:9px}
 .book-arrow{width:44px;height:44px}.book-thumbnails{justify-content:flex-start;gap:11px}.book-thumbnails>button{flex-basis:110px}
 .book-discovery>p{font-size:calc(20px * var(--reading-scale))}.book-discovery .child-passage p{font-size:calc(19px * var(--reading-scale))}
 .book-word-list article{gap:10px}.book-word-list h3{font-size:21px}
}
@media(max-width:700px) and (orientation:landscape){
 .picture-reader{padding:12px 6px 20px}.book-stage{padding-inline:16px}.book-page{padding:20px 14px 36px}.book-page-right{padding-left:18px}
 .book-chapter h2,.book-right-heading h2{font-size:21px}.book-reading{font-size:calc(16px * var(--reading-scale))}
 .book-reading .child-line{font-size:calc(22px * var(--reading-scale))}.book-reading .child-passage{padding:13px 11px}
 .book-discovery>p,.book-discovery .child-passage p{font-size:calc(18px * var(--reading-scale))}
 .book-arrow{width:44px;height:44px}.book-tools button{min-width:44px;padding-inline:9px}
 .reader-header .brand{font-size:20px}.reader-header .brand span:last-child{font-size:19px}.reader-header nav{gap:10px;font-size:12px}
}
/* Only upright phone-sized screens use one portrait sheet per scene. */
@media(max-width:600px) and (orientation:portrait){.reader-header .nav-actions{display:none}.reader-header nav{display:flex}.reader-header .nav-inner{height:67px}.picture-reader{max-width:840px;padding:20px 23px 30px}.book-back span{display:none}.book-title h1{font-size:22px}.book-mode-row{gap:10px;margin-bottom:21px}.book-stage{padding:0 21px 24px}.book-cover{padding:7px 7px 12px}.book-leaves{padding:0 5px 6px}.picture-book{display:block;min-height:0;border-radius:22px 20px 18px 18px}.picture-book:before{display:none}.book-page-left{display:block;border-radius:22px 20px 0 0;padding:25px 26px 18px;background:linear-gradient(90deg,#e7caaa,#fff3e1 4%,#fff6e8 94%,#e7caaa)}.book-page-right{border-radius:0 0 18px 18px;padding:0 32px 45px;background:linear-gradient(90deg,#e7caaa,#fff3e1 4%,#fff6e8 94%,#e7caaa)}.book-chapter{margin-bottom:17px}.book-chapter h2{font-size:28px}.book-chapter>span{font-size:10px}.book-art{max-width:610px;margin:auto}.book-art figcaption{font-size:12px;padding:9px 14px}.book-art-footer,.book-right-heading,.book-page-left .printed-page-number{display:none}.book-reading{font-size:calc(20px * var(--reading-scale));line-height:1.6;padding-top:7px}.book-reading .child-line{font-size:calc(29px * var(--reading-scale))}.book-reading .child-passage{margin-top:25px}.book-arrow{top:230px;width:45px;height:45px}.book-page-count{margin-top:-5px}.book-thumbnails{justify-content:flex-start;margin-top:0;gap:13px}.book-thumbnails>button{flex-basis:119px}.book-thumbnails>button>span{font-size:10px}.book-spine-light{display:none}.picture-book.turn-next .book-page-right:after,.picture-book.turn-previous .book-page-left:after{display:none}.book-bottom{gap:20px}.book-navigation-hint{font-size:11px}.book-review{font-size:13px}
 .book-chapter h2{display:block}
 /* Keep the portrait turn inside the book's left-hand binding. */
 .book-leaves{overflow:hidden}

}
@media(max-width:600px) and (orientation:portrait){.reader-header .nav-inner{height:62px;gap:10px;width:calc(100% - 30px)}.reader-header .brand{font-size:19px;gap:4px;letter-spacing:-.6px}.reader-header .brand span:last-child{font-size:18px}.reader-header .brand-moon{font-size:36px;margin-right:4px}.reader-header .brand-moon i{font-size:12px;right:-5px;top:3px}.reader-header nav{gap:0;font-size:11px}.reader-header nav>a{min-height:42px;padding:5px 8px}.reader-header nav>a:not(.reader-nav-active){display:none}.reader-header nav .reader-nav-active{padding:4px 13px;gap:6px}.reader-header nav svg{width:18px}
 .picture-reader{padding:16px 9px 24px}.book-toolbar{gap:10px;margin:0 8px}.book-back{min-width:28px}.book-back svg{width:20px}.book-title h1{font-size:17px;line-height:1.3}.book-title>span{font-size:9px;line-height:1.6;margin-top:6px}.book-tools{flex-direction:column;border-radius:19px}.book-tools button{min-width:42px;min-height:36px;padding:4px 8px;font-size:19px}.book-tools button>span{display:none}.book-tools button+button{border-left:0;border-top:1px solid #b9a1d34a}.book-tools svg{width:17px;height:17px}.book-mode-row{margin:15px 5px 18px}.book-stage{padding:0 8px 24px}.book-cover{padding:5px 4px 9px;border-radius:19px 19px 17px 17px;border-width:1px}.book-leaves{padding:0 4px 5px;border-radius:15px}.picture-book{border-radius:16px}.book-page-left{padding:19px 16px 18px;border-radius:16px 16px 0 0}.book-page-right{padding:0 21px 40px;border-radius:0 0 16px 16px}.book-chapter{margin-bottom:14px}.book-chapter>span{font-size:8px;letter-spacing:1px;margin-bottom:8px}.book-chapter h2{font-size:24px}.book-art{border-radius:12px 7px 8px 7px}.book-art figcaption{font-size:11px;padding:8px}.book-reading{font-size:calc(18px * var(--reading-scale));line-height:1.6;padding-top:0}.book-role{font-size:13px;padding:5px 9px;gap:7px;margin-bottom:12px}.book-role small{font-size:9px}.book-reading .child-passage{padding:17px 16px;margin-top:22px;border-radius:15px}.book-reading .child-passage>.book-role{font-size:14px;flex-wrap:wrap}.book-reading .child-line{font-size:calc(25px * var(--reading-scale));line-height:1.45}.book-reading p{margin-bottom:14px}.book-reading .independent-passage.stage-beginning{font-size:calc(24px * var(--reading-scale))}.book-reading .independent-passage.stage-developing{font-size:calc(21px * var(--reading-scale))}.book-reading .independent-passage.stage-confident{font-size:calc(19px * var(--reading-scale))}.book-reading .independent-passage .book-role{flex-wrap:wrap}.book-arrow{width:44px;height:44px;top:205px;border-radius:22px;border-width:1px}.book-arrow svg{width:22px;height:22px}.book-previous{left:0}.book-next{right:0}.book-page-count{font-size:15px;padding:7px 14px;min-width:120px}.book-page-count>span{font-size:11px}.book-thumbnails{gap:11px;padding:10px 7px 12px}.book-thumbnails>button{flex-basis:106px}.book-thumbnails>button>span{font-size:9px;padding:7px 4px}.book-bottom{flex-direction:column;gap:0;margin-top:2px}.book-navigation-hint{font-size:9px}.book-art-note{font-size:8px;max-width:300px;margin:7px auto 0}.book-discovery>p{font-size:calc(21px * var(--reading-scale))}.book-discovery .child-passage p{font-size:calc(23px * var(--reading-scale))}.book-word-list h3{font-size:21px}
}
@media(prefers-reduced-motion:reduce){.picture-reader *,.picture-reader *:before,.picture-reader *:after{animation:none!important;transition:none!important}.book-turn-layer{display:none}}
@media(min-width:601px),(orientation:landscape){.book-page-left{border-top-right-radius:13% 3%;border-bottom-right-radius:10% 2%}.book-page-right{border-top-left-radius:13% 3%;border-bottom-left-radius:10% 2%}.book-leaves{background-color:#efd8bc}.picture-book{background:transparent}}
@media(max-width:1000px){.book-vignettes{display:none}}

/* Experiment instructions use the narration size at every viewport and text scale. */
.book-discovery .book-experiment,.book-discovery .book-experiment p{font-size:inherit;line-height:inherit}

/* Let the main illustration use its page, while keeping the equal-width binding. */
.book-is-open .picture-reader{width:min(1840px,100%);padding-inline:8px}
.book-is-open .book-stage{padding-inline:16px}
.book-is-open .book-page-left{justify-content:flex-start;padding-inline:8px}
.book-is-open .book-chapter{padding-inline:12px;margin-bottom:18px}
.book-is-open .book-art{max-width:none;width:100%}
.book-art-enlarge{display:block;position:relative;width:100%;border:0;padding:0;background:transparent;cursor:zoom-in}
.book-art-enlarge>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;user-select:none;-webkit-user-drag:none}
.book-art.portrait-art{width:min(100%,345px);margin-inline:auto}
.book-art.portrait-art img{aspect-ratio:auto;max-height:480px;object-fit:contain}
.book-art-enlarge>span{position:absolute;bottom:8px;right:8px;padding:5px 10px;border:1px solid #f6ddb88c;border-radius:20px;background:#281d40df;color:#fff4dd;font:11px/1.5 Nun,Arial,sans-serif}
.book-art-enlarge:focus-visible{outline-offset:-5px;outline-color:#fff4cb}
.book-art-dialog{width:max-content;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:12px;border:1px solid #c9a160;border-radius:18px;background:#fff2dc;color:#412747;overflow:auto}
.book-art-dialog::backdrop{background:#0c1331ed}
.book-art-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.book-art-dialog-bar h2{font:italic 22px/1.3 Georgia,serif}
.book-art-dialog-bar button{flex-shrink:0;min-width:74px;min-height:44px;padding:8px 12px;border:1px solid #b59568;border-radius:24px;background:#fff8eb;color:#412747;font:13px Nun,Arial,sans-serif}
.book-art-dialog>img{width:auto;height:auto;max-width:min(1600px,calc(100vw - 50px));max-height:calc(100dvh - 110px);object-fit:contain;border-radius:8px;margin:auto}
body:has(.book-art-dialog[open]),.book-expanded:has(.book-art-dialog[open]){overflow:hidden}
@media(max-width:600px) and (orientation:portrait){
 .book-is-open .reader-header nav>a:not(.reader-nav-active){display:none}
 .book-is-open .picture-reader{padding-inline:5px}
 .book-is-open .book-stage{padding-inline:8px}
 .book-is-open .book-page-left{padding-inline:6px}
 .book-is-open .book-chapter{margin-bottom:14px}
 .book-art-dialog-bar h2{font-size:18px}
}

/* Highlight size follows the reader's text-size control; bold also carries the emphasis. */
.book-reading .reading-word{
 font-family:Nun,Arial,sans-serif;
 font-weight:700;
 font-size:calc(1em * var(--reading-word-scale,1.25));
 color:var(--reading-word-color,#a63629);
 line-height:1;
 letter-spacing:normal;
 white-space:nowrap;
 word-break:normal;
 overflow-wrap:normal;
 hyphens:none;
}
@media print{
 .book-reading .reading-word{color:#161616!important}
}

.picture-book:lang(zh-Hans) :is(.book-reading,.book-role,.book-role small,.child-line,.reading-word,.book-chapter h2,.book-right-heading h2){
 font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
 font-style:normal;
 letter-spacing:normal;
}
.picture-book:lang(zh-Hans) .book-reading{line-break:strict}
