@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Cinzel+Decorative:wght@400;700&display=swap');
body.library{background:#030a16!important;color:#e9edf0}.library:before{background:linear-gradient(#030a1622,#030a1666),url('/assets/cosmic-library.webp') center/cover!important;opacity:1!important}.library .living-night{background:transparent}.library .aurora-veil,.library .dream-sky{display:none!important}.library header{background:linear-gradient(#030a16a6,transparent)!important;border-bottom:1px solid #a8b9c51c}.library .brand img{width:210px;height:65px;object-fit:contain}.library .hero.cosmic-hero{display:block;min-height:0;padding:45px 4vw 55px;background:linear-gradient(180deg,#020a1110,#020811bf)!important}.cosmic-heading{text-align:center;max-width:800px;margin:auto}.cosmic-heading h1{margin:-30px auto -32px;line-height:1}.cosmic-heading .destination-lettering{width:500px;max-width:90vw;height:260px;object-fit:contain;filter:drop-shadow(0 4px 15px #000)}.library .cosmic-heading p{max-width:none;font:20px/1.5 'Cormorant Garamond',serif;color:#d8e3eb;text-shadow:0 2px 8px #000}.cosmic-heading .eyebrow{font-size:10px;letter-spacing:.3em;color:#b9cbd5}.cosmic-destinations{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;max-width:1450px;margin:35px auto 20px}.cosmic-destination{position:relative;isolation:isolate;display:flex;align-items:center;flex-direction:column;min-height:280px;text-align:center;padding:20px 8px 15px;border:1px solid #bdd7e647;border-radius:80px 80px 8px 8px;background:linear-gradient(#04101b30,#020810f5),var(--destination) center/cover;box-shadow:inset 0 0 35px #0008,0 10px 25px #0005;color:#eef5f6;overflow:hidden;transition:transform .45s,border-color .45s}.cosmic-destination:hover,.cosmic-destination:focus-visible{transform:translateY(-9px);border-color:var(--glow);box-shadow:0 0 26px color-mix(in srgb,var(--glow) 30%,transparent)}.destination-coordinate{font:8px/1.5 Cinzel,serif;letter-spacing:.13em;color:#d9e6ed;margin:7px 0 14px}.cosmic-destination img{height:110px;width:75px;object-fit:contain;filter:drop-shadow(4px 7px 5px #000);margin-bottom:14px}.library .cosmic-destination h2{font:15px/1.4 'Cinzel Decorative',serif;margin:0 0 10px;color:#fff}.cosmic-destination>span:not(:first-child){font:14px/1.4 'Cormorant Garamond',serif;max-width:150px}.cosmic-destination b{font:8px/1.5 Cinzel,serif;letter-spacing:.14em;margin-top:auto;padding-top:16px;color:#cfdae0}.cosmic-tools{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;font:10px Cinzel,serif}.cosmic-tools button{background:none;border:0;color:#bdcfdb;font:inherit;padding:8px;cursor:pointer}.library .section,.library .reader-circle{background:linear-gradient(110deg,#030a16dc,#07142680,#030a16dc)!important}.library #livros .section-heading>p{background:none!important}.library .cosmic-entrance{background:linear-gradient(#02091755,#020917c9),url('/assets/cosmic-library.webp') center/cover!important;overflow:auto}.cosmic-entrance::before,.cosmic-entrance::after{display:none!important}.cosmic-entrance .wish-message{position:relative;margin:auto;max-width:730px;padding:28px 22px;text-shadow:0 2px 16px #000;animation:cosmic-reveal 1.2s both}.cosmic-entrance .wish-message>span{font-size:10px;letter-spacing:.2em}.cosmic-entrance .wish-message .cosmic-signature{width:300px;height:110px;object-fit:contain;margin:15px auto 0}.cosmic-entrance h2{font:clamp(28px,4vw,52px)/1.25 'Cinzel Decorative',serif;color:#edf1ee;margin:12px 0 20px}.cosmic-entrance .wish-message p{font:19px/1.5 'Cormorant Garamond',serif;color:#c6d7e1}.entry-worlds{display:flex;justify-content:center;gap:20px;margin:28px 0;font:9px Cinzel,serif;letter-spacing:.12em;color:#9bafb9}.cosmic-entrance .portal-skip{background:#0c2537dd;border:1px solid #b8c7cc9c;min-height:50px}.cosmic-entrance .enter-with-sound{min-height:44px;color:#cee5ed}.cosmic-dust{position:absolute;inset:0;overflow:hidden;pointer-events:none}.cosmic-dust i{position:absolute;left:var(--x);top:var(--y);width:3px;height:3px;background:#e3efff;border-radius:50%;box-shadow:0 0 8px 2px #aed8f8;animation:cosmic-drift 9s var(--delay) infinite ease-in-out}.sound-credits{font:11px/1.6 Georgia,serif;max-width:450px;padding:16px;color:#b0bec5}.sound-credits a{text-decoration:underline}.sound-credits summary{cursor:pointer}@keyframes cosmic-drift{0%,100%{opacity:.2;transform:translateY(15px) scale(.5)}50%{opacity:.9;transform:translateY(-15px) scale(1.2)}}@keyframes cosmic-reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:1000px){.cosmic-destinations{grid-template-columns:repeat(4,minmax(0,1fr))}.cosmic-destination{min-height:260px}.cosmic-destination:last-child{grid-column:auto}.library .hero.cosmic-hero{padding-top:30px}}
@media(max-width:600px){.library .brand img{width:145px;height:45px}.library .cosmic-heading .destination-lettering{height:210px;width:350px}.cosmic-heading h1{margin:-20px auto -25px}.library .cosmic-heading p{font-size:18px}.cosmic-destinations{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:26px}.cosmic-destination{min-height:265px;padding:15px 8px}.cosmic-destination:last-child{grid-column:1/-1;max-width:210px;width:100%;justify-self:center}.cosmic-entrance .wish-message{padding:20px;max-width:100%;}.cosmic-entrance .wish-message .cosmic-signature{width:250px;height:90px}.entry-worlds{gap:10px;flex-wrap:wrap;font-size:8px}.cosmic-entrance h2{font-size:29px}.cosmic-entrance .wish-message>span{font-size:8px}.cosmic-entrance .wish-message p{font-size:18px}.cosmic-tools{gap:10px}.library .hero.cosmic-hero{padding:25px 18px 40px}}
@media(prefers-reduced-motion:reduce){.cosmic-dust i,.cosmic-entrance .wish-message{animation:none}.cosmic-destination{transition:none}}.library.magic-paused .cosmic-dust i{animation-play-state:paused}
.library .living-night{background:linear-gradient(#030a1633,#030a1666),url('/assets/cosmic-library.webp') center/cover!important}.library .hero.cosmic-hero{padding-top:125px}.library .cosmic-heading h1{font-size:inherit}.library .cosmic-heading .destination-lettering{display:block;margin:auto;max-height:260px}.library .cosmic-heading p{margin:12px auto 0}.library .cosmic-tools .magic-pause{position:static}.library .hero.cosmic-hero:before,.library .hero.cosmic-hero:after{display:none}
@media(max-width:600px){.library .hero.cosmic-hero{padding-top:110px}.library .cosmic-heading .destination-lettering{height:170px}.cosmic-heading h1{margin:0 auto}}
/* A single destination library, immediately after the editorial ribbon. */
.library .ribbon{margin-top:110px;background:#07101f88}.library #livros{padding-top:42px;background:linear-gradient(#030a1622,#030a16a0)!important}.library #livros .section-heading{display:block;text-align:center}.library #livros .section-heading>div{width:100%}.library #livros .library-illustrated-heading{margin:0 auto;line-height:1}.library #livros .library-illustrated-heading img{display:block;width:min(570px,90vw);height:auto;max-height:260px;object-fit:contain;margin:0 auto}.library #livros .section-heading>p{margin:8px auto 0;max-width:600px}.library #livros .cosmic-tools{margin:-12px auto 34px}.library #livros .eyebrow{line-height:1.8;letter-spacing:.18em}.library header{backdrop-filter:blur(8px)}
@media(max-width:600px){.library .ribbon{margin-top:95px;font-size:8px;gap:10px;padding:15px 8px}.library #livros{padding-top:30px}.library #livros .eyebrow{font-size:9px}.library #livros .library-illustrated-heading img{max-height:180px}.library #livros .cosmic-tools{margin-top:0}}
.sky-book-orbit{position:relative;width:min(540px,90vw);height:145px;margin:0 auto;isolation:isolate;pointer-events:none}.orbiting-cover{position:absolute;left:calc(50% - 34px);top:22px;width:68px;height:102px;animation:book-sky-orbit 28s var(--phase) linear infinite;will-change:transform}.orbiting-cover img{width:68px!important;height:102px!important;object-fit:contain!important;margin:0!important;filter:drop-shadow(0 6px 12px #0009);border-radius:2px;box-shadow:2px 0 0 #b3c1c880}.cosmic-entrance .wish-message .cosmic-signature{height:70px;margin-top:4px}.cosmic-entrance h2{font-size:clamp(25px,3.2vw,39px);margin:8px 0 12px}.cosmic-entrance .wish-message{padding-top:20px;padding-bottom:20px}.cosmic-entrance .entry-worlds{margin:18px 0}.cosmic-entrance .wish-message p{margin:10px auto 15px}
@keyframes book-sky-orbit{0%{transform:translate3d(-205px,3px,0) rotate(-9deg) scale(.85);z-index:3;opacity:.95}25%{transform:translate3d(0,-18px,0) rotate(3deg) scale(.59);z-index:1;opacity:.7}50%{transform:translate3d(205px,3px,0) rotate(9deg) scale(.85);z-index:3;opacity:.95}75%{transform:translate3d(0,22px,0) rotate(-3deg) scale(1.05);z-index:5;opacity:1}100%{transform:translate3d(-205px,3px,0) rotate(-9deg) scale(.85);z-index:3;opacity:.95}}
@media(max-width:600px){.sky-book-orbit{height:125px;width:100%;transform:scale(.72);transform-origin:center center;margin:-8px auto}.cosmic-entrance .wish-message .cosmic-signature{height:60px}.cosmic-entrance h2{font-size:25px}.cosmic-entrance .wish-message>span{font-size:7px;letter-spacing:.12em}.cosmic-entrance .entry-worlds{margin:15px 0}.cosmic-entrance .wish-message p{font-size:17px}.cosmic-entrance .wish-message{padding:16px}}
@media(prefers-reduced-motion:reduce){.orbiting-cover{animation:none;position:relative;left:auto;top:auto;width:36px;height:54px}.orbiting-cover img{width:36px!important;height:54px!important}.sky-book-orbit{display:flex;justify-content:center;align-items:center;gap:6px;height:80px;transform:none;margin:0 auto}}
/* Full-width header background; keep content aligned with the page. */
.library>header{margin-inline:0!important;width:100%!important;max-width:none!important;left:0!important;right:0!important;padding-inline:5%;box-sizing:border-box}
