/* Climb v7 (additive polish): readable active step, even dot columns, no card glow, stable card height, scroll instead of clip. */
/* 5. never clip: page grows and scrolls when content exceeds the viewport */
body.pf-horse.pf-climb { overflow:visible !important; height:auto !important; min-height:100svh; }
html:has(body.pf-climb) { overflow-y:auto; }
/* 3. stray glow */
body.pf-horse.pf-climb .panel::before { display:none !important; }
/* 4. stable card: all four steps stacked in one grid cell, only the active one visible */
body.pf-horse.pf-climb .panels { display:grid !important; }
body.pf-horse.pf-climb .panels > .panel { grid-area:1 / 1; align-self:stretch; }
body.pf-horse.pf-climb .panels > .panel[hidden] { display:block !important; visibility:hidden; pointer-events:none; }
/* 2. even columns, one top line */
body.pf-horse.pf-climb .beats { grid-template-columns:repeat(4, minmax(0,1fr)) !important; align-items:start; }
body.pf-horse.pf-climb .beat { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; min-height:0; padding:4px 6px 0; }
body.pf-horse.pf-climb .beat .dot, body.pf-horse.pf-climb .beat.active .dot { width:20px; height:20px; margin:0 auto 14px; box-sizing:border-box; }
body.pf-horse.pf-climb .beat .n { white-space:nowrap; line-height:1.3; height:1.3em; margin-bottom:4px; }
body.pf-horse.pf-climb .beat .t { line-height:1.2; margin-bottom:8px; }
body.pf-horse.pf-climb .beat .micro { width:100%; max-width:22ch; min-height:0; }
/* 1. active step is the most readable; inactive stays fog */
body.pf-horse.pf-climb .beat .n, body.pf-horse.pf-climb .beat .t, body.pf-horse.pf-climb .beat .micro li { color:#a7acb0 !important; }
body.pf-horse.pf-climb .beat .micro li::before { background:#6b6f73 !important; }
body.pf-horse.pf-climb .beat.active .n { color:#8b84f5 !important; }
body.pf-horse.pf-climb .beat.active .t { color:#ece9e4 !important; }
body.pf-horse.pf-climb .beat.active .micro li { color:#ece9e4 !important; }
body.pf-horse.pf-climb .beat.active .micro li::before { background:#8b84f5 !important; }
body.pf-horse.pf-climb .beat:not(.active) { opacity:.85; }
