/* Muscle Hypertrophy lesson. All rules scoped under .mhy-* */
.mhy-sc { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mhy-note { font-size: 12.5px; color: var(--faint); text-align: center; }
.mhy-hero img { width: 280px; max-width: 100%; max-height: 32vh; object-fit: contain; display: block; filter: drop-shadow(0 16px 28px rgba(123,92,253,.3)); }
.mhy-lab { fill: var(--dim); font: 600 14.5px var(--sans); text-anchor: middle; }
.mhy-lab.l { text-anchor: start; font-size: 13.5px; fill: var(--faint); }

/* ---------- inside a fiber ---------- */
.mhy-in { width: 100%; max-width: 360px; height: auto; display: block; overflow: visible; }
.mhy-spindle path { fill: rgba(232,106,106,.28); stroke: #E88A7A; stroke-width: 2; }
.mhy-spindle ellipse { fill: rgba(232,106,106,.45); stroke: #F2A596; stroke-width: 1.5; }
.mhy-spindle circle { fill: rgba(255,210,200,.35); stroke: #F2A596; stroke-width: 1; }
.mhy-zoom { stroke: var(--faint); stroke-width: 1.2; stroke-dasharray: 3 4; fill: none; }
.mhy-fw { fill: rgba(232,106,106,.16); stroke: #F2A596; stroke-width: 2; }
.mhy-str { fill: rgba(242,165,150,.55); stroke: #F2A596; stroke-width: .8; }
.mhy-str.new { fill: var(--gold); stroke: var(--gold); }

/* ---------- the muscle ---------- */
.mhy-game { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 4px; }
.mhy-top { display: flex; justify-content: space-between; font: 600 13px var(--sans); color: var(--dim); padding: 0 6px; }
.mhy-top b { color: var(--text); font-variant-numeric: tabular-nums; }
.mhy-mus { width: 100%; height: auto; display: block; overflow: visible; }
.mhy-rail line { stroke: var(--line-strong); stroke-width: 4; stroke-linecap: round; }
.mhy-wt rect { fill: var(--raised); stroke: var(--violet-bright); stroke-width: 2; }
.mhy-wt text { fill: var(--text); font: 700 15px var(--sans); text-anchor: middle; }
.mhy-wt.stuck rect { stroke: var(--red); }
.mhy-fas { fill: rgba(169,155,255,.05); stroke: rgba(169,155,255,.35); stroke-width: 1.5; transition: fill .25s, stroke .25s; }
.mhy-fib { fill: rgba(20,16,40,.6); stroke: rgba(169,155,255,.45); stroke-width: 1.2; transition: stroke .25s; }
.mhy-fuel { fill: var(--mint); transition: r .25s; }
.mhy-team.on .mhy-fas { fill: rgba(252,192,80,.12); stroke: var(--gold); stroke-width: 2.5; }
.mhy-team.on .mhy-fib { stroke: var(--gold); }
.mhy-leg { display: flex; align-items: center; gap: 8px; font: 600 12px var(--sans); color: var(--faint); padding: 0 8px 0 70px; }
.mhy-leg i { flex: 1; height: 0; border-top: 2px dashed var(--faint); position: relative; }
.mhy-leg i::after { content: ''; position: absolute; right: -6px; top: -7px; border: 5px solid transparent; border-left-color: var(--faint); }

/* ---------- the two 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; }

/* ---------- the rule ---------- */
.mhy-tank { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 8px; }
.mhy-tt { font-size: 13px; color: var(--dim); text-align: center; font-weight: 600; }
.mhy-tr { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; font: 700 13px var(--sans); color: var(--text); }
.mhy-tr span { text-align: right; }
.mhy-tr i { height: 14px; border-radius: 7px; background: var(--surface); overflow: hidden; }
.mhy-tr b { display: block; height: 100%; background: var(--gold); border-radius: 7px; opacity: .85; }
.mhy-tn { font-size: 12px; color: var(--faint); text-align: center; }

/* ---------- after the set ---------- */
.mhy-when { width: 100%; max-width: 340px; height: auto; display: block; overflow: visible; }
.mhy-ax { stroke: var(--line-strong); stroke-width: 2; }
.mhy-curve { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset .9s ease-out; }
.mhy-pts { opacity: 0; transition: opacity .4s .6s; }
.mhy-pts circle { fill: var(--gold); }
.mhy-pts text { fill: var(--text); font: 700 14px var(--sans); text-anchor: middle; }
.mhy-when.on .mhy-curve { stroke-dashoffset: 0; }
.mhy-when.on .mhy-pts { opacity: 1; }

/* ---------- three sets ---------- */
.mhy-sets { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 8px; }
.mhy-set { display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 4px; padding: 8px 10px; border-radius: 12px; background: var(--surface); border: 2px solid transparent; transition: border-color .3s; }
.mhy-set > b { grid-row: span 2; align-self: center; font: 700 20px var(--sans); color: var(--text); text-align: center; }
.mhy-sl { font: 700 13px var(--sans); color: var(--text); }
.mhy-sr { display: none; }
.mhy-sb { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--bg); }
.mhy-sb i { background: var(--gold); }
.mhy-sb em { background: repeating-linear-gradient(90deg, rgba(169,155,255,.35) 0 6px, transparent 6px 9px); }
.mhy-set.lo { border-color: var(--red); }
.mhy-set.hi { border-color: var(--mint); }
.mhy-key { display: flex; justify-content: center; gap: 16px; font: 600 12px var(--sans); color: var(--dim); }
.mhy-key i, .mhy-key em { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.mhy-key i { background: var(--gold); }
.mhy-key em { background: repeating-linear-gradient(90deg, rgba(169,155,255,.5) 0 4px, transparent 4px 6px); }

@media (max-height: 700px) {
  .mhy-hero img { max-height: 26vh; }
  .mhy-in { max-width: 300px; }
}
.mhy-ten { stroke: #F2A596; stroke-width: 4; stroke-linecap: round; fill: none; }
