.mh {
  --pine: #214e41;
  --brook: #197265;
  --sand: #fff9e9;
  color: var(--pine);
  background: var(--sand);
  border: 1px solid #dedac6;
  border-radius: 20px;
  padding: clamp(18px, 3vw, 38px);
}
.mh button, .mh label { font: inherit; font-weight: 750; color: inherit; cursor: pointer; touch-action: manipulation; }
.mh button:focus-visible, .mh input:focus-visible + span { outline: 3px solid #225eac; outline-offset: 3px; }
.mh button:disabled { cursor: default; }
.mh-menu { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; }
.mh-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.mh-panel { padding: clamp(18px, 3vw, 40px); text-align: left; }
.mh-field { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.mh-field legend { padding: 0; margin: 0 0 10px; font-size: clamp(17px, 2vw, 22px); font-weight: 850; }
.mh-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.mh-picks label { position: relative; }
.mh-picks input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mh-picks span, .mh-go, .mh-secondary {
  display: inline-grid; place-items: center; min-height: 46px; padding: 8px 14px;
  border-radius: 14px; border: 2px solid #d7d3bd; background: #fffdf7;
}
.mh-picks span { padding: 6px; text-align: center; width: 100%; height: 100%; line-height: 1.2; }
.mh-picks input:checked + span { background: #e0f2df; border-color: var(--brook); color: #124c3a; }
.mh button.mh-go { background: var(--pine); color: white; border-color: var(--pine); padding-inline: 24px; }
.mh [hidden] { display: none; }
.mh-progress { display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 750; }
.mh-progress progress { width: 95px; height: 9px; accent-color: var(--brook); }
.mh h2.mh-equation {
  display: flex; align-items: center; justify-content: center; gap: clamp(5px, 2vw, 20px);
  margin: 24px auto; font: inherit; font-weight: 900; font-size: clamp(30px, 6vw, 65px); color: var(--pine);
  line-height: 1.3; font-variant-numeric: tabular-nums;
}
.mh-sign { color: #636c58; }
.mh-blank { background: #f9e2a4; border-radius: 16px; min-width: 1.55em; padding: .1em; }
.mh-answers { display: flex; gap: clamp(8px, 2vw, 18px); justify-content: center; }
.mh-listen { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto 16px; }
.mh-listen:disabled { opacity: .5; }
.mh button.mh-stone {
  border: 2px solid #b7c9b8; border-radius: 45% 48% 36% 40%; background: #f3f6e9; min-width: 0;
  box-shadow: 0 5px 0 #becbb5; width: clamp(65px, 18vw, 115px); min-height: 59px; font-size: clamp(23px, 4vw, 36px);
}
.mh-stone:enabled:hover { border-color: var(--brook); }
.mh-stone:disabled { opacity: .45; }
.mh button.mh-correct { border-color: var(--brook); background: #ddf1cc; opacity: 1; }
.mh-feedback { margin: 22px auto 10px; font-weight: 750; }
.mh-feedback p, .mh-help p { margin: 0 0 12px; }
.mh-help { max-width: 560px; margin: 16px auto 0; }
.mh-track { position: relative; margin: 58px 22px 38px; height: 4px; border-radius: 4px; background: #92ada7; }
.mh-tick { position: absolute; top: 7px; transform: translateX(-50%); font-size: 13px; font-weight: 750; }
.mh-tick::before { content: ''; position: absolute; left: 50%; top: -11px; height: 9px; border-left: 2px solid #496d63; }
.mh-cursor { position: absolute; bottom: 11px; transform: translateX(-50%); color: white; background: var(--brook); border-radius: 9px; padding: 2px 6px; font-weight: 800; transition: left .28s ease; }
.mh-cursor::after { content: ''; position: absolute; top: 100%; left: calc(50% - 5px); border: 5px solid transparent; border-top-color: var(--brook); }
.mh-trail { position: absolute; height: 4px; background: var(--brook); transition: left .28s ease, width .28s ease; }
.mh-finish-cover { display: block; width: min(100%, 240px); margin: 0 auto 12px; border-radius: 16px; }
.mh-finish button { margin: 4px; }
@media (max-width: 640px) {
  .mh-menu { grid-template-columns: 1fr; }
  .mh-cover { aspect-ratio: 2.6; height: auto; object-position: center 54%; }
  .mh-panel { padding: 16px; }
  .mh-board { padding-inline: 9px; }
  .mh-panel .mh-go { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-cursor, .mh-trail { transition: none; }
}
