@charset "UTF-8";
:root{color-scheme:light;--ink:#453b2b;--muted:#91836e;--cream:#f8f1e3;--sage:#52694b;--gold:#e6b765;--atlas:url("assets/cover-atlas.png");font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 16%,#fffaf0 0,#f5efdf 65%,#eae4d3 100%);color:var(--ink)}button,input{font:inherit}button{cursor:pointer}button,a,input{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #c7933c;outline-offset:5px}button:disabled{cursor:default;opacity:.45}[hidden]{display:none!important}svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button svg{pointer-events:none}.skip-link{position:fixed;top:-60px;left:16px;background:white;padding:12px;z-index:20}.skip-link:focus{top:12px}.site-header{max-width:1380px;margin:auto;padding:24px 4.5% 18px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font:700 21px Georgia,"KaiTi",serif;letter-spacing:2px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border:1px solid #b4b891;border-radius:14px;background:#e5e8d5;color:#596b43;box-shadow:inset 0 1px 1px #fff}.brand-mark svg{width:26px;height:26px}.brand small{display:block;font:10px/1.5 "Microsoft YaHei",sans-serif;letter-spacing:2px;color:#9b907c;margin-top:5px}.import-button{display:flex;gap:9px;align-items:center;background:#fffaf0c9;border:1px solid #d9d0ba;border-radius:24px;padding:10px 16px;font-size:13px;box-shadow:0 2px 3px #6e59300a}.import-button:hover{background:#fffdf6;border-color:#a7af8e}.local-tag{font-size:10px;color:#85926e;padding-left:8px;border-left:1px solid #ddd6c3}.library-heading{text-align:center;position:relative;padding:13px 12px 29px}.eyebrow{font-size:11px;letter-spacing:4px;color:#9c8b67;margin:0 0 9px}.library-heading h1{font:700 clamp(25px,3.1vw,40px)/1.5 "STKaiti","KaiTi","Songti SC",serif;letter-spacing:3px;margin:0}.library-heading h1 span{color:#b49b5c}.heading-note{font-size:12px;letter-spacing:1px;color:#998c76;margin:10px 0 0}.heading-star{position:absolute;left:calc(50% - 265px);top:40px;color:#d6b56d;font-size:26px;transform:rotate(-10deg)}.library{max-width:1240px;margin:0 auto;padding:0 28px}.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 30px 15px;background:linear-gradient(#e4c89c,#d3ad77);border:1px solid #c49a60;border-bottom:0;border-radius:34px 34px 0 0;box-shadow:inset 0 2px 2px #fff5d5,0 12px 30px #644c2826}.library-toolbar h2{display:flex;align-items:center;gap:11px;white-space:nowrap;font:700 20px "KaiTi",serif;margin:0;color:#674a2e;letter-spacing:2px}.library-tools{display:flex;gap:15px;align-items:center}.search{display:flex;gap:8px;align-items:center;background:#fbf4e6bd;box-shadow:inset 0 1px 4px #96724030;border:1px solid #a87e4c47;border-radius:20px;padding:7px 12px;color:#9b8b70}.search svg{width:16px;height:16px}.search input{width:150px;border:0;background:transparent;font-size:11px;color:#6e573d;outline-offset:8px}.search input::placeholder{color:#a5967e}.filters{display:flex;padding:3px;background:#c3a06c80;border-radius:18px;gap:3px}.filters button{border:0;background:none;font-size:11px;border-radius:14px;padding:7px 13px;color:#725537;white-space:nowrap}.filters button[aria-pressed="true"]{background:var(--sage);color:#fff9e8;box-shadow:0 2px 4px #5a4d3540}.wood-cabinet{position:relative;border:13px solid #b98c53;border-top:0;border-radius:0 0 17px 17px;background:#6b4727;box-shadow:inset 0 0 0 2px #f5d8a05c,inset 8px 0 14px #41290a80,inset -8px 0 14px #41290a80,0 13px 30px #6d512a29}.wood-cabinet:before,.wood-cabinet:after{content:"";position:absolute;top:0;bottom:0;width:6px;pointer-events:none;background:linear-gradient(90deg,#f3d3a877,#7b542200,#f3d3a833);z-index:2}.wood-cabinet:before{left:-10px}.wood-cabinet:after{right:-10px}.shelf-row{position:relative;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3%;align-items:end;padding:21px 3.8% 20px;background:repeating-linear-gradient(0deg,#fff5d503 0 1px,transparent 1px 5px),linear-gradient(90deg,#694120,#b1844d 12%,#aa7a41 75%,#67441f);box-shadow:inset 0 16px 22px -14px #2c1d0ec4,inset 0 -20px 25px -20px #37220a}
.shelf-row:after{content:"";position:absolute;bottom:0;left:0;right:0;height:15px;background:repeating-linear-gradient(0deg,#79502233 0 1px,transparent 1px 4px),linear-gradient(#dfb37c,#b4854f 33%,#ab7a42 55%,#906331);border-top:2px solid #edc690;box-shadow:0 6px 8px #231a0c6b;z-index:3}.story-book{position:relative;display:block;width:100%;aspect-ratio:3/4.06;border:0;padding:0;background:transparent;text-align:left;transform-style:preserve-3d;perspective:1000px;z-index:1;transition:transform .3s,filter .3s}.story-book:hover,.story-book:focus-visible{z-index:4;transform:translateY(-9px) scale(1.035)}.book-object{height:100%;width:100%;position:relative;transform:rotateY(-7deg);transform-origin:left;transition:transform .35s;border-radius:3px 5px 4px 2px;box-shadow:5px 5px 8px #241b0bb0,1px 0 0 #ebe0c1,3px 0 0 #c5b692,5px 0 0 #f2e6c6,7px 0 0 #74572d;isolation:isolate}.story-book:hover .book-object{transform:rotateY(-1deg)}.cover-art{background-image:var(--atlas);background-size:700% 300%;background-position:var(--cover-x) var(--cover-y);background-repeat:no-repeat}.book-art{position:absolute;inset:0;overflow:hidden;border-radius:3px 4px 3px 1px;background-color:#586644}.book-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0c14024d,transparent 7%,#fff4cb30 10%,transparent 14%,transparent 94%,#20180930),linear-gradient(#0f1d2c82 0,transparent 35%);box-shadow:inset 0 0 0 1px #fff7d544,inset 3px 0 2px #101c1b5c}.book-title{position:absolute;left:12%;right:7%;top:7%;text-align:center;font:700 clamp(11px,1.25vw,17px)/1.35 "KaiTi","Songti SC",serif;letter-spacing:1px;color:#fff7d8;text-shadow:0 1px 4px #14231bc7;z-index:2}.book-bottom-label{position:absolute;bottom:5%;left:10%;right:5%;color:#fff4caab;letter-spacing:2px;text-align:center;font:6px Georgia;z-index:2}.story-book.featured .book-object{box-shadow:0 0 0 2px #efc16f,0 0 13px #ffcf68b0,7px 6px 10px #241b0bb0}.book-badge{position:absolute;z-index:5;bottom:-8px;left:50%;transform:translateX(-50%);border:1px solid #ffe4a0;background:linear-gradient(#ffe7a1,#edc575);box-shadow:0 3px 7px #66441366;padding:5px 13px;white-space:nowrap;border-radius:12px;color:#785424;font-size:10px;letter-spacing:1px}.read-dot{position:absolute;top:5px;right:5px;background:#e8d1a3;border-radius:100%;width:6px;height:6px;z-index:3}.cabinet-base{height:37px;display:flex;align-items:center;justify-content:center;gap:15px;background:linear-gradient(#ad7e47,#bf965c);color:#f7dbb45c;font:8px Georgia;letter-spacing:3px}.cabinet-base i{height:1px;width:48px;background:#ebc99440}.library-footer{display:flex;justify-content:space-between;align-items:center;max-width:1220px;margin:auto;padding:12px 30px 24px;gap:12px;font-size:10px;color:#a1937b}.library-footer button{padding:0;border:0;background:none;color:#717750;font-size:inherit}.library-footer p{margin:0;line-height:1.8}.tiny-star{color:#bca16a;margin-right:8px}.empty-shelf{min-height:220px;text-align:center;padding:40px;color:#f3e5cb}.empty-shelf svg{width:36px;height:36px}.empty-shelf h3{font:22px "KaiTi",serif}.empty-shelf p{font-size:12px}.empty-shelf button{border:1px solid #d9c39d;border-radius:20px;background:#f8eed8;padding:9px 18px;font-size:12px}
.theater{border:0;padding:0;max-width:none;max-height:none;width:100%;height:calc(var(--kid-vh,1vh) * 100);inset:0;margin:0;background:#1d201b;color:#f7e9cb;overflow:hidden}.theater::backdrop{background:#151b16dc;backdrop-filter:blur(9px)}body.reading{overflow:hidden}.stage{width:100%;height:100%;position:relative;background:radial-gradient(ellipse at 50% 52%,#5a5034aa 0,#23281f88 50%,#151b18f0 100%);isolation:isolate}.stage:after{position:absolute;inset:0;content:"";background:radial-gradient(ellipse at 50% 60%,transparent 45%,#060e0b66);pointer-events:none;z-index:-1}.stage-header{position:relative;z-index:10;height:92px;padding:21px 3.3%;display:flex;align-items:center;justify-content:space-between;gap:16px}.stage-heading{position:absolute;left:50%;transform:translateX(-50%);text-align:center;max-width:35%;pointer-events:none}.stage-heading h2{margin:4px 0 0;font:22px "KaiTi",serif;letter-spacing:3px}.stage-eyebrow{color:#c8b58a;font-size:9px;letter-spacing:4px}.glass-button{display:flex;align-items:center;justify-content:center;gap:9px;background:#29302bcc;border:1px solid #c6c7b34d;border-radius:24px;color:#f6eddb;padding:11px 16px;box-shadow:inset 0 1px 1px #ffffff14;font-size:12px;backdrop-filter:blur(8px);transition:background .2s}.glass-button:hover{background:#46503ae8}.stage-header-actions{display:flex;gap:10px}.scene{position:absolute;inset:92px 0 0;--projection-width:min(66vw,900px,calc((calc(var(--kid-vh,1vh) * 100) - 310px)*1.777778));perspective:1400px}.ambient-shelves{position:absolute;inset:-92px 0 -4%;filter:blur(7px);opacity:.28;z-index:-3;background:linear-gradient(90deg,#282a1d,#3a3a25 20%,#555037 50%,#403921 80%,#232a1a);overflow:hidden}.ambient-shelves div{height:31%;position:relative;border-bottom:15px solid #8f7044;margin-top:1.5%;background:repeating-linear-gradient(90deg,#786d46 0 3%,#3f5543 3% 6%,#ac8c59 6% 7%,#3a4551 7% 11%,#92774e 11% 14%,#424b38 14% 18%);box-shadow:inset 0 35px 24px #0b130ba3,inset 0 -35px 24px #0b130b99}.tabletop{position:absolute;inset:auto -5% -22%;height:50%;background:repeating-linear-gradient(2deg,#ffe9ad05 0 2px,transparent 2px 13px),linear-gradient(0deg,#694c2f,#bd925a);transform:perspective(400px) rotateX(25deg);box-shadow:0 -12px 25px #1c180d40;z-index:-1}.book-rig{position:absolute;left:50%;bottom:2.8%;width:min(69vw,830px);height:min(34vw,370px);transform:translateX(-50%) perspective(1300px) rotateX(58deg) rotateZ(-1deg) scale(.74);transform-style:preserve-3d;transition:transform 1.25s cubic-bezier(.25,.7,.2,1),opacity .5s;filter:drop-shadow(0 28px 16px #110e0bc7)}.stage.is-open .book-rig{transform:translateX(-50%) perspective(1300px) rotateX(58deg) rotateZ(-1deg) scale(1)}.book-base{position:absolute;inset:-5px -10px;background:#192d38;border:3px solid #9a7e49;border-radius:10px;transform:translateZ(-12px);box-shadow:0 8px 0 #12252b,0 12px 0 #806236}.right-pages,.left-pages{position:absolute;inset:0;background:repeating-linear-gradient(0deg,#dece9f 0 1px,#f0e2bb 1px 3px);border-radius:4px 12px 8px 4px;box-shadow:0 2px #d8c597,0 4px #eddbaf,0 6px #d4bd8a,0 8px #eddbaf,0 10px #bda573;transform-style:preserve-3d}.right-pages{left:50%;background:linear-gradient(90deg,#b8a578,#eee0b6 8%,#faf0d2 45%,#eee2bd 94%,#c6b58e)}.left-wing{position:absolute;left:0;top:0;width:50%;height:100%;transform-origin:right center;transform:rotateY(180deg);transform-style:preserve-3d;transition:transform 1.3s cubic-bezier(.25,.7,.2,1)}.stage.is-open .left-wing{transform:rotateY(0deg)}.left-pages{background:linear-gradient(90deg,#c6b58e,#f5e8c5 7%,#fcf2d3 65%,#eadbb1 93%,#a5936c);backface-visibility:hidden}.outer-cover{position:absolute;inset:-6px;background-color:#243942;transform:rotateY(180deg) translateZ(4px);border:5px solid #243942;border-radius:7px;outline:1px solid #a38952;backface-visibility:hidden}.book-gutter{position:absolute;left:calc(50% - 3px);width:6px;top:0;height:100%;background:linear-gradient(90deg,#89764b,#c6b389,#645a3d);transform:translateZ(1px)}.page-print{position:absolute;inset:0;text-align:center;padding:14% 7% 6%;backface-visibility:hidden;color:#7c6c46;overflow:hidden}.page-print>span{font:11px Georgia;letter-spacing:3px;color:#a78c50}.page-print h3{font:32px "KaiTi",serif;margin:10% 0 3%;letter-spacing:5px}.page-print p{font:14px/1.8 "KaiTi",serif;margin:5% 0}.page-print small{position:absolute;bottom:6%;left:50%;font:10px Georgia;color:#a99a74}.page-divider{color:#ac945c;letter-spacing:5px;font-size:13px}.page-rose{font-size:80px;line-height:1;color:#bda057;margin:9% auto 0;text-shadow:3px 4px 0 #dfd0a7}.projection-housing{position:absolute;top:3%;left:50%;bottom:18%;width:var(--projection-width);transform:translateX(-50%);z-index:2;pointer-events:none}.projection-frame{width:100%;border:1px solid #fff0a4;border-radius:15px;overflow:hidden;box-shadow:0 0 3px 1px #fff9c2,0 0 12px 3px #f9c56786,0 0 40px #ffc97142,0 15px 60px #090e0b99;position:relative;transform:translateY(70px) scale(.88);opacity:0;transition:opacity .65s .65s,transform .8s .5s;background:#10202b;pointer-events:auto}.stage.projecting .projection-frame{opacity:1;transform:translateY(0) scale(1)}.media-area{position:relative;aspect-ratio:16/9;background:#142330;overflow:hidden}.media-area video{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:contain;background:#0b1721}.source-badge{position:absolute;top:13px;left:13px;background:#16212399;border:1px solid #efe0b52b;padding:5px 9px;color:#f2e7cebf;border-radius:12px;font-size:9px;letter-spacing:1px;pointer-events:none}.video-controls{position:relative;display:flex;gap:13px;align-items:center;height:48px;padding:0 18px;background:#19222bd9;color:#fff0d3;border-top:1px solid #e6d49926}.control-button{border:0;background:transparent;padding:6px 3px;color:#f9eacb;display:grid;place-items:center}.control-button:hover{color:#f3c575}.control-button svg{width:19px;height:19px}.time{font:11px/1.3 Georgia,serif;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:.4px}input[type=range]{accent-color:#e8c375;cursor:pointer;height:4px;min-width:20px;flex:1;touch-action:pan-y}.light-beam{position:absolute;left:-3%;right:-3%;top:calc(var(--projection-width)*.5625 + 35px);bottom:-10%;clip-path:polygon(0 0,100% 0,51% 100%,49% 100%);background:linear-gradient(180deg,#eac47e04,#ffd98b2e 55%,#ffdc9880);opacity:0;filter:blur(2px);transition:opacity .8s .45s;z-index:-1}.light-beam:before{content:"";position:absolute;inset:0;background:repeating-conic-gradient(from 274deg at 50% 100%,transparent 0 3deg,#ffefb82e 4deg 4.7deg,transparent 5.5deg 9deg)}.light-source{position:absolute;bottom:-12%;left:50%;width:55%;height:80px;background:radial-gradient(ellipse,#fff8cd 0,#ffe2a570 20%,#fdd17420 50%,transparent 70%);transform:translateX(-50%);opacity:0;transition:opacity .8s .5s;filter:blur(5px)}.stage.projecting .light-source,.stage.projecting .light-beam{opacity:1}.dust{position:absolute;top:40%;left:0;right:0;bottom:-3%;opacity:0;transition:opacity .6s 1s;pointer-events:none}.stage.projecting .dust{opacity:1}.dust i{width:3px;height:3px;background:#ffe6a4;position:absolute;left:20%;top:90%;border-radius:50%;box-shadow:0 0 7px #ffd377;animation:drift 6s ease-in-out infinite}.dust i:nth-child(2){left:73%;animation-delay:-1.5s}.dust i:nth-child(3){left:61%;animation-delay:-3s}.dust i:nth-child(4){left:35%;animation-delay:-4.8s}.dust i:nth-child(5){left:47%;animation-delay:-2s}.dust i:nth-child(6){left:81%;animation-delay:-4s}.dust i:nth-child(7){left:12%;animation-delay:-.5s}.dust i:nth-child(8){left:55%;animation-delay:-5s}@keyframes drift{0%{opacity:0;transform:translate(0,5px)}20%,70%{opacity:.8}100%{opacity:0;transform:translate(15px,-140px)}}.stage-bottom{position:absolute;bottom:3.3%;left:3.3%;right:3.3%;display:flex;align-items:center;justify-content:space-between;gap:15px;z-index:6}.stage-bottom>p{font-size:10px;letter-spacing:1px;color:#dac7a7b5;position:absolute;left:50%;bottom:-7px;transform:translateX(-50%);white-space:nowrap;pointer-events:none}.cream-button{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #fff4d1;background:linear-gradient(#fff8e6,#f2e2bd);border-radius:19px;color:#543d25;padding:13px 20px;font-size:13px;box-shadow:0 4px 12px #120e0659,inset 0 1px #fff}.cream-button:hover{background:#fff8e6}.enlarge-button{font-weight:700;letter-spacing:1px;padding:15px 24px;font-size:15px}.enlarge-button svg{width:24px;height:24px}.replace-video{font-size:11px;background:#292a21aa}.center-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #fff1cf99;width:66px;height:66px;border-radius:50%;background:#13232c8f;backdrop-filter:blur(7px);display:grid;place-items:center;color:#fff6d9}.center-play svg{width:30px;height:30px}.media-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:#13232ccc;font-size:12px;z-index:4}.media-loading>span{width:24px;height:24px;border:2px solid #f4e4b633;border-top-color:#ead4a0;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.cover-preview{position:absolute;inset:0;background:#22302c;display:flex;justify-content:center;align-items:center;overflow:hidden}.cover-preview-art{position:absolute;left:31%;top:-24%;width:38%;aspect-ratio:3/4;opacity:.75;transform:scale(1.7);filter:blur(1px)}.cover-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,#17231dd1)}.cover-preview-caption{position:absolute;z-index:1;left:10%;right:10%;bottom:14%;display:flex;flex-direction:column;align-items:center;gap:20px}.cover-preview-caption>span{font:24px "KaiTi",serif;letter-spacing:3px;color:#fff3d1}.cover-preview-caption button{font-size:11px;padding:10px 16px}.stage.expanded{background:#0a1420}.stage.expanded .stage-header{background:linear-gradient(#091420,#0a142000)}.stage.expanded .stage-heading{left:21%;max-width:30%;text-align:left}.stage.expanded .stage-heading h2{font:18px "KaiTi",serif}.stage.expanded #back-shelf{visibility:hidden}.stage.expanded .stage-eyebrow{display:none}.stage.expanded .scene{inset:92px 0 0}.stage.expanded .projection-housing{top:0;bottom:70px;left:3%;width:94%;transform:none}.stage.expanded .projection-frame{height:100%;box-shadow:none;border-color:#d2b57433;border-radius:10px;display:flex;flex-direction:column;transition:none;opacity:1;transform:none}.stage.expanded .media-area{aspect-ratio:auto;flex:1;min-height:0}.stage.expanded .video-controls{height:52px;flex-shrink:0}.stage.expanded .book-rig,.stage.expanded .light-beam,.stage.expanded .light-source,.stage.expanded .dust,.stage.expanded .tabletop,.stage.expanded .ambient-shelves{display:none}.stage.expanded .enlarge-button{display:none}.stage.expanded .stage-bottom{bottom:15px}.stage.expanded .replace-video{padding:8px 15px}.stage.expanded .stage-bottom>p{bottom:0}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);border:1px solid #ead5a47a;border-radius:14px;padding:12px 20px;max-width:min(90vw,520px);background:#364132f2;color:#fff2d8;font-size:12px;line-height:1.6;z-index:2147483647;box-shadow:0 4px 20px #1116;pointer-events:none}.projection-frame:fullscreen{display:flex;flex-direction:column;border:0;border-radius:0;background:#060d14}.projection-frame:fullscreen .media-area{flex:1;aspect-ratio:auto;min-height:0}.projection-frame:fullscreen .video-controls{height:55px;flex-shrink:0}.projection-frame:fullscreen .control-button:last-child{color:#e8bd74}
.book-object{display:block}.story-book.featured,.story-book.published{z-index:4}
/* Keep focus changes from scrolling the full-screen dialog past its exit controls. */
.theater{overflow:clip}
.cover-art{background-image:var(--story-poster,var(--atlas));background-size:var(--cover-size,700% 300%);background-position:var(--poster-position,var(--cover-x) var(--cover-y))}.story-book.published .book-object{box-shadow:0 0 0 1px #edd19a,5px 5px 8px #241b0bb0,3px 0 #ead9af}.story-book.published .book-title{left:9%;right:7%;text-shadow:0 1px 4px #14231b,0 1px 9px #14231b}.book-bottom-label{font-size:8px;letter-spacing:1px}#page-line{white-space:pre-line}
.source-audio{position:absolute;right:12px;top:12px;display:flex;align-items:center;gap:6px;padding:7px 10px;background:#fff4d9ed;border:1px solid #e7ce94;border-radius:18px;font-size:11px;color:#59452a;box-shadow:0 2px 6px #10212a40}.source-audio svg{width:16px;height:16px}.source-badge{max-width:calc(100% - 130px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.story-book.published .book-badge{transform:translateX(-50%) translateZ(24px)}
@media(max-width:620px){.library-tools{gap:6px}.filters button{padding-inline:9px}.search input{font-size:10px}.source-audio{font-size:10px;padding:6px 8px;right:9px;top:9px}.source-audio svg{width:15px;height:15px}.source-badge{max-width:calc(100% - 112px)}}
@media(min-width:1550px){.library{max-width:1320px}.site-header{max-width:1450px}.library-heading{padding-bottom:35px}.shelf-row{padding-top:25px;padding-bottom:25px}.library-footer{max-width:1300px}}
@media(max-width:900px){.library-toolbar{padding:15px 22px}.library-toolbar h2{font-size:18px}.library-tools{gap:8px}.search input{width:100px}.filters button{padding:7px 10px}.library{padding:0 18px}.shelf-row{gap:3%;padding:19px 3.5% 20px}.wood-cabinet{border-width:10px}.book-title{font-size:12px;letter-spacing:0}.library-footer{padding:14px 22px 22px}.library-footer p:last-child{max-width:44%;text-align:right}.scene{--projection-width:min(82vw,calc((calc(var(--kid-vh,1vh) * 100) - 295px)*1.777778))}.book-rig{width:86vw;height:42vw;max-height:340px;bottom:5%}.projection-housing{bottom:23%}.stage-heading{max-width:28%}.stage-heading h2{font-size:19px}.stage-bottom>p{bottom:54px;font-size:9px}.stage-bottom{bottom:3%}.stage.expanded .stage-heading{left:23%}.stage.expanded .stage-bottom>p{bottom:0;font-size:9px;left:auto;right:0;transform:none}.stage-header{padding-left:3%;padding-right:3%}}
@media(max-width:620px){.site-header{padding:19px 20px}.brand{font-size:18px;letter-spacing:1px;gap:9px}.brand-mark{width:37px;height:37px;border-radius:12px}.brand small{font-size:8px;letter-spacing:1px}.import-button{font-size:10px;padding:9px 11px;gap:6px}.import-button svg{width:16px;height:16px}.local-tag{display:none}.library-heading{padding:19px 12px 25px}.eyebrow{font-size:9px;letter-spacing:2px}.library-heading h1{font-size:25px;letter-spacing:1px}.heading-note{font-size:10px}.heading-star{display:none}.library{padding:0 12px}.library-toolbar{padding:16px 15px 13px;flex-wrap:wrap;gap:14px;border-radius:25px 25px 0 0}.library-toolbar h2{font-size:20px}.library-tools{width:100%;justify-content:space-between}.search{flex:1;padding:8px 10px}.search input{width:100%;min-width:0}.filters{flex-shrink:0}.shelf-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:7%;padding:24px 7% 23px}.wood-cabinet{border-width:9px}.book-title{font-size:15px}.book-bottom-label{font-size:6px}.book-badge{font-size:9px;padding:4px 12px}.cabinet-base{font-size:6px;height:29px;letter-spacing:2px}.library-footer{padding:14px 18px 24px;flex-direction:column;gap:7px}.library-footer p:last-child{max-width:none;text-align:center;font-size:9px}.stage-header{height:84px;align-items:flex-start;padding:17px 14px}.stage-heading{top:69px;max-width:70%;z-index:2}.stage-heading h2{font-size:22px}.stage-eyebrow{font-size:8px;letter-spacing:2px}.glass-button{font-size:11px;padding:10px 12px;gap:5px}.glass-button svg{width:17px;height:17px}.stage-header-actions{gap:6px}.scene{inset:127px 0 0;--projection-width:91vw}.projection-housing{top:7%;bottom:27%}.projection-frame{border-radius:10px}.video-controls{height:43px;padding:0 11px;gap:9px}.time{font-size:9px;letter-spacing:0}.control-button svg{width:17px;height:17px}.book-rig{width:94vw;height:52vw;bottom:18%;transform:translateX(-50%) perspective(1000px) rotateX(52deg) scale(.7)}.stage.is-open .book-rig{transform:translateX(-50%) perspective(1000px) rotateX(52deg) scale(1)}.light-beam{top:calc(var(--projection-width)*.5625 + 31px);bottom:0}.light-source{bottom:-4%}.page-print>span{font-size:7px;letter-spacing:2px}.page-print h3{font-size:23px}.page-print p{font-size:9px}.page-divider{font-size:9px}.page-rose{font-size:45px}.page-print small{font-size:8px}.stage-bottom{bottom:5%;left:4%;right:4%;gap:10px;align-items:center}.enlarge-button{font-size:13px;padding:13px 17px;border-radius:16px}.enlarge-button svg{width:20px;height:20px}.replace-video{font-size:10px;padding:11px 12px}.stage-bottom>p{bottom:-34px;max-width:90vw;font-size:8px;letter-spacing:0}.source-badge{font-size:8px;top:10px;left:10px}.stage.expanded .scene{inset:125px 0 0}.stage.expanded .stage-heading{top:85px;left:50%;max-width:90%;text-align:center}.stage.expanded .projection-housing{left:0;width:100%;bottom:100px}.stage.expanded .projection-frame{border:0;border-radius:0}.stage.expanded .stage-bottom{bottom:50px}.stage.expanded .stage-bottom>p{bottom:-31px;right:auto;left:0;font-size:8px}.cover-preview-caption>span{font-size:20px}.cover-preview-caption{gap:14px}.cover-preview-caption button{padding:8px 13px;font-size:10px}}
@media(max-height:590px) and (min-width:621px){.stage-header{height:67px;padding-top:12px;padding-bottom:12px}.scene{inset:67px 0 0;--projection-width:min(57vw,calc((calc(var(--kid-vh,1vh) * 100) - 190px)*1.777778))}.projection-housing{top:1%;bottom:24%}.book-rig{width:55vw;max-width:600px;height:27vw;max-height:230px;bottom:0}.stage-bottom{bottom:12px}.stage-bottom>p{bottom:40px}.stage.expanded .scene{inset:67px 0 0}.stage.expanded .projection-housing{bottom:56px}.stage.expanded .stage-bottom{bottom:10px}.video-controls{height:36px}.stage.expanded .stage-bottom>p{bottom:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition-duration:.01ms!important;transition-delay:0s!important;scroll-behavior:auto!important}}
@media(min-width:621px) and (min-height:591px){.scene{--projection-width:min(68vw,900px,calc((calc(var(--kid-vh,1vh) * 100) - 390px)*1.777778))}.book-rig{width:min(62vw,740px);height:min(28vw,290px);bottom:-2%}}
@media(min-width:621px) and (max-width:900px) and (min-height:591px){.scene{--projection-width:min(78vw,calc((calc(var(--kid-vh,1vh) * 100) - 385px)*1.777778))}.book-rig{width:72vw;height:28vw;bottom:-2%}.projection-housing{bottom:18%}}
@media(max-width:620px){.book-rig{width:80vw;height:44vw}}
.stage.closing .projection-frame{opacity:0;transform:translateY(35px) scale(.94);transition:opacity .2s,transform .3s}.stage.closing .light-beam,.stage.closing .light-source,.stage.closing .dust{opacity:0;transition:opacity .18s}.stage.closing .left-wing{transition-duration:.45s}
@media(min-width:901px) and (min-height:591px){.book-rig{height:min(22vw,230px);bottom:1%}}
#source-note{color:#f5e5c7d9;background:#222d22b5;border-radius:10px;padding:4px 8px;max-width:43%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stage.expanded #source-note{background:transparent}
@media(max-width:900px){#source-note{max-width:85%;font-size:9px}}
.room-header-actions{display:flex;align-items:center;gap:12px}.return-island{display:flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;color:#657453;white-space:nowrap;font-size:12px;min-height:42px;padding:9px 12px;border:1px solid #d6d3be;border-radius:24px;background:#fffaf0a8}.return-island:hover{background:#fffdf5}.return-island svg{width:17px;height:17px}
@media(max-width:620px){.room-header-actions{gap:7px}.return-island{font-size:10px;padding:8px 9px;gap:4px;min-height:36px}.return-island svg{width:15px;height:15px}.site-header{padding-inline:14px}.brand{font-size:17px}}
@media(max-width:380px){#import-library .import-label{display:none}#import-library{width:36px;height:36px;justify-content:center;padding:8px}.brand{font-size:16px}.brand small{font-size:7px}}
@media(min-width:901px) and (max-height:820px){.site-header{padding-top:12px;padding-bottom:12px}.library-heading{padding:5px 12px 15px}.library-heading .eyebrow{display:none}.library-heading h1{font-size:30px;line-height:1.3}.library-heading .heading-note{font-size:10px;margin-top:8px}.heading-star{top:11px;left:calc(50% - 225px);font-size:20px}.library{max-width:1120px}.library-toolbar{padding:12px 24px}.shelf-row{padding-top:13px;padding-bottom:18px}.story-book{height:clamp(94px,calc((calc(var(--kid-vh,1vh) * 100) - 357px)/3),154px);width:auto;max-width:100%;aspect-ratio:3/4.06;justify-self:center}.book-title{font-size:13px}.book-badge{font-size:9px;padding:4px 12px}.cabinet-base{height:25px}.library-footer{max-width:1110px;padding-top:10px;padding-bottom:12px;font-size:9px}}

body[data-platform=true] .site-header{position:relative;padding-left:126px}body[data-platform=true] #return-island{position:absolute;top:12px;left:12px;min-height:48px}

.book-badge.unavailable{background:#746c58;color:#fff6df}.story-book[aria-disabled="true"]{cursor:default}
