.lj-book-is-open{overflow:hidden}.lj-book-popout{box-sizing:border-box;border:0;border-radius:16px;padding:0;width:min(1440px,calc(100vw - 28px));max-width:none;height:min(1000px,calc(100dvh - 28px));max-height:none;background:#fff;color:#08245f;box-shadow:0 24px 100px #0007;overflow:hidden}.lj-book-popout[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}.lj-book-popout::backdrop{background:#07172ac9;backdrop-filter:blur(4px)}.lj-popout-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 20px;border-bottom:1px solid #dce5ec;background:#fff}.lj-popout-bar h2{font:600 18px/1.35 system-ui,sans-serif;margin:0;min-width:0}.lj-popout-bar button{flex-shrink:0;min-height:44px}.lj-popout-frame{width:100%;height:100%;border:0;display:block;background:#fff}.lj-book-cover.lj-cover-trigger{width:100%;border:0;cursor:pointer;font:inherit}.lj-cover-trigger:focus-visible{outline:3px solid #009caa;outline-offset:5px}.lj-cover-trigger:hover .lj-cover-book{transform:rotate(0deg) translateY(-5px)}.lj-cover-book{transition:transform .2s ease}.lj-cover-book .lj-scene{margin:15px 0;border-radius:5px;background:#fff;aspect-ratio:4/3}.lj-scene{display:block;position:relative;overflow:hidden;width:100%;aspect-ratio:4/3;background:#fff}.lj-scene>img{display:block;position:absolute;width:300%!important;height:400%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;object-fit:fill!important}.lj-page-illustration{margin:0 0 20px!important;break-inside:avoid}.lj-page-illustration .lj-scene{max-width:480px;margin:0 auto}.lj-page-illustration figcaption{font:13px/1.5 system-ui,sans-serif;color:#52647d;margin:8px 0 0;text-align:center}.lj-reader-embedded body{background:white;margin:0}.lj-reader-embedded body>header,.lj-reader-embedded body>footer,.lj-reader-embedded .skip,.lj-reader-embedded .site-account-link,.lj-reader-embedded .lj-reader>a:first-child{display:none!important}.lj-reader-embedded #main.lj-area{padding:18px 22px 30px;max-width:1320px}.lj-reader-embedded #reader-title{font-size:24px;margin:4px 0 10px}.lj-reader-embedded .lj-reader{max-width:1280px}.lj-reader-embedded .lj-flip-stage{padding-top:20px}.lj-reader-embedded #reader-subtitle{font-size:15px;margin:0 0 15px}.lj-reader-embedded #reader-content{padding:0!important}.lj-reader-embedded .lj-flip-options{margin-top:14px}@media(max-width:600px){.lj-book-popout{width:calc(100vw - 12px);height:calc(100dvh - 12px);border-radius:10px}.lj-popout-bar{padding:10px;gap:10px}.lj-popout-bar h2{font-size:14px}.lj-popout-bar button{padding:9px 12px;font-size:13px}.lj-reader-embedded #main.lj-area{padding:12px 10px 24px}}@media(prefers-reduced-motion:reduce){.lj-cover-book{transition:none}}

/* Bookshelf */
#labjunior-storybooks{display:flex;align-items:flex-end;gap:32px;padding:30px 28px 26px;border-bottom:22px solid #93613d;border-radius:8px;background:linear-gradient(90deg,#d7bea0,#f3e8d8 15%,#ead7bd 85%,#ccb08d);box-shadow:0 12px 0 #613b25,0 20px 24px #412a2026;flex-wrap:wrap}
#labjunior-storybooks .lj-shelf-book{flex:0 1 260px;border:0;border-radius:0;padding:0;background:transparent;text-align:center}
#labjunior-storybooks .lj-real-cover{padding:0 12px 0 0;margin:0;background:transparent;min-height:310px}
#labjunior-storybooks .lj-cover-book{padding-left:48px;transform:none;min-height:310px;display:block}
.lj-book-spine{position:absolute;inset:0 auto 0 0;width:34px;box-sizing:border-box;border-right:2px solid #ffffff26;border-radius:3px 0 0 3px;writing-mode:vertical-rl;transform:rotate(180deg);padding:20px 8px!important;font:600 14px/1.2 Georgia,serif!important;letter-spacing:.5px!important;text-transform:none!important;background:#0b254e;color:#fff!important}
#labjunior-storybooks .lj-shelf-book>h3{font-size:17px;margin:18px 0 4px}
#labjunior-storybooks .lj-shelf-book>p{font-size:13px;margin:0;max-width:260px}
.lj-cover-trigger:hover .lj-cover-book,.lj-cover-trigger:focus-visible .lj-cover-book{transform:translateY(-12px) rotate(-3deg)}
.lj-flip-stage{box-sizing:border-box;display:flex;justify-content:center;align-items:flex-start;padding:12px!important}
.lj-flip-spread{flex:0 0 100%;max-width:1180px;transform-origin:top center}
.lj-paper{cursor:pointer}
.lj-reader-embedded #main.lj-area{padding:8px 12px 16px}
.lj-reader-embedded #reader-title{font-size:20px;margin:0 0 4px}
.lj-reader-embedded #reader-subtitle{display:none}
.lj-reader-embedded #reader-status:empty{display:none}
.lj-reader-embedded #reader-content>label{display:flex;align-items:center;gap:10px;margin:4px 0}
.lj-reader-embedded #reader-chapters{padding:6px 10px;max-width:300px}
.lj-reader-embedded #reader-page-label{margin:4px 0}
.lj-reader-embedded .lj-flip-options,.lj-reader-embedded .lj-reader-toolbar{margin:6px 0;gap:6px}
.lj-reader-embedded .lj-flip-options button,.lj-reader-embedded .lj-reader-toolbar button{padding:7px 10px;min-height:36px}
.lj-reader-embedded .lj-actions{margin-top:6px}
@media(max-width:600px){#labjunior-storybooks{gap:26px;padding:24px 14px 18px;justify-content:center}#labjunior-storybooks .lj-shelf-book{flex-basis:220px}.lj-popout-bar{padding:6px 10px}}

.lj-paper{min-height:460px;padding:20px 24px 40px}.lj-paper .lj-reader-text{font:18px/1.5 Georgia,serif}.lj-paper .lj-reader-title{font-size:21px!important;margin-bottom:12px!important}.lj-paper .lj-page-illustration .lj-scene{max-width:210px}.lj-page-illustration{margin-bottom:12px!important}.lj-page-illustration figcaption{font-size:12px}.lj-reader-embedded #reader-title{display:none}

#labjunior-storybooks{padding-bottom:0}#labjunior-storybooks .lj-shelf-book>h3,#labjunior-storybooks .lj-shelf-book>p{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}#labjunior-storybooks .lj-real-cover{min-height:0;height:380px;align-items:flex-end}#labjunior-storybooks .lj-cover-book{height:380px;min-height:0}#labjunior-storybooks .lj-cover-book strong{font-size:19px}.lj-reader-embedded #reader-content>label{white-space:nowrap}.lj-reader-embedded #reader-chapters{min-width:0}@media(max-width:600px){#labjunior-storybooks{padding-bottom:0}}
