.bio-player{border:1px solid #cdded1;border-radius:16px;background:#f8fbf5;padding:20px;margin:24px 0;color:#234535}.bio-toolbar,.bio-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.bio-toolbar label,.bio-controls label{display:flex;gap:7px;align-items:center;font-size:12px}.bio-toolbar select{max-width:100%;min-width:0}.bio-player button{border:1px solid #b6d2bf;background:white;color:#205b40;border-radius:7px;padding:10px 13px;min-height:44px;font:inherit;font-size:12px}.bio-player button[aria-pressed=true]{background:#205b40;color:white}.bio-stage{overflow:auto;background:#fff;border:1px solid #e0e9df;border-radius:12px;margin:14px 0}.bio-stage svg{display:block;width:100%;max-height:430px;min-width:260px}.bio-stage svg g[role=button]{cursor:pointer}.bio-stage svg g:focus{outline:none;filter:drop-shadow(0 0 4px #db9f16)}.bio-parts{display:flex;flex-wrap:wrap;gap:6px}.bio-detail{min-height:60px;font-size:14px;line-height:1.9;background:#eaf2e5;padding:12px;border-radius:8px}.bio-step{font-size:14px;min-height:50px}.bio-model-note,.bio-player details{font-size:12px;color:#546e5c}.bio-player details a{overflow-wrap:anywhere}.bio-player summary{cursor:pointer;min-height:40px}.bio-expanded .bio-stage svg{min-width:850px;max-height:none}.bio-catalog{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:15px;margin:24px 0}.bio-chapter-card{display:block;padding:22px;border:1px solid #d4e2d2;border-radius:13px;background:white;color:#234535;text-decoration:none}.bio-chapter-card:hover{border-color:#26714d;box-shadow:0 8px 20px #264d3412}.bio-chapter-card small{display:block;color:#68816b;margin:7px 0}.bio-chapter-card strong{display:block;font-size:19px}.bio-topic-list{padding-left:24px;line-height:2.2}.bio-topic-list a{display:inline-block;padding:7px}.bio-atlas-intro{padding:22px;background:#e8f1df;border-radius:14px}.bio-atlas-intro p{font-size:14px}.bio-atlas-picker{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0}.bio-atlas-picker select{max-width:100%;min-height:44px}.bio-page-shell{max-width:1120px}.bio-chapter-actions{display:flex;gap:15px;flex-wrap:wrap;margin:25px 0}.bio-coverage{font-size:12px;color:#64755d}@media(max-width:600px){.bio-player{padding:13px}.bio-toolbar>label:first-child{width:100%;display:block}.bio-toolbar select{width:100%;margin-top:7px}.bio-detail,.bio-step{font-size:13px}.bio-controls button{flex:1 1 40%}.bio-stage svg{max-height:none}.bio-chapter-card{padding:18px}}
.bio-animal-pane{margin:16px 0 22px;background:#fff;border:1px solid #d7e5d7;border-radius:16px;overflow:hidden}.animal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 22px 12px}.animal-heading h3{font-size:27px;margin:3px 0;color:#214c38}.animal-kicker{font-size:11px;color:#647f64}.animal-latin{font:italic 14px Georgia,serif;color:#78917b}.animal-view-tabs{display:flex;gap:8px;padding:0 22px 14px}.animal-view-tabs button{min-width:100px}.animal-scene{height:350px;position:relative;display:grid;place-items:center;overflow:hidden;background:linear-gradient(180deg,#f1f7ed,#fbfcf6)}.animal-scene img{display:block;width:86%;height:85%;object-fit:contain;position:relative;z-index:1;transform-origin:50% 90%;will-change:transform;animation-duration:3.8s;animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-play-state:paused}.is-moving .animal-scene img{animation-play-state:running}.animal-ground{position:absolute;bottom:27px;width:190px;height:12px;background:#75976a25;border-radius:50%;filter:blur(4px)}.animal-caption{padding:15px 22px 20px;border-top:1px solid #e5eddf}.animal-caption p{margin:0 0 12px;line-height:1.9;font-size:14px}.animal-motion-controls{display:flex;flex-wrap:wrap;align-items:center;gap:13px}.animal-motion-label{font-size:12px;color:#5d7963}.animal-caption small{display:block;font-size:10px;color:#728773;margin-top:10px}.bio-animal-pane[data-animal=frog] img{animation-name:animal-hop}.bio-animal-pane[data-animal=grasshopper] img{animation-name:animal-hop;animation-duration:3.2s}.bio-animal-pane[data-animal=hydra] img{animation-name:animal-sway;transform-origin:50% 92%;animation-duration:4.5s}.bio-animal-pane[data-animal=hydra] .animal-ground{width:60px}.bio-animal-pane[data-animal=fish] img{animation-name:animal-swim;animation-duration:5s}.bio-animal-pane[data-animal=fish] .animal-ground{display:none}.bio-animal-pane[data-animal=fish] .animal-scene,.bio-animal-pane[data-animal=hydra] .animal-scene{background:linear-gradient(#eaf6f3,#f6fbef)}.bio-animal-pane[data-animal=cockroach] img{animation-name:animal-walk;animation-duration:4s}.animal-enlarged .animal-scene{height:550px}@keyframes animal-hop{0%,20%,85%,100%{transform:translate(0,0) rotate(0)}30%{transform:translate(-5px,4px) scaleY(.95)}50%{transform:translate(24px,-52px) rotate(-6deg)}65%{transform:translate(38px,-24px) rotate(3deg)}75%{transform:translate(42px,0) scaleY(.96)}}@keyframes animal-sway{0%,100%{transform:rotate(-4deg) skewX(-2deg)}50%{transform:rotate(5deg) skewX(3deg) scaleY(1.025)}}@keyframes animal-swim{0%,100%{transform:translate(24px,0) rotate(-2deg)}50%{transform:translate(-28px,-10px) rotate(2deg)}}@keyframes animal-walk{0%,100%{transform:translate(0,15px) rotate(-2deg)}25%{transform:translate(5px,0) rotate(1deg)}50%{transform:translate(-3px,-22px) rotate(-1deg)}75%{transform:translate(4px,-5px) rotate(2deg)}}@media(max-width:600px){.animal-heading{padding:16px}.animal-view-tabs{padding:0 16px 12px}.animal-heading h3{font-size:24px}.animal-scene{height:280px}.animal-caption{padding:15px}.animal-caption p{font-size:13px}.animal-enlarged .animal-scene{height:410px}.animal-scene img{width:90%}}@media(prefers-reduced-motion:reduce){.animal-scene img{animation:none!important}}
.animal-scene img{position:absolute;top:7.5%;left:7%;width:86%;height:85%;min-width:0;min-height:0}@media(max-width:600px){.animal-scene img{left:5%;width:90%}}
.bio-stage.has-anatomy-art{background:#fffef9}.bio-stage.has-anatomy-art svg{min-width:760px;max-height:none;width:100%;height:auto;aspect-ratio:10 / 7}.bio-expanded .bio-stage.has-anatomy-art svg{min-width:1150px}.anatomy-marker{cursor:pointer}.anatomy-marker:focus .anatomy-halo{stroke:#d38313;stroke-width:5}.anatomy-marker.is-selected .anatomy-halo{filter:drop-shadow(0 0 5px #dda63988)}.anatomy-picture{pointer-events:none}.bio-stage.has-anatomy-art:focus-within{outline:2px solid #c8dcc6;outline-offset:2px}@media(max-width:760px){.bio-stage.has-anatomy-art:before{content:'ছবিটি ডানে–বামে সরিয়ে দেখো · নিচের নামেও চাপ দিতে পারো';display:block;position:sticky;left:0;padding:10px 12px;background:#edf4e8;font-size:11px;color:#43664b;width:100%;box-sizing:border-box}.bio-stage.has-anatomy-art svg{min-width:700px}}
/* Chapter actions as buttons (the practice link is primary, revision secondary). */
.bio-chapter-actions a{display:inline-flex;align-items:center;min-height:44px;padding:9px 18px;border-radius:10px;border:1px solid var(--line,#e0e8e2);background:#fff;color:#18765c;text-decoration:none;font-weight:600}
.bio-chapter-actions a.primary{background:#18765c;border-color:#18765c;color:#fff}
.bio-chapter-actions a:hover{border-color:#18765c}
