/* Model and names remain adjacent, with readable controls at every viewport size. */
.hormone-explorer {
  grid-template-columns: minmax(0, 1fr);
}
.hormone-nearby {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #d6e4de);
  padding: 1rem;
  border-radius: 0 0 20px 20px;
}
.hormone-nearby h3 {
  margin: 0.25rem 0;
  font-size: 1.25rem;
}
.hormone-nearby .note {
  margin: 0.45rem 0 0.75rem;
}
.hormone-stage-wrap {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.8fr);
  gap: 1rem;
  min-width: 0;
  align-self: start;
}
.hormone-stage-wrap > .hormone-model-note {
  grid-column: 1 / -1;
  margin: 0;
}
.hormone-stage-wrap .hormone-stage {
  border-radius: 20px;
}
.hormone-stage-wrap .hormone-nearby {
  border-radius: 20px;
  align-self: start;
}
.hormone-guide > .hormone-player {
  margin-top: 0;
}
.hormone-location-names {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.hormone-location-names button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 48px;
  text-align: left;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line, #d6e4de);
  border-radius: 12px;
  background: var(--bg, #f6faf7);
  color: var(--ink, #233f3c);
  font: inherit;
  font-weight: 650;
}
.hormone-location-names button:hover {
  border-color: var(--accent, #297765);
}
.hormone-location-names button > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.hormone-open-label {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--muted, #546c68);
  font-weight: 500;
}
.hormone-current-label span {
  font-size: 0.85rem;
}
.hormone-position-sketch {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0;
  padding: 0.8rem;
  background: var(--surface, #fff);
  border: 1px dashed var(--line, #d6e4de);
  border-radius: 12px;
}
.hormone-position-sketch svg {
  width: 110px;
  flex: 0 0 110px;
}
.hormone-position-sketch figcaption {
  min-width: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.85rem;
}
.hormone-position-sketch small {
  color: var(--muted, #546c68);
}
.hormone-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.2rem 0;
}
.hormone-facts > div {
  padding: 0.8rem;
  border: 1px solid var(--line, #d6e4de);
  border-radius: 12px;
  min-width: 0;
}
.hormone-facts dt {
  font-size: 0.8rem;
  color: var(--muted, #546c68);
  font-weight: 600;
}
.hormone-facts dd {
  margin: 0.5rem 0 0;
  line-height: 1.8;
}
.hormone-inline-article {
  border-top: 1px solid var(--line, #d6e4de);
  padding-top: 1rem;
  margin-top: 1rem;
}
.hormone-inline-article p {
  line-height: 1.85;
  white-space: pre-line;
}
.hormone-inline-article details {
  padding: 0.8rem 0;
}
.hormone-inline-article summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 36px;
}
.hormone-reading {
  font-size: 0.95rem;
  color: var(--muted, #546c68);
  line-height: 1.6;
}
.hormone-modal-content h2 {
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .hormone-explorer {
    grid-template-columns: minmax(0, 1fr);
  }
  .hormone-stage-wrap {
    position: static;
  }
  .hormone-location-names.compact {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 850px) {
  .hormone-stage-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .hormone-stage-wrap .hormone-model {
    height: clamp(320px, 55vh, 440px);
  }
  .hormone-location-names.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 580px) {
  .hormone-location-names.compact,
  .hormone-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .hormone-open-label {
    font-size: 0.75rem;
  }
  .hormone-position-sketch {
    flex-direction: column;
    align-items: start;
  }
  .hormone-play-controls {
    display: flex;
    flex-wrap: wrap;
  }
  .hormone-play-controls label {
    width: 100%;
  }
}
