/* The worked-solution animation in a frame (public/js/mathster-anim.js): the homework page and the board.
   Moved here unchanged from the homework page, 16 Oct 2026. */
.animwrap{position:relative;border-radius:16px;overflow:hidden;background:#eef1f4;border:1px solid var(--border);margin-bottom:14px}
.animwrap iframe{display:block;width:100%;border:0;opacity:0;transition:opacity var(--m-mid) var(--m-ease)}
.animwrap.ready iframe{opacity:1}
.animwrap .animmsg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--ink-3);font-size:14px;padding:16px;text-align:center}
.animwrap.ready .animmsg{display:none}
.animwrap.fill:not(.grown) iframe{height:100%!important}
