.reader-prose .body-map-figure {
  margin: 2rem 0;
  padding: clamp(.9rem, 3vw, 1.5rem);
  border: 1px solid var(--sh-hair-2);
  border-radius: 12px;
  background: #000;
  color: var(--sh-text);
}

.body-map-heading {
  display: grid;
  gap: .3rem;
  margin: 0 0 1.25rem;
  text-align: center;
}

.body-map-title {
  font: 400 clamp(1.3rem, 3vw, 2rem)/1.12 var(--sh-roman);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.body-map-subtitle,
.body-map-note,
.reader-prose .body-map-figure figcaption {
  font-size: .82rem;
  line-height: 1.5;
  color: var(--sh-soft);
}

.body-map-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  align-items: start;
  gap: 1rem;
}

/* The original illustration includes an English title and legend. Show its
   artwork panel beside the selected language's live-text legend. */
.body-map-art {
  display: block;
  position: relative;
  aspect-ratio: 1116 / 1398;
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
}

.body-map-art img {
  position: absolute;
  left: 0;
  top: calc(-100% * 194 / 1398);
  width: calc(100% * 1722 / 1116);
  height: auto;
  max-width: none;
}

.body-map-legend {
  display: grid;
  gap: .55rem;
  margin: 0;
  font-size: .83rem;
  line-height: 1.32;
}

.body-map-legend > div {
  display: grid;
  grid-template-columns: .95rem minmax(0, 1fr);
  gap: .13rem .55rem;
}

.body-map-legend > div::before {
  content: "";
  grid-row: span 2;
  width: .95rem;
  height: .95rem;
  margin-top: .08rem;
  border: 1px solid #ffffff59;
  border-radius: 3px;
  background: var(--swatch);
}

.body-map-legend dd {
  margin: 0;
  color: var(--sh-soft);
}

.body-map-hox {
  color: var(--sh-muted);
  font-size: .72rem;
  white-space: nowrap;
}

.body-map-note {
  margin-top: .9rem;
  padding-top: .7rem;
  border-top: 1px solid var(--sh-hair);
}

.reader-prose .body-map-figure figcaption {
  margin-top: 1rem;
}
