/* Same approved media footprint; contain the full frame at every viewport. */
#anatomy-modal.has-anatomy-video .cinema-art { aspect-ratio: 3 / 2; }
#anatomy-modal.has-anatomy-video .cinema-art > img,
#anatomy-modal .anatomy-motion {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; filter: none; border-radius: 3px;
}
#anatomy-modal .anatomy-motion { opacity: 0; }
#anatomy-modal .motion-ready .anatomy-motion { opacity: 1; }
#anatomy-modal .motion-ready > img { visibility: hidden; }
/* The still's fixed pointers cannot identify structures in a rotating view. */
#anatomy-modal.has-anatomy-video .cinema-pin,
#anatomy-modal.has-anatomy-video .cinema-rule { display: none; }
#anatomy-modal .anatomy-motion-control {
  position: absolute; right: 12px; bottom: 14px; z-index: 3;
  min-height: 44px; padding: 9px 15px;
  border: 1px solid #d3e1e6; border-radius: 24px;
  background: #f7fafbef; color: #113c51;
  font: 600 12px/1.3 var(--sans, sans-serif); cursor: pointer;
  box-shadow: 0 2px 10px #0e334516;
}
#anatomy-modal .anatomy-motion-control:hover { background: #fff; }
#anatomy-modal .anatomy-motion-control:focus-visible { outline: 3px solid #007e96; outline-offset: 3px; }
#anatomy-modal .anatomy-motion-control[hidden] { display: none; }
@media (max-width: 760px) {
  #anatomy-modal.has-anatomy-video .cinema-art { margin-bottom: 52px; }
  #anatomy-modal .anatomy-motion-control { bottom: -48px; right: 0; }
}
/* Quiet, time-synchronized annotation layer; never intercept playback input. */
#anatomy-modal .anatomy-labels {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 2; pointer-events: none; overflow: visible;
}
#anatomy-modal .anatomy-labels path {
  fill: none; stroke: #568291; stroke-width: 1; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-linecap: round;
}
#anatomy-modal .anatomy-labels circle {
  fill: #356e80; stroke: #f4f9fa; stroke-width: 1.5;
}
#anatomy-modal .anatomy-labels text {
  fill: #163e53; font: 500 22px var(--sans, sans-serif); letter-spacing: .3px;
  paint-order: stroke; stroke: #eef5f7; stroke-width: 3px; stroke-linejoin: round;
}
@media (max-width: 600px) {
  #anatomy-modal .anatomy-labels text { font-size: 34px; }
}

/* Improve phone leader visibility without changing label positions. */
@media(max-width:600px){
#anatomy-modal .anatomy-labels path{stroke:#356e80;stroke-width:1.5}
#anatomy-modal .anatomy-labels circle{r:6px;fill:#174d63;stroke:#f4f9fa;stroke-width:2}
}
