/* Child-facing screens: one picture, one obvious action. */
body.child-world{--toy-green:#4a896a;--toy-cream:#fffbed;--toy-gold:#f6bf54;background:#f8f4e6;overflow-x:hidden}
.child-world>.sidebar,.child-world>.bottom-nav,.child-world .topbar,.child-world .page-footer{display:none!important}
.child-world .workspace{margin:0;min-height:100dvh}
.child-world main{max-width:none;padding:0;margin:0;min-height:100dvh}
.child-world #reading-audio-dock{display:none!important}
.toy-button{width:70px;height:70px;min-width:70px;min-height:70px;display:inline-grid;place-items:center;flex-shrink:0;border-radius:25px;color:#fff9e8;background:var(--toy-green);border:4px solid #fff9e8;box-shadow:0 6px 0 #2c654f,0 10px 18px #46633b16;position:relative;padding:9px;touch-action:manipulation}
.toy-button svg{width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 2px 0 #0000000d)}
.toy-button:hover{background:#579b77;transform:translateY(-2px)}.toy-button:active{transform:translateY(4px)!important;box-shadow:0 2px 0 #2c654f}
.toy-small{width:49px;height:49px;min-width:49px;min-height:49px;border-radius:18px;padding:7px;border-width:3px;box-shadow:0 3px 0 #ddd0ac}
.toy-cream{background:#fff8df;color:#a38d59;box-shadow:0 4px 0 #ded3b4;border-color:#fffdf5}.toy-cream:hover{background:#fff2c9}
.toy-gold{background:#f6bf54;color:#8b5d20;box-shadow:0 6px 0 #ce9738}.toy-gold:hover{background:#ffcb67}
.toy-main{width:91px;height:91px;min-width:91px;min-height:91px;border-radius:33px;padding:17px;border-width:5px;box-shadow:0 7px 0 #2e654a,0 10px 25px #48734724}
.toy-main.is-playing{background:#df9f54;box-shadow:0 7px 0 #b27b3a}.toy-soft{background:#eee8d5;color:#c1b68e;box-shadow:0 5px 0 #d8cfb3}
.little-world{position:relative;isolation:isolate;min-height:100dvh;overflow:hidden;background:radial-gradient(ellipse at 50% 65%,#fffdf6 0,#faf5e6 68%)}
.little-world::before,.little-world::after{content:'';position:absolute;z-index:-1;border-radius:50%;background:#e1e9cc;width:70vw;height:28vw;bottom:-20vw;left:-15vw;transform:rotate(7deg)}
.little-world::after{left:auto;right:-15vw;background:#d5e3c3;bottom:-21vw;transform:rotate(-7deg)}
.little-world-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:max(22px,env(safe-area-inset-top)) max(28px,env(safe-area-inset-right)) 12px max(28px,env(safe-area-inset-left));height:100px}
.little-logo{font-size:24px;font-weight:800;letter-spacing:2px;color:#4d7759}.little-logo>span{color:#d7ac55;font-size:33px;vertical-align:middle;margin-right:8px}
.shelf-welcome{position:relative;text-align:center;margin:12px auto 35px;display:flex;align-items:center;justify-content:center;gap:16px}.hello-bear{font-size:58px;display:grid;place-items:center;transform:rotate(-8deg)}
.shelf-welcome h1{font-size:32px;font-weight:700;letter-spacing:3px;margin:0;color:#61734a}.shelf-star{color:#e6bd66;font-size:30px;transform:rotate(15deg);margin-left:4px}
.picture-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px;max-width:1120px;margin:0 auto;padding:25px 45px 80px;align-items:center}
.picture-book{position:relative;min-width:0;background:none;padding:0 0 10px;transform:rotate(-4deg);transition:transform .2s;align-self:center}.picture-book-1{transform:rotate(3deg);margin-top:35px}.picture-book-2{transform:rotate(-2deg)}
.picture-book:hover{transform:rotate(0) translateY(-9px)}.book-cloud{display:block;background:#fffefa;border:9px solid #fffdf5;border-radius:25px;overflow:hidden;box-shadow:0 9px 0 #e3d4ac,0 20px 30px #9c91531a}
.book-cloud img{display:block;aspect-ratio:1.1!important;object-fit:contain;width:100%;padding:4px}.picture-book strong{display:block;font-family:Georgia,serif;font-size:20px;color:#6b7954;margin-top:26px;line-height:1.4}.book-open{position:absolute;bottom:44px;right:-13px;width:64px;height:64px;display:grid;place-items:center;border:5px solid #fffaf0;background:#efbc62;border-radius:50%;color:#966624;box-shadow:0 5px 0 #c99b4b}.book-open svg{width:36px;height:36px}.shelf-grass{position:absolute;bottom:15px;left:0;right:0;display:flex;justify-content:space-around;pointer-events:none;font-size:37px;opacity:.8}
.choice-name{font-family:Georgia,serif;color:#8f9b7e;font-size:18px;text-align:center}.choice-world{display:grid;grid-template-rows:100px minmax(0,1fr) auto;height:100dvh;min-height:560px}
.choice-cover{position:relative;display:grid;place-items:center;width:min(620px,75vw);margin:0 auto;min-height:0;align-self:center}.choice-cover>.story-art{border:10px solid #fffdf6;background:white;border-radius:25px;max-height:45dvh;width:auto;max-width:100%;object-fit:contain;box-shadow:0 10px 0 #e7dcbc;transform:rotate(-2deg)}.choice-spark{position:absolute;top:10px;right:-14px;font-size:45px;color:#e6bf6f;transform:rotate(10deg)}
.choose-play{display:flex;justify-content:center;gap:38px;padding:35px 25px max(45px,env(safe-area-inset-bottom))}.play-choice{display:flex;flex-direction:column;align-items:center;gap:16px;min-width:100px}.play-choice>span{width:105px;height:105px;padding:22px;display:block;color:#fffdf1;background:#679476;border-radius:34px;border:5px solid #fffdf5;box-shadow:0 7px 0 #477454}.play-choice>span svg{width:100%;height:100%}.play-choice-video>span{background:#e3a65e;box-shadow:0 7px 0 #bd8340}.play-choice-audio>span{background:#8ba9cb;box-shadow:0 7px 0 #657fa4}.play-choice strong{font-size:17px;letter-spacing:2px;color:#7c866a}.play-choice:hover{transform:translateY(-5px)}
body.immersive-reading{height:100dvh;overflow:hidden;background:#f9f5e8}.immersive-reading .workspace,.immersive-reading main{height:100dvh;min-height:0!important;overflow:hidden}.story-world{--top-space:88px;--bottom-space:140px;position:relative;height:100dvh;display:grid;grid-template-rows:var(--top-space) minmax(0,1fr) var(--bottom-space);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:radial-gradient(ellipse at center,#fffefa 0,#faf7ed 65%,#f0eddd 100%);isolation:isolate}
.story-world::before{content:'✧';position:absolute;left:4%;top:36%;font-size:45px;color:#ddc78f;opacity:.5;z-index:-1}.story-world::after{content:'✦';position:absolute;right:4%;bottom:25%;font-size:27px;color:#b4c69e;opacity:.65;z-index:-1}
.stage-top{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:17px 27px 14px}.stage-tools{display:flex;gap:11px}.story-trail{position:relative;max-width:230px;width:100%;height:8px;background:#e4e9d3;border-radius:20px;margin-right:auto;margin-left:15px}.trail-fill{display:block;height:100%;border-radius:20px;background:#bdd19e;transition:width .25s}.trail-friend{position:absolute;top:-12px;font-size:23px;transform:translateX(-50%) rotate(-10deg);transition:left .25s}
.story-stage{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;padding:8px 55px}.story-picture{position:relative;width:min(100%,calc((100dvh - var(--top-space) - var(--bottom-space) - 22px - env(safe-area-inset-top) - env(safe-area-inset-bottom))*1.414));aspect-ratio:595/420;max-height:100%;border-radius:13px;box-shadow:0 7px 28px #9d905915;overflow:hidden;background:white;flex-shrink:1;user-select:none;-webkit-user-select:none;touch-action:pan-y pinch-zoom}.story-picture>img{width:100%;height:100%;display:block;object-fit:contain;pointer-events:none}.picture-listen{position:absolute;inset:0;width:100%;height:100%;z-index:1;border-radius:13px;cursor:pointer}.picture-listen:focus-visible{outline-offset:-6px;outline-color:#dfb661}.sentence-hotspot{position:absolute;z-index:2;border-radius:8px;background:transparent;border:2px solid transparent;padding:0;mix-blend-mode:multiply;cursor:pointer}.sentence-hotspot:hover{background:#f7dc8b45;border-color:#efc86a80}.sentence-hotspot.is-current{background:#f7d77265;border-color:#e8bd4b;box-shadow:0 0 0 3px #f4dfa92b}.sentence-hotspot:focus-visible{outline-offset:1px;outline:3px solid #c89b35}.stage-bottom{display:flex;align-items:center;justify-content:center;gap:80px;padding:6px 24px 20px}.play-pod{display:flex;align-items:center;flex-direction:column;gap:10px}.tap-hint{font-size:11px;color:#a0a88e;letter-spacing:3px;line-height:1.6}.stage-bottom>.toy-button{margin-bottom:23px}.story-stage.is-playing .story-picture{box-shadow:0 7px 30px #8aa35d1c}
dialog:has(.kid-media){position:fixed;inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;margin:0;padding:0;border-radius:0;background:#1e302b;overflow:hidden}.kid-media{height:100dvh;position:relative;display:grid;place-items:center;padding:max(70px,env(safe-area-inset-top)) 20px max(30px,env(safe-area-inset-bottom))}.kid-media>.toy-button{position:absolute;top:max(17px,env(safe-area-inset-top));left:max(18px,env(safe-area-inset-left));z-index:2}.kid-media-stage{width:100%;max-width:1200px;max-height:100%;display:flex;flex-direction:column;gap:35px;align-items:center;min-height:0}.kid-media-stage video{display:block;width:100%;max-height:calc(100dvh - 115px);border-radius:14px;background:#17231e}.kid-media-stage>img{max-height:calc(100dvh - 250px);max-width:100%;width:auto;object-fit:contain;border-radius:15px}.kid-media-stage audio{display:none}dialog:has(.kid-media) .close-dialog{display:none}
.adult-settings{display:flex;flex-direction:column;border:1px solid #e2e6d5;border-radius:14px;overflow:hidden;margin:20px 0}.adult-settings label{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:58px;padding:12px 17px;font-size:13px;border-bottom:1px solid #e3e6d9}.adult-settings label:last-child{border:0}.adult-settings input{width:22px;height:22px;accent-color:#568166}.adult-settings select{font:inherit;background:#fffdf5;border:1px solid #dbe1ce;border-radius:8px;color:var(--green);padding:8px;min-height:42px}.parent-dialog>.text-button{display:block;margin-bottom:15px}
.child-finish{text-align:center;padding:15px 0 25px}.child-finish h2{font-size:29px;letter-spacing:4px;color:#819261}.child-finish>div{display:flex;align-items:center;justify-content:center;gap:30px;margin:30px 0 10px}.child-world #toast{left:50%;bottom:max(24px,env(safe-area-inset-bottom))}
@media(max-width:699px){.little-world-header{height:86px;padding:20px 20px 10px}.little-logo{font-size:21px}.little-logo>span{font-size:27px}.shelf-welcome{margin:20px auto 24px;gap:12px}.shelf-welcome h1{font-size:24px;letter-spacing:2px}.hello-bear{font-size:46px}.shelf-star{font-size:21px}.picture-shelf{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 23px;padding:15px 30px 80px;max-width:500px}.picture-book:first-child{grid-column:1/-1;width:57%;justify-self:center}.book-cloud{border-width:7px;border-radius:19px;box-shadow:0 6px 0 #e3d4ac,0 12px 18px #9c915314}.book-cloud img{aspect-ratio:1.2!important;padding:0}.picture-book-1{margin:0}.picture-book strong{font-size:14px;margin-top:17px}.book-open{width:45px;height:45px;border-width:4px;right:-10px;bottom:27px;box-shadow:0 4px 0 #c99b4b}.book-open svg{width:27px;height:27px}.shelf-grass{font-size:29px;bottom:12px}.choice-world{grid-template-rows:86px minmax(0,1fr) auto;min-height:0}.choice-cover{width:90vw}.choice-cover>.story-art{max-height:51dvh;border-width:7px;border-radius:19px}.choice-name{font-size:15px}.choice-spark{font-size:31px;right:0}.choose-play{padding:30px 15px max(48px,env(safe-area-inset-bottom));gap:22px}.play-choice{min-width:75px;gap:15px}.play-choice>span{width:81px;height:81px;padding:16px;border-radius:28px;border-width:4px}.play-choice strong{font-size:14px;letter-spacing:1px}.story-world{--top-space:80px;--bottom-space:155px}.stage-top{gap:14px;padding:15px 17px}.stage-tools{gap:8px}.story-trail{max-width:130px;margin:0 9px 0 0;height:6px}.trail-friend{font-size:20px;top:-11px}.stage-tools .toy-small{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:16px}.stage-top>.toy-small{width:49px;height:49px}.story-stage{padding:0 8px}.story-picture{border-radius:9px}.stage-bottom{gap:44px;padding:9px 20px 25px}.stage-bottom .toy-button{width:66px;height:66px;min-width:66px;min-height:66px;border-radius:24px}.stage-bottom .toy-main{width:92px;height:92px;min-width:92px;min-height:92px;border-radius:34px}.stage-bottom>.toy-button{margin-bottom:24px}.tap-hint{font-size:11px;letter-spacing:2px}.story-world::before{top:19%;left:12%;font-size:29px}.story-world::after{bottom:25%;right:12%;font-size:22px}.sentence-hotspot{border-width:1.5px;border-radius:5px}.child-world #toast{bottom:24px}.child-finish .toy-main{width:88px;height:88px;min-width:88px;min-height:88px}}
@media(orientation:landscape) and (max-height:600px){.little-world-header{height:65px;padding:12px 22px}.shelf-welcome{margin:2px auto 8px;gap:10px}.hello-bear{font-size:32px}.shelf-welcome h1{font-size:22px}.picture-shelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;padding:15px 50px 35px;max-width:900px}.picture-book:first-child{grid-column:auto;width:100%}.book-cloud img{aspect-ratio:1.6!important;max-height:38dvh}.picture-book strong{font-size:14px;margin-top:14px}.book-open{width:43px;height:43px;bottom:24px;right:-10px}.book-open svg{width:25px;height:25px}.picture-book-1{margin:0}.shelf-grass{font-size:23px;bottom:5px}.choice-world{grid-template-rows:65px minmax(0,1fr);grid-template-columns:1.3fr 1fr}.choice-world>.little-world-header{grid-column:1/-1}.choice-cover{width:90%;grid-column:1;align-self:center}.choice-cover>.story-art{max-height:70dvh;border-width:6px}.choose-play{grid-column:2;grid-row:2;flex-wrap:wrap;gap:24px;padding:20px 20px 30px}.play-choice{gap:9px;min-width:70px}.play-choice>span{width:72px;height:72px;border-radius:25px;padding:15px}.play-choice strong{font-size:13px}.story-world{--top-space:0px;--bottom-space:0px;display:block;padding:env(safe-area-inset-top) max(86px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(86px,env(safe-area-inset-left))}.stage-top{position:absolute;inset:0;pointer-events:none;padding:0;display:block}.stage-top>.toy-button{position:absolute;top:max(15px,env(safe-area-inset-top));left:max(15px,env(safe-area-inset-left));pointer-events:auto}.stage-tools{position:absolute;right:max(16px,env(safe-area-inset-right));top:max(15px,env(safe-area-inset-top));flex-direction:column;gap:16px;pointer-events:auto}.story-trail{position:absolute;top:auto;bottom:11px;left:42%;width:16%;max-width:none;height:5px;margin:0;z-index:3}.trail-friend{font-size:17px;top:-9px}.story-stage{height:100%;padding:8px 0 23px}.story-picture{width:min(100%,calc((100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))*1.414));height:auto;max-height:100%}.stage-bottom{position:absolute;inset:0;pointer-events:none;padding:0;display:block}.stage-bottom>.toy-button{position:absolute;bottom:20px;width:59px;height:59px;min-width:59px;min-height:59px;border-radius:22px;margin:0;pointer-events:auto}.stage-bottom>[data-action="child-prev"]{left:max(14px,env(safe-area-inset-left))}.stage-bottom>[data-action="child-next"]{right:max(14px,env(safe-area-inset-right))}.play-pod{position:absolute;left:max(10px,env(safe-area-inset-left));top:50%;transform:translateY(-50%);gap:0;pointer-events:auto}.play-pod .toy-main{width:69px;height:69px;min-width:69px;min-height:69px;border-radius:25px;padding:12px;border-width:4px}.play-pod .tap-hint{display:none}.story-world::before,.story-world::after{display:none}}
@media(min-width:1000px) and (min-height:601px){.story-world{--top-space:85px;--bottom-space:125px}.stage-bottom{gap:90px;padding-bottom:10px}.stage-bottom .toy-main{width:87px;height:87px;min-width:87px;min-height:87px}.stage-top{padding-left:35px;padding-right:35px}}
@media(max-width:360px) and (orientation:portrait){.stage-tools{gap:5px}.stage-top{gap:8px;padding-left:12px;padding-right:12px}.story-trail{margin-right:5px}.stage-bottom{gap:30px}.picture-shelf{padding-left:23px;padding-right:23px;gap:22px 17px}.play-choice>span{width:73px;height:73px}.choose-play{gap:17px}.shelf-welcome h1{font-size:22px}}
@media(prefers-reduced-motion:reduce){.toy-button,.picture-book,.play-choice,.trail-fill,.trail-friend{transition:none}}

/* Supplied reading logo */
.little-logo{display:inline-flex;align-items:center;gap:12px;white-space:nowrap}.little-logo>.brand-logo{width:56px;height:56px}@media(max-width:699px){.little-logo{gap:9px;letter-spacing:1px}.little-logo>.brand-logo{width:44px;height:44px}}
/* Three graded shelves, sourced from the local book catalogue. */
.graded-library{background:radial-gradient(ellipse at 50% 0,#fffdf4,#f8f4e6 75%);padding-bottom:24px}.graded-library::before,.graded-library::after{display:none}.graded-library .little-world-header{max-width:1400px;margin:auto}.library-welcome{text-align:center;padding:24px 20px 32px}.library-eyebrow{font-size:10px;letter-spacing:3px;color:#a18e66}.library-welcome h1{font-size:32px;letter-spacing:2px;color:#47664d;margin:16px 0 12px}.library-welcome h1>span{color:#dcae4d}.library-welcome p{font-size:14px;color:#92917b;letter-spacing:1px}.shelf-shortcuts{display:flex;justify-content:center;gap:12px;margin:26px auto 0;flex-wrap:wrap}.shelf-shortcuts button{display:flex;align-items:center;gap:9px;background:#fffdf7;border:1px solid #e8e3d2;border-radius:30px;padding:11px 18px;font-size:13px;font-weight:700;color:#5d7057}.shelf-shortcuts button:hover{background:#f0f2e5}.shelf-shortcuts button>span{font-size:10px;font-weight:400;color:#969781}.level-dot{width:9px;height:9px;border-radius:50%;background:#7fa481}.level-dot-2{background:#d8a35f}.level-dot-3{background:#9a92b5}.graded-shelves{max-width:1330px;margin:auto;padding:0 38px}.level-shelf{--shelf-accent:#6e9473;--shelf-tint:#e6eddd;margin:10px 0 40px;scroll-margin-top:20px}.level-shelf-2{--shelf-accent:#b18a50;--shelf-tint:#f2e7d1}.level-shelf-3{--shelf-accent:#8b80a3;--shelf-tint:#eae4ef}.shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.shelf-heading-label{display:flex;align-items:center;gap:13px}.shelf-number{font-family:Georgia,serif;font-size:30px;background:var(--shelf-tint);color:var(--shelf-accent);width:54px;height:57px;border-radius:18px;display:grid;place-items:center}.shelf-kicker{font-size:9px;letter-spacing:2px;color:var(--shelf-accent);font-weight:700}.shelf-heading h2{font-size:22px;margin:5px 0 0;color:#526449;letter-spacing:1px}.shelf-heading h2>span{font-size:11px;color:#969380;font-weight:400;margin-left:15px;letter-spacing:1px}.shelf-heading-end{display:flex;align-items:center;gap:9px}.shelf-heading-end>span{font-size:11px;color:#92917f;margin-right:9px}.shelf-arrow{border:1px solid #dddac8;background:#fffdf5;border-radius:50%;width:36px;height:36px;color:#7b8568;font-size:19px}.shelf-arrow:hover{background:var(--shelf-tint)}.shelf-track{display:flex;gap:25px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:10px 12px 20px;scrollbar-width:thin;scrollbar-color:#d8c4a3 transparent}.shelf-book{flex:0 0 202px;min-width:0;text-align:left;padding:0;scroll-snap-align:start;display:flex;flex-direction:column}.shelf-cover{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:155px;background:#fffdf7;border:5px solid #fffdf7;border-radius:8px 13px 13px 8px;box-shadow:-4px 2px 0 #e3d8bc,0 8px 15px #6d573018;transition:transform .2s}.shelf-cover::after{content:'';position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(90deg,#00000012,transparent);pointer-events:none}.shelf-cover img{width:100%;height:100%;object-fit:contain;border-radius:5px}.shelf-book:hover .shelf-cover{transform:translateY(-5px) rotate(-1deg)}.shelf-book>strong{font-size:13px;line-height:1.5;color:#4c6047;margin:16px 0 5px;min-height:39px;max-width:100%;overflow-wrap:anywhere}.book-count{position:absolute;bottom:6px;right:6px;background:#fffdf2ed;border-radius:20px;color:#677157;font-size:10px;padding:4px 8px;box-shadow:0 1px 5px #00000012}.book-caption{font-size:10px;color:#99917d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;line-height:1.7}.shelf-plank{height:14px;border-radius:3px 3px 7px 7px;background:linear-gradient(#e8d7b7 0%,#e8d7b7 30%,#d6bc93 32%,#dfc9a6 100%);box-shadow:0 9px 12px #7b654519;position:relative;margin-top:0}.shelf-plank::before,.shelf-plank::after{content:'';position:absolute;top:14px;width:15px;height:15px;background:#dbc49e;border-radius:0 0 4px 4px;left:25px}.shelf-plank::after{left:auto;right:25px}.shelf-footer{display:flex;justify-content:center;align-items:center;gap:10px;font-size:12px;color:#94927d;padding:0 20px 10px;flex-wrap:wrap}.shelf-footer>span:first-child{font-size:23px}.shelf-preview-note{font-size:11px;color:#aaa38d;margin-left:15px}.series-preview h2{font-size:25px;line-height:1.4;color:#526449}.series-preview-cover{display:block;max-width:100%;width:350px;max-height:240px;object-fit:contain;margin:15px auto;border-radius:9px}.series-coming{font-size:13px;color:#8c8d77;text-align:center}.series-preview details{border-top:1px solid #e6e1d0;margin-top:22px;padding-top:16px}.series-preview summary{cursor:pointer;font-size:13px;color:#5c7458}.series-preview ol{padding-left:25px;max-height:230px;overflow:auto;font-size:12px;line-height:1.8;color:#7d806d}.series-preview li{padding:5px 0}
@media(max-width:699px){.graded-library .little-world-header{height:86px}.library-welcome{padding:16px 17px 25px}.library-eyebrow{font-size:8px;letter-spacing:2px}.library-welcome h1{font-size:23px;letter-spacing:1px;margin-top:14px}.library-welcome p{font-size:11px;letter-spacing:0}.shelf-shortcuts{gap:7px;margin-top:21px}.shelf-shortcuts button{padding:9px 11px;font-size:11px;gap:6px}.shelf-shortcuts button>span{display:none}.graded-shelves{padding:0 20px}.level-shelf{margin:9px 0 32px}.shelf-heading{margin-bottom:12px;gap:7px}.shelf-heading-label{gap:9px}.shelf-number{width:42px;height:46px;border-radius:14px;font-size:25px}.shelf-kicker{font-size:8px}.shelf-heading h2{font-size:18px}.shelf-heading h2>span{display:none}.shelf-heading-end{gap:6px}.shelf-heading-end>span{font-size:10px;margin-right:2px}.shelf-arrow{width:32px;height:32px;font-size:16px}.shelf-track{gap:19px;padding:9px 8px 17px}.shelf-book{flex-basis:158px}.shelf-cover{height:122px;border-width:4px}.shelf-book>strong{font-size:12px;min-height:36px;margin-top:13px}.book-caption{font-size:9px}.shelf-footer{font-size:11px;gap:7px}.shelf-preview-note{flex-basis:100%;text-align:center;margin:0;font-size:10px}}
@media(prefers-reduced-motion:reduce){.shelf-cover{transition:none}.shelf-book:hover .shelf-cover{transform:none}}
.garden-door{display:flex;align-items:center;gap:8px;background:#edf2dc;border:3px solid #fffdf4;border-radius:22px;min-height:55px;padding:7px 15px;color:#6b8657;margin-left:auto;box-shadow:0 4px 0 #d2ddbb}.garden-door>span{font-size:30px}.garden-door strong{font-size:13px;letter-spacing:1px}.garden-door i{font-style:normal;display:grid;place-items:center;min-width:24px;height:24px;border-radius:50%;background:#ffe3a1;color:#9c783b;font-size:11px}.achievement-world{min-height:100dvh}.achievement-world h1{font-size:25px;letter-spacing:3px;margin:0;color:#71865b}.achievement-layout{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1.05fr 1fr;gap:35px;padding:12px 35px 50px}.vine-scene{position:relative;background:linear-gradient(#f0f5dd,#fbf9e9);border-radius:38px;border:5px solid #fffef5;padding:22px 20px 25px;text-align:center;align-self:start;box-shadow:0 7px 0 #e1e6ca}.vine-label{display:flex;justify-content:space-between;align-items:center;gap:10px}.vine-label>span{font-size:20px;font-weight:700;color:#78975e}.vine-label strong{font-size:11px;font-weight:500;color:#a0ad82}.living-vine{width:100%;max-height:510px;display:block;overflow:visible}.garden-read{min-height:52px;border:4px solid #fffdf5;background:#79a56e;color:white;box-shadow:0 4px 0 #5c8453;border-radius:20px;padding:10px 28px;font-size:15px;font-weight:600;letter-spacing:2px}.garden-treasures{display:flex;flex-direction:column;gap:27px;padding-top:10px}.badge-cabinet,.award-cabinet{background:#fffcf2;border:2px solid #ece8d3;border-radius:26px;padding:22px}.garden-treasures h2{display:flex;align-items:center;gap:10px;font-size:19px;color:#8b895f;margin:0 0 18px;letter-spacing:2px}.garden-treasures h2>span{font-size:12px;background:#e8efd7;color:#7e9860;border-radius:20px;padding:6px 10px;letter-spacing:0}.badge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 8px;max-height:340px;overflow:auto;padding:7px 1px 12px}.badge-item{display:flex;flex-direction:column;align-items:center;gap:15px;min-width:0;min-height:115px}.badge-item>span:last-child{font-size:10px;color:#9d9a7b;line-height:1.7}.earned-medal{display:inline-grid;place-items:center;position:relative;width:78px;height:78px;border-radius:50%;background:#ffe0a0;border:5px solid #fff1c3;outline:2px solid #ebbf66;box-shadow:0 5px 0 #d9b16b;flex-shrink:0}.earned-medal:before,.earned-medal:after{content:'';position:absolute;z-index:-1;top:55px;left:6px;width:22px;height:43px;background:#d89472;transform:rotate(18deg);clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%)}.earned-medal:after{left:auto;right:6px;transform:rotate(-18deg);background:#e8ab82}.earned-medal>span{font-size:37px}.earned-medal>i{position:absolute;right:-7px;bottom:0;font-style:normal;font-size:22px;color:#d8a649;text-shadow:0 2px white}.badge-item:hover{transform:rotate(-4deg)}.badge-empty{grid-column:1/-1;text-align:center;padding:25px;color:#b6b398}.badge-empty>span{font-size:50px;filter:grayscale(.8);opacity:.5}.badge-empty p{font-size:12px;margin:18px 0 0}.award-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.award-ticket{display:flex;flex-direction:column;align-items:center;gap:10px;padding:17px 6px;background:#fff0c9;border:3px solid #efd99e;border-radius:17px;min-height:140px}.award-ticket>span{font-size:32px}.award-ticket>strong{font-size:11px;letter-spacing:.4px;color:#9e7d3d}.award-ticket>small{font-size:9px;color:#bba275}.award-ticket.locked{background:#f2f1e7;border-color:#e6e6d7;opacity:.7}.award-ticket.locked>span{filter:grayscale(1);opacity:.5}.award-ticket.unlocked{box-shadow:0 4px 0 #dfc381}.next-award{font-size:11px;text-align:center;color:#b6a16a;margin:20px 0 0}.new-badge{display:block;margin:15px auto 37px}.new-badge .earned-medal{width:116px;height:116px;border-width:7px}.new-badge .earned-medal>span{font-size:57px}.new-badge .earned-medal:before,.new-badge .earned-medal:after{top:90px;width:30px;left:20px}.new-badge .earned-medal:after{left:auto;right:20px}.growth-finish h2{font-size:24px;letter-spacing:2px;margin-bottom:12px}.growth-finish>p{font-size:13px;color:#9ba77d;line-height:1.8}.growth-finish>div{gap:18px}.growth-finish .toy-button{width:66px;height:66px;min-width:66px;min-height:66px;border-radius:24px}.garden-emoji{font-size:34px}.badge-detail{text-align:center;padding:30px 0 15px}.badge-detail h2{font-size:23px;margin:35px 0 15px}.badge-detail p{font-size:13px;color:#99a382}.badge-detail .primary{margin-top:15px}.reading-certificate{position:relative;border:5px double #daba6d;background:linear-gradient(145deg,#fffbdf,#fffef4);padding:25px 18px 35px;text-align:center;outline:2px solid #f4e9c3;outline-offset:5px}.certificate-stars{color:#dbb755;letter-spacing:12px;font-size:20px}.certificate-cup{font-size:73px;display:block;margin:20px 0}.reading-certificate h2{font-size:31px;letter-spacing:7px;color:#a47e35;margin:12px 0 23px}.reading-certificate p{font-size:12px;color:#a6a17f;line-height:2}.reading-certificate>strong{font-size:25px;color:#9c8647;letter-spacing:4px}.certificate-seal{border:3px double #d7ae61;border-radius:50%;width:82px;height:82px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:29px;color:#bc944d;margin:22px auto;transform:rotate(-12deg)}.certificate-seal>small{font-size:9px}.certificate-sign{display:block;font-size:9px;color:#b8ae88;margin-top:27px;letter-spacing:1px}@media(max-width:699px){.garden-door{padding:5px 10px;min-height:47px;gap:5px;border-radius:17px}.garden-door>span{font-size:24px}.garden-door strong{font-size:10px}.garden-door i{font-size:9px;min-width:19px;height:19px}.graded-library .little-world-header{gap:9px}.graded-library .little-logo{font-size:17px;letter-spacing:1px}.achievement-world h1{font-size:21px;letter-spacing:2px}.achievement-layout{grid-template-columns:1fr;padding:5px 20px 45px;gap:20px}.vine-scene{padding:19px 16px 23px;border-radius:29px}.living-vine{max-height:390px}.vine-label>span{font-size:18px}.vine-label strong{font-size:10px}.garden-treasures{gap:21px}.badge-cabinet,.award-cabinet{padding:20px 15px;border-radius:23px}.badge-grid{gap:18px 7px}.earned-medal{width:70px;height:70px}.earned-medal>span{font-size:32px}.award-ticket{padding:15px 4px;min-height:130px}.award-ticket>strong{font-size:10px}.award-ticket>span{font-size:29px}.reading-certificate h2{font-size:27px;letter-spacing:5px}.reading-certificate>strong{font-size:23px}}@media(orientation:landscape) and (max-height:600px){.achievement-layout{grid-template-columns:1fr 1fr;gap:20px;padding:5px 25px 35px}.living-vine{max-height:330px}.badge-grid{max-height:210px}.achievement-world .little-world-header{height:75px}}@media(prefers-reduced-motion:reduce){.badge-item{transition:none}}

/* A single complete shelf for the selected level. */
.shelf-shortcuts button.active{background:#e5edda;border-color:#91a47f;color:#456641;box-shadow:0 2px 0 #c4d0b4}.shelf-shortcuts button{font-family:inherit}.graded-shelves .shelf-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:32px 25px;overflow:visible;scroll-snap-type:none;padding:12px 12px 26px}.shelf-book{width:100%}.shelf-cover{height:auto;aspect-ratio:1.3}.shelf-cover img{min-height:0}.shelf-book>strong{min-height:39px}.shelf-heading-end>span{margin-right:0}@media(max-width:1100px){.graded-shelves .shelf-track{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:850px){.graded-shelves .shelf-track{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:699px){.graded-shelves .shelf-track{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px;padding:10px 8px 24px}.shelf-cover{height:auto;aspect-ratio:1.3}.shelf-shortcuts button>span{display:none}}
.garden-scene-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:13px}.growth-preview-link{min-height:48px;color:#9c915e;padding:10px 14px;border:2px dashed #dcd9b6;border-radius:18px;font-size:12px;background:#fffdf2}.growth-preview{text-align:center}.preview-label{display:block;font-size:10px;letter-spacing:1px;color:#a5ad93}.growth-preview h2{font-size:25px;color:#74945c;margin:15px 0 0;letter-spacing:3px}.preview-vine .living-vine{height:min(40dvh,320px);width:100%;margin:0 auto}.preview-counter{font-size:17px;color:#8a9e6a;font-weight:600}.preview-counter>span{margin-left:20px}.preview-milestones{display:flex;gap:8px;justify-content:center;margin:17px 0}.preview-milestones>span{border-radius:12px;background:#f0f0e5;padding:8px 7px;color:#b8b6a0;font-size:10px}.preview-milestones>span.lit{background:#fff0ba;color:#a48238}.preview-controls{display:flex;justify-content:center;gap:9px;margin-top:18px}.preview-controls button{padding:11px 14px;font-size:11px;min-height:48px}.preview-stages{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;margin:19px 0 0}.preview-stages button{min-width:44px;min-height:44px;border-radius:13px;padding:8px;color:#a3ad92;font-size:10px}.preview-stages button.active{background:#e4edd4;color:#719251}@media(orientation:landscape) and (max-height:600px){dialog:has(.growth-preview){width:min(700px,calc(100% - 30px))}.preview-vine{float:left;width:42%}.preview-vine .living-vine{height:240px}.preview-counter{margin-top:28px}.preview-controls{flex-wrap:wrap}.preview-stages{margin-bottom:10px}.growth-preview:after{content:'';display:block;clear:both}}@media(max-width:360px){.preview-controls{gap:5px}.preview-controls button{font-size:10px;padding:10px}.preview-milestones>span{font-size:9px;padding:7px 5px}}
/* Member settings */
.member-settings h2{font-size:26px;color:#4d6b50;margin:10px 0 24px}.member-avatars{border:0;padding:0;margin:0 0 23px}.member-avatars legend,.member-field{font-size:13px;font-weight:600;color:#62745b}.member-avatars>div{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.member-avatar-option{position:relative;cursor:pointer}.member-avatar-option input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.member-avatar-option>span{display:grid;place-items:center;width:49px;height:49px;font-size:29px;background:#f2eedf;border:2px solid transparent;border-radius:16px}.member-avatar-option input:checked+span{border-color:#6b8b5e;background:#e6efda;box-shadow:0 3px 0 #c9d6bb}.member-avatar-option input:focus-visible+span{outline:3px solid #d48c49;outline-offset:3px}.member-field{display:flex;flex-direction:column;gap:9px;margin:0 0 19px}.member-field input{width:100%;min-width:0;min-height:47px;background:#fffdf6;border:1px solid #dddcc9;border-radius:12px;padding:11px 14px;font-size:14px;font-weight:400;color:#435b43}.member-field input::placeholder{color:#aaa794}.member-age-input{display:flex;align-items:center;gap:12px}.member-age-input>span{font-weight:400;color:#93927f}.member-local-note{font-size:11px;color:#96917d;line-height:1.7;margin:22px 0 17px}.member-save{width:100%;justify-content:center;min-height:47px}@media(max-width:390px){.member-avatars>div{gap:7px}.member-avatar-option>span{width:42px;height:44px;font-size:26px}}
.series-preview li{display:flex;align-items:center;gap:8px}.series-preview li>span{flex:1}.series-preview li em{font-style:normal;font-size:10px;color:#6d9369;background:#e8f0dc;border-radius:12px;padding:3px 8px;white-space:nowrap}.series-preview li.is-locked{color:#a3a291}.series-preview li.is-locked button{font-size:10px;color:#9d7b3f;background:#fff0c6;border-radius:12px;padding:5px 8px;white-space:nowrap}.membership-door{min-height:43px;border-radius:20px;padding:8px 14px;background:#fff0c6;color:#9a7438;border:2px solid #f0d99a;font-size:12px;font-weight:700;white-space:nowrap}.membership-door:hover{background:#ffe6a0}.membership-dialog h2{font-size:26px;color:#4d6b50;margin:10px 0}.membership-lead{font-size:13px;line-height:1.8;color:#858d79}.membership-plan{display:grid;grid-template-columns:1fr auto;gap:5px 10px;background:#fff5d5;border:2px solid #efd99e;border-radius:18px;padding:18px;margin:18px 0}.membership-plan strong{font-size:16px;color:#806535}.membership-plan b{font-size:28px;color:#b17f35}.membership-plan span{grid-column:1/-1;font-size:10px;color:#a79670}.membership-benefits{padding-left:20px;color:#77866a;font-size:12px;line-height:2}.membership-buy{width:100%;justify-content:center;margin-top:10px}.membership-active{color:#5f8b62;font-size:13px;text-align:center;background:#e9f3df;border-radius:12px;padding:12px}

/* Stick the earned reading medal to this book's top-right corner. */
.book-completion-badge{position:absolute;top:8px;right:8px;z-index:4;pointer-events:none;isolation:isolate;transform:rotate(12deg);filter:drop-shadow(0 2px 3px #6d573030)}
.book-completion-badge .earned-medal{width:43px;height:43px;border-width:3px;outline-width:1px;box-shadow:0 3px 0 #d9b16b}
.book-completion-badge .earned-medal>span{font-size:23px}
.book-completion-badge .earned-medal>i{font-size:15px;right:-5px;bottom:-2px}
.book-completion-badge .earned-medal:before,.book-completion-badge .earned-medal:after{top:29px;left:4px;width:12px;height:23px}
.book-completion-badge .earned-medal:after{left:auto;right:4px}
.choice-cover>.book-completion-badge{top:15px;right:15px}
@media(max-width:699px){.book-completion-badge{top:5px;right:5px}.book-completion-badge .earned-medal{width:35px;height:35px}.book-completion-badge .earned-medal>span{font-size:18px}.book-completion-badge .earned-medal:before,.book-completion-badge .earned-medal:after{top:23px;height:19px;width:10px}.book-completion-badge .earned-medal>i{font-size:12px}}

.book-access{position:absolute;top:6px;right:6px;border-radius:12px;padding:4px 8px;background:#fff0c6;color:#87662d;font-size:10px}.book-access.available{background:#e8f0dc;color:#52764d}.series-preview .book-read{font-size:11px;white-space:nowrap;padding:6px 10px;background:#e8f0dc;color:#52764d;border-radius:12px}

/* Animated phonics collections live alongside the graded reading shelves. */
.phonics-shelf{margin:50px 0 32px;padding-top:30px;border-top:2px dashed #dedcc6}.phonics-shelf h2{font-size:23px;color:#526449;margin:7px 0}.phonics-shelf p{font-size:12px;color:#92917f;margin:9px 0}.phonics-total{font-size:11px;color:#92917f;white-space:nowrap}.phonics-collections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;max-width:870px}.phonics-collection{text-align:left;min-width:0;padding:0}.phonics-cover{display:block;position:relative;border:6px solid #fffdf6;border-radius:20px;overflow:hidden;box-shadow:0 6px 0 #e3d8bc}.phonics-cover img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#f2edda}.phonics-cover>span{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#ffedb6;color:#967331;border:3px solid #fffaf1}.phonics-collection>strong{display:block;font-size:16px;color:#4c6047;margin:18px 0 8px}.phonics-collection>small{font-size:11px;color:#99917d}.phonics-collection:hover .phonics-cover{outline:2px solid #b6c39e}.phonics-directory h2,.phonics-player h2{color:#526449;font-size:24px;margin:12px 0}.phonics-directory>p,.phonics-player>p{color:#92917f;font-size:12px;line-height:1.7}.phonics-directory details{margin-top:19px;border-top:1px solid #e6e1d0;padding-top:15px}.phonics-directory summary{cursor:pointer;font-size:15px;color:#627853;font-weight:600}.phonics-directory summary>span{font-size:11px;font-weight:400;margin-left:10px;color:#99917d}.phonics-episodes{display:grid;gap:7px;margin-top:14px;max-height:45dvh;overflow:auto}.phonics-episodes button{display:flex;gap:12px;align-items:center;text-align:left;padding:12px 10px;border-radius:12px;min-height:49px;background:#f1f2e5}.phonics-episodes button:hover{background:#e5ecd7}.phonics-episode-number{font-size:12px;color:#a1ac89}.phonics-episodes strong{flex:1;overflow-wrap:anywhere;color:#5f7051;font-size:13px}.phonics-episodes small{font-size:10px;white-space:nowrap;color:#a38b56}.phonics-player video{width:100%;max-height:60dvh;display:block;background:#171e17;border-radius:13px;margin:18px 0}.phonics-player-nav{display:flex;justify-content:space-between;gap:15px}.phonics-player-nav button:disabled{opacity:.4;cursor:default}dialog:has(.phonics-player){width:min(880px,calc(100% - 30px))}
@media(max-width:699px){.phonics-shelf{margin-top:30px;padding-top:24px}.phonics-shelf .shelf-heading{align-items:start}.phonics-shelf h2{font-size:19px}.phonics-total{font-size:10px}.phonics-collections{gap:15px}.phonics-cover{border-width:4px;border-radius:13px}.phonics-collection>strong{font-size:13px;line-height:1.5;margin:14px 0 5px}.phonics-collection>small{font-size:10px;line-height:1.6}.phonics-cover>span{width:32px;height:32px;font-size:12px;right:7px;bottom:7px}.phonics-directory h2,.phonics-player h2{font-size:20px}}

/* Five peer categories share the same shelf selector. */
.level-dot-fun-phonics{background:#db9a62}.level-dot-alphablocks{background:#72aaba}.graded-shelves>.phonics-shelf{margin-top:10px;padding-top:0;border-top:0}

.phonics-season{margin:25px 0 38px}.phonics-season h3{font-size:20px;color:#526449;margin:0 0 20px}.phonics-season h3 span{font-size:12px;color:#92917f;font-weight:400;margin-left:10px}.phonics-lesson-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px 22px}.phonics-lesson-card{min-width:0;padding:0;text-align:left}.phonics-lesson-card>strong{display:block;font-size:13px;color:#4c6047;margin:14px 0 7px;line-height:1.5;overflow-wrap:anywhere}.phonics-lesson-card>small{font-size:10px;color:#99917d}.phonics-lesson-card .phonics-cover{border-radius:13px;border-width:4px}.phonics-lesson-card .phonics-cover>span{width:30px;height:30px;font-size:12px;right:6px;bottom:6px}.phonics-lesson-card:hover .phonics-cover{outline:2px solid #b6c39e}@media(max-width:1100px){.phonics-lesson-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:850px){.phonics-lesson-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:699px){.phonics-lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 17px}}
