/* Progressive overload lesson. All rules scoped under .pov-* */
.pov-sc { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pov-note { font-size: 12.5px; color: var(--faint); text-align: center; }

/* Milo: the calf becomes a bull */
.pov-milo { --p: 0; position: relative; flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.pov-milo img { position: absolute; left: 50%; top: 50%; translate: -50% -50%; max-width: 84%; max-height: 84%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(123,92,253,.3)); }
.pov-milo img.a { opacity: calc(1 - var(--p)); }
.pov-milo img.b { opacity: var(--p); scale: calc(.92 + .08 * var(--p)); }
.pov-day { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font: 700 15px var(--sans); color: var(--gold); letter-spacing: .04em; }

/* one set */
.pov-set { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.pov-top { display: flex; justify-content: space-between; align-items: baseline; }
.pov-w { font: 800 20px var(--sans); color: var(--text); }
.pov-feel { font: 800 14px var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.pov-feel.hard { color: #1A1206; background: var(--gold); }
.pov-feel.easy { color: var(--dim); background: var(--raised); }
.pov-feel.x { color: var(--text); background: rgba(234,227,215,.16); }
.pov-pips { display: flex; flex-wrap: wrap; gap: 4px; min-height: 22px; }
.pov-pips i, .pov-pips em { width: 13px; height: 22px; border-radius: 4px; }
.pov-pips i { background: rgba(234,227,215,.14); }
.pov-pips i.d { background: linear-gradient(180deg, #FFE08A, var(--gold) 50%, var(--gold-deep)); }
.pov-pips i.x { background: transparent; border: 1.5px dashed rgba(234,227,215,.35); }
.pov-pips em, .pov-cap em { background: repeating-linear-gradient(45deg, rgba(169,155,255,.75) 0 3px, transparent 3px 6px); border: 1px solid rgba(169,155,255,.6); }
.pov-cap { display: flex; justify-content: space-between; font: 600 13px var(--sans); color: var(--dim); }
.pov-cap em { display: inline-block; width: 10px; height: 14px; border-radius: 3px; margin-right: 6px; vertical-align: -2px; }

/* the growth bars */
.pov-bars { width: 100%; max-width: 340px; }
.pov-bt { font: 600 13px var(--sans); color: var(--dim); margin-bottom: 6px; }
.pov-br { display: flex; gap: 6px; height: 70px; align-items: flex-end; }
.pov-br i { flex: 1; height: 100%; display: flex; align-items: flex-end; border-radius: 6px; background: rgba(234,227,215,.05); }
.pov-br b { display: block; width: 100%; height: 0; border-radius: 6px; background: var(--mint); transition: height .4s ease-out; }
.pov-bx { display: flex; justify-content: space-between; font: 600 12px var(--sans); color: var(--faint); margin-top: 4px; }

/* the bar and plates */
.pov-barbox { width: 100%; max-width: 340px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pov-bar { position: relative; width: 100%; height: 76px; display: flex; align-items: center; justify-content: center; border-radius: 16px; transition: background .2s; }
.pov-bar.over { background: rgba(252,192,80,.10); }
.pov-rod { position: absolute; left: 4px; right: 4px; top: 50%; height: 8px; margin-top: -4px; border-radius: 4px; background: linear-gradient(180deg, #E8E2D8, #9B958C); }
.pov-side { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; gap: 3px; }
.pov-side.l { right: calc(50% + 40px); flex-direction: row-reverse; }
.pov-side.r { left: calc(50% + 40px); }
.pov-plate { width: 16px; height: 64px; border-radius: 5px; border: none; padding: 0; background: linear-gradient(90deg, var(--violet-deep), var(--violet) 50%, var(--violet-deep)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); cursor: pointer; }
.pov-plate.on { min-width: 16px; }
.pov-side .pov-plate { display: block; cursor: default; }
.pov-minus { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--raised); color: var(--text); font: 700 13px var(--sans); }
.pov-rack { display: flex; align-items: center; gap: 12px; font: 600 13px var(--sans); color: var(--dim); }
.pov-plate.src { width: 54px; height: 64px; border-radius: 10px; font: 800 13px var(--sans); color: #fff; touch-action: none; }
.pov-ghost { position: absolute; z-index: 5; width: 44px; height: 64px; border-radius: 10px; background: var(--violet); opacity: .85; pointer-events: none; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.pov-sc.good .pov-set { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 24px rgba(252,192,80,.25); }

@media (max-height: 700px) {
  .pov-sc { gap: 8px; }
  .pov-br { height: 52px; }
  .pov-bar { height: 64px; }
  .pov-plate { height: 54px; }
  .pov-plate.src { height: 54px; }
}
