/* A photographic anatomy exhibit. All effects stay inside the body explorer. */
.body-section{background:radial-gradient(ellipse at 77% 38%,#293b302b,transparent 45%),#0b100f}
.body-section .anatomy-stage{isolation:isolate;perspective:1000px;background:radial-gradient(ellipse at 50% 38%,#c1dac111,transparent 59%)}
.body-section .anatomy-stage:before{content:"";position:absolute;z-index:-1;inset:2% 8% 12%;pointer-events:none;background:radial-gradient(ellipse at 48% 28%,#d5c5a917,transparent 45%),radial-gradient(ellipse at 60% 56%,#8abfaa14,transparent 56%);filter:blur(20px)}
.body-section .anatomy-stage:after{content:"";position:absolute;z-index:0;width:46%;height:22px;left:27%;bottom:1%;border-radius:50%;border:1px solid #c0d1b61c;box-shadow:0 0 33px #afd0b316,inset 0 0 19px #a6c2aa09;transform:scaleY(.65);pointer-events:none}
.body-section .scan-grid{opacity:.35;background-size:100% 110px,110px 100%}
.body-section .anatomy-figure{z-index:1;transform:perspective(1000px) rotateX(var(--body-tilt-x,0deg)) rotateY(var(--body-tilt-y,0deg));transform-origin:50% 45%;transition:transform .4s ease-out}
.body-section .anatomy-figure img{filter:saturate(.92) contrast(1.08) brightness(1.12);mask-image:linear-gradient(90deg,transparent,#000 24%,#000 77%,transparent),linear-gradient(transparent,#000 7%,#000 87%,transparent)}
.body-section .body-scene-canvas{position:absolute;inset:0;z-index:1;width:100%;height:100%;pointer-events:none;opacity:0;mix-blend-mode:screen;filter:saturate(.94) contrast(1.08) brightness(1.12);mask-image:linear-gradient(90deg,transparent,#000 24%,#000 77%,transparent),linear-gradient(transparent,#000 7%,#000 87%,transparent);mask-composite:intersect}
.body-section.body-scene-ready .body-scene-canvas{opacity:1}
.body-section.body-scene-ready .anatomy-figure img{opacity:0}
.body-section.body-scene-ready .anatomy-scan{display:none}
.body-section .organ-point{border-color:#cedbca7a;background:#12201969;box-shadow:0 0 0 5px #0b120c24;backdrop-filter:blur(1px)}
.body-section .organ-point[aria-pressed=true]{background:#e6ead535;border-color:#f4f4dd;box-shadow:0 0 25px #e9ebc830}
.body-section .point-dot{background:#f1f0d7;box-shadow:0 0 10px #e1edbe}
.body-section .point-label{text-shadow:0 1px 6px #000}
.body-section .organ-caption{border-top-color:#d0dac132}
.motion-paused .body-section .anatomy-figure{transform:none;transition:none}
/* The atlas owns its camera transform. The canvas only follows its contained image. */
#anatomy .body-scene-canvas{position:absolute;z-index:0;pointer-events:none;opacity:0;mix-blend-mode:screen;filter:brightness(1.05) contrast(1.1) saturate(1.02);-webkit-mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent),linear-gradient(180deg,transparent,#000 5%,#000 84%,transparent 99%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent),linear-gradient(180deg,transparent,#000 5%,#000 84%,transparent 99%);mask-composite:intersect}
#anatomy.body-scene-ready .body-scene-canvas{opacity:1}
#anatomy.body-scene-ready #anatomy-img{opacity:0}
#anatomy.body-scene-ready .cardiac-pulse-beacon,#anatomy.body-scene-ready .anat-scan{display:none}
@media(max-width:700px){.body-section .anatomy-stage{height:480px;margin-top:20px}.body-section .anatomy-stage:before{inset:0 0 6%}.body-section .anatomy-stage:after{bottom:0;width:54%;left:23%}.body-section .scan-grid{background-size:100% 90px,90px 100%}.body-section .anatomy-figure{width:min(280px,100%);transform:none}.body-section .point-label{left:64px}.body-section .point-label:before{width:39px}.body-section .point-heart .point-label{left:69px}.body-section .point-heart .point-label:before{width:44px}.body-section .point-lungs .point-label{right:59px}.body-section .point-lungs .point-label:before{width:33px}}
@media(max-width:365px){.body-section .anatomy-stage{height:445px}.body-section .anatomy-figure{width:250px}.body-section .point-label{left:55px;font-size:8px}.body-section .point-label:before{width:30px}.body-section .point-heart .point-label{left:57px}.body-section .point-heart .point-label:before{width:32px}.body-section .point-lungs .point-label{right:53px}.body-section .point-lungs .point-label:before{width:27px}}
@media(prefers-reduced-motion:reduce){html:not(.motion-opt-in) .body-section .anatomy-figure{transform:none;transition:none}}
/* Keep left-side lung labels unconstrained when the mobile connectors shorten. */
@media(max-width:700px){.body-section .point-lungs .point-label{left:auto}}
