/* Muscle hypertrophy lesson. All rules scoped under .mhy-* */
.mhy-sc { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mhy-note { font-size: 12.5px; color: var(--faint); text-align: center; max-width: 320px; }

/* the slice */
.mhy-slice { width: 100%; max-width: 300px; overflow: visible; }
.mhy-sheath { fill: rgba(123,92,253,.12); stroke: rgba(169,155,255,.45); stroke-width: 2; }
.mhy-fibs circle { fill: #6E55D8; stroke: var(--violet-bright); stroke-width: 1.5; }
.mhy-fibs circle.n { fill: var(--gold); stroke: #FFE08A; transition: fill .2s; }
.mhy-wk { font: 700 15px var(--sans); fill: var(--dim); text-anchor: middle; }
.mhy-two { display: flex; gap: 10px; width: 100%; max-width: 340px; justify-content: center; align-items: flex-end; }
.mhy-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 700 14px var(--sans); color: var(--text); }
.mhy-slice.half .mhy-wk { display: none; }
.mhy-fibs { transition: opacity .5s; }
.mhy-slice.bare .mhy-fibs { opacity: 0; }
.mhy-tally { min-height: 24px; font: 600 15px var(--sans); color: var(--dim); }
.mhy-tally b { color: var(--gold); font-size: 20px; }

/* the teams */
.mhy-teams { width: 100%; max-width: 350px; display: flex; flex-direction: column; gap: 6px; }
.mhy-trow { display: flex; justify-content: space-between; align-items: flex-end; gap: 4px; }
.mhy-tc { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 600 12.5px var(--sans); color: var(--dim); }
.mhy-team { width: 100%; max-width: 66px; overflow: visible; }
.mhy-tb { fill: rgba(234,227,215,.04); stroke: rgba(234,227,215,.18); stroke-width: 2; }
.mhy-f { fill: #2A2440; stroke: rgba(169,155,255,.45); stroke-width: 2; transition: fill .25s, stroke .25s; }
.mhy-tc.on .mhy-f { fill: var(--gold); stroke: #FFE08A; }
.mhy-tc.on .mhy-tb { stroke: var(--gold); }
.mhy-tc.on span { color: var(--gold); }
.mhy-tc.tired .mhy-f { fill: var(--gold-deep); stroke: #8C6214; opacity: .7; }
.mhy-tc.tired span::after { content: ' · tired'; }
.mhy-tc.off .mhy-f { fill: #2A2440; }
.mhy-tax { display: flex; align-items: center; gap: 8px; font: 600 12.5px var(--sans); color: var(--faint); }
.mhy-tax i { flex: 1; height: 1.5px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.mhy-rep { display: flex; align-items: baseline; gap: 6px; font: 600 15px var(--sans); color: var(--dim); }
.mhy-rep b { font: 800 44px var(--sans); color: var(--text); min-width: 56px; text-align: right; font-variant-numeric: tabular-nums; }
.mhy-rep.hard b { color: var(--gold); }

/* team options */
.mhy-pk { width: 100%; max-width: 340px; }
.mhy-pk .choices.mhy-three { display: flex; flex-direction: row; gap: 10px; }
.mhy-pk .choice { flex: 1; padding: 10px 4px; min-height: 0; justify-content: center; }
.mhy-pk .choice .mhy-team { max-width: 80px; }
.mhy-pk .choice.right { border-color: var(--mint); }

/* the legs */
.mhy-legs { display: flex; gap: 14px; }
.mhy-legs div { width: 110px; padding: 12px 8px; border-radius: 14px; background: var(--surface); text-align: center; display: flex; flex-direction: column; gap: 2px; }
.mhy-legs b { font: 700 26px var(--sans); color: var(--gold); }
.mhy-legs span { font-size: 13px; color: var(--dim); font-weight: 600; }
.mhy-bars { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.mhy-bt { font-size: 12.5px; color: var(--dim); text-align: center; }
.mhy-br { display: grid; grid-template-columns: 78px 1fr 56px; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text); }
.mhy-br i { height: 10px; border-radius: 5px; background: var(--surface); overflow: hidden; }
.mhy-br b { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 5px; transition: width .7s ease-out; }
.mhy-br em { font-style: normal; font-size: 13px; color: var(--dim); font-weight: 700; }

@media (max-height: 700px) {
  .mhy-slice { max-width: 240px; }
  .mhy-rep b { font-size: 36px; }
}
