body.science-picker,body.science-reading{background:#080808;color:#fff;overflow:visible;height:auto;min-height:100dvh}
body.science-picker .wonder-footer,body.science-reading .wonder-footer{display:none}
body.science-picker .wonder-header,body.science-reading .wonder-header{background:#101010;border-bottom:1px solid #98815a}
.science-shelf,.science-full{box-sizing:border-box;width:min(57rem,94%);margin:0 auto}
.science-shelf{padding:clamp(.5rem,2vh,1.5rem) 0}
.science-shelf h1{color:#fff;font:400 clamp(1.65rem,6vw,2.8rem)/1.15 Georgia,serif;margin:0 0 .55rem}
.science-pages{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.6rem}
.science-pages button{padding:.35rem 1rem;min-height:44px;background:#121212;color:#fff;border:1px solid #888;border-radius:.25rem;font:600 1rem system-ui,sans-serif}
.science-pages button[aria-pressed=true]{border-color:#eee;background:#eee;color:#111}
.science-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}
.science-title{display:flex;align-items:center;padding:clamp(.36rem,1.1vw,.75rem);min-height:clamp(3.1rem,8.6dvh,5.15rem);background:#161616;border:1px solid #666;color:#fff;text-decoration:none;overflow-wrap:anywhere;font:400 clamp(.86rem,3vw,1.18rem)/1.24 Georgia,serif}
.science-title:focus-visible,.science-title:hover{outline:2px solid white;outline-offset:1px}
@media(min-width:740px){.science-panel{grid-template-columns:repeat(4,minmax(0,1fr))}}
.science-full{padding:0;max-width:54rem}
body.science-reading .science-full .reading-panel{padding:clamp(1rem,5vw,3.3rem);height:auto;display:block;overflow:visible;margin:0;border:none;border-inline:1px solid #98815a;border-radius:0;background:#0c0c0c;box-shadow:none;color:#eee}
body.science-reading .science-full .reading-panel :is(h1,h2,h3,p,li,a,summary,blockquote,figcaption,dt,dd,th,td,.meta,.eyebrow){color:#fff!important}
body.science-reading .science-full .reader-toolbar{padding:.6rem 0;display:flex;flex-wrap:wrap;gap:.5rem;background:transparent;box-shadow:none;border-bottom:1px solid #666;margin:0 0 1.3rem}
body.science-reading .reader-toolbar :is(button,output,.reader-room,.text-size-controls){background:#121212;color:#fff;border-color:#777}
body.science-reading .science-full .reading-panel :is(.poem,.notice,.deeper,.math-details){background:#151515;border-color:#777}
body.science-reading .science-full section.deeper{padding:0;border:none;background:transparent!important}
