.doctor-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: clamp(24px, 3vw, 38px);
}

.doctor-choices span {
  max-width: 100%;
}

.doctor-choices .shop-item-select {
  font-size: inherit;
  min-width: 0;
}

.doctor-preview {
  margin: 8px 0 0;
  text-align: center;
  font-size: clamp(22px, 3vw, 34px);
}

.doctor-preview:empty {
  display: none;
}

.doctor-activity .simple-practice .response-panel {
  padding: clamp(12px, 2vw, 22px);
}

/* Correct the wide-looking shot while keeping the shared 794 × 530 frame. */
.doctor-activity #scene[src="2%20how%20long.mp4"] {
  width: min(100%, calc(100dvh * 794 / 530));
  height: min(100%, calc(100vw * 530 / 794));
  margin: auto;
  object-view-box: inset(0 0 7%);
  object-fit: fill;
}

/* Keep the response clear of the chart in the full-size pain-scale clip. */
.doctor-activity:has(#scene[src="3%20point%20to%20pain.mp4"]) #responseOverlay {
  align-items: flex-start;
}

.doctor-activity:has(#scene[src="3%20point%20to%20pain.mp4"]) .response-panel {
  max-height: min(100%, calc(44dvh - 92px));
}

@media (min-width: 1100px) {
  .doctor-activity:has(#scene[src="3%20point%20to%20pain.mp4"]) #responseOverlay {
    align-items: center;
    justify-content: flex-start;
  }

  .doctor-activity:has(#scene[src="3%20point%20to%20pain.mp4"]) .response-panel {
    flex-basis: min(34vw, 500px);
    max-height: 100%;
  }

  .doctor-activity:has(#scene[src="3%20point%20to%20pain.mp4"]) .choices {
    grid-template-columns: 1fr;
  }
}
