.math-figure{gap:10px;min-width:0;margin:0;display:grid}.math-figure-stage{width:100%;position:relative;overflow:visible}.math-figure-hero .math-figure-stage{aspect-ratio:1;max-width:520px}.math-figure-side .math-figure-stage{aspect-ratio:1;max-width:280px}.math-figure-card .math-figure-stage{aspect-ratio:16/9}.math-figure-strip .math-figure-stage{aspect-ratio:4}.math-figure-stage canvas{pointer-events:none;width:100%;height:100%;display:block;position:absolute;inset:0}.math-figure figcaption{gap:3px;display:grid}.math-figure figcaption code{font-family:var(--font-geist-mono), monospace;letter-spacing:.04em;color:var(--fig-ink,#17191580);font-size:9.5px;line-height:1.3}.math-figure figcaption span{color:var(--ink-soft,#585b52);font-size:11.5px;line-height:1.5}@media (max-width:767px){.math-figure.math-figure-hero,.math-figure.math-figure-side,.math-figure.math-figure-card,.math-figure.math-figure-strip{place-self:start center;width:min(100%,15.5rem);margin-inline:auto}.math-figure-hero .math-figure-stage,.math-figure-side .math-figure-stage,.math-figure-card .math-figure-stage,.math-figure-strip .math-figure-stage{aspect-ratio:1;width:100%;max-width:none}.math-figure figcaption{align-content:start;min-height:2.75rem}}
