/* 第 2 批第 01 张：Brunnstrom 六期组图；全站唯一特许的示意图与文字同步切换。 */
.batch2-inline-figure {
  --zh-illustration-main: #2f5d5a;
  --zh-illustration-aux: #8aa5a1;
  --zh-illustration-aux-opacity: 1;
  --zh-illustration-selected-text: #fff;
  width: 60%;
  margin: 16px auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
}

.batch2-limb-switch {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: max-content;
  margin: 0 auto 10px;
}

.batch2-limb-button {
  min-width: 48px;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid var(--zh-illustration-main);
  border-radius: 12px;
  outline: 0;
  background: transparent;
  color: var(--zh-illustration-main);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color .16s ease, background-color .16s ease, transform .15s ease-out;
}

.batch2-limb-button.active,
.batch2-limb-button[aria-selected="true"] {
  background: var(--zh-illustration-main);
  color: var(--zh-illustration-selected-text);
}

.batch2-limb-button:active {
  transform: scale(.94);
}

.batch2-limb-button:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--zh-illustration-main) 24%, transparent);
}

.batch2-stage-list .wb3-record-field[hidden] {
  display: none !important;
}

.batch2-stage-list .wb3-record-field.batch2-field-active {
  display: grid;
}

.batch2-limb-panels {
  display: grid;
}

.batch2-limb-panel {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease;
}

.batch2-limb-panel.active {
  opacity: 1;
  visibility: visible;
}

.batch2-inline-figure svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.batch2-inline-caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

:root[data-zh-theme="dark"] .batch2-inline-figure {
  --zh-illustration-main: #a8c4bc;
  --zh-illustration-aux: #a8c4bc;
  --zh-illustration-aux-opacity: .24;
  --zh-illustration-selected-text: #1a1f1e;
}

@media (prefers-reduced-motion: reduce) {
  .batch2-limb-button,
  .batch2-limb-panel {
    transition: none;
  }
}
