.public-exercise-animation{min-width:0;align-self:start;background:#f4f7ef;border:1px solid #d4dfcd;border-radius:14px;overflow:hidden;color:#203628}
.public-animation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;font-size:1rem}
.public-animation-heading span{font-size:.875rem;color:#516344}
.public-exercise-animation>svg{display:block;width:100%;height:auto;aspect-ratio:17/10;background:#234d3c}
.public-animation-caption{margin:0;padding:12px 14px 8px;min-height:3.5em;font-size:1rem;line-height:1.45}
.public-animation-controls{display:flex;flex-wrap:wrap;gap:8px;padding:0 14px 12px}
.public-animation-controls .btn{font-size:.875rem;min-height:44px;padding:9px 12px;white-space:nowrap}
.public-animation-note{font-size:.875rem;line-height:1.5;margin:0;padding:0 14px 14px;color:#516344}
.public-exercise-animation.public-animation-expanded,.public-exercise-animation:fullscreen{position:fixed;inset:0;z-index:10000;width:100%;height:100%;box-sizing:border-box;border:0;border-radius:0;overflow:auto;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);display:flex;flex-direction:column;background:#f4f7ef}
.public-animation-expanded>svg,.public-exercise-animation:fullscreen>svg{flex:1;min-height:100px;max-height:calc(100dvh - 230px);width:100%;object-fit:contain}
.public-animation-expanded .public-animation-controls{justify-content:center}
@media(max-width:600px){#exerciseDialog:has(.public-exercise-animation) .exercise-detail{padding-left:14px;padding-right:14px}.public-animation-heading{padding:10px 12px}.public-animation-heading span{display:none}.public-animation-controls{display:grid;grid-template-columns:1fr 1fr;padding:0 12px 12px}.public-animation-caption{padding:10px 12px}.public-animation-note{padding:0 12px 12px}.public-exercise-animation{width:100%}}
@media print{.public-animation-controls{display:none}.public-animation-expanded{position:static!important}}
