.lmsg .lsav-example { padding: .82rem; }
.lmsg .lsav-figure { margin: .65rem 0 .55rem; }
.lmsg .lsav-frame {
    position: relative;
    aspect-ratio: 2.5 / 1;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid #486281;
    border-radius: .65rem;
    background: #101d31;
}
.lmsg .lsav-sprite {
    position: absolute;
    inset: calc(-100% * var(--lsav-row)) 0 auto;
    display: block;
    width: 100%;
    height: 300%;
    max-width: none;
    max-height: none;
    opacity: 0;
    transition: opacity .32s ease-out;
    pointer-events: none;
}
.lmsg .lsav-frame[data-stage="0"] [data-phase="0"],
.lmsg .lsav-frame[data-stage="1"] [data-phase="1"],
.lmsg .lsav-frame[data-stage="2"] [data-phase="2"] { opacity: 1; }
.lmsg .lsav-caption { margin-top: .36rem; color: var(--lsvo-soft); font-size: .82rem; min-height: 2.5em; line-height: 1.3; }
.lmsg .lsav-controls:not([hidden]) { display: grid; gap: .38rem; }
.lmsg .lsav-steps { display: flex; gap: .3rem; flex-wrap: wrap; }
.lmsg .lsav-controls button {
    min-width: 0;
    min-height: 2.35rem;
    margin: 0;
    padding: .25rem .55rem;
    border: 1px solid #5b7597;
    border-radius: .48rem;
    background: #26384e;
    color: #edf5ff;
    font: inherit;
    font-size: .8rem;
    line-height: 1.2;
    cursor: pointer;
}
.lmsg .lsav-steps button { flex: 1 1 auto; }
.lmsg .lsav-controls .lsav-play { min-height: 2.6rem; font-weight: 670; background: #2f5279; }
.lmsg .lsav-controls button:hover { background: #365777; }
.lmsg .lsav-steps button[aria-pressed="true"] { color: #102642; background: #bedcff; border-color: #bedcff; }
.lmsg .lsav-controls button:focus-visible { outline: 2px solid #aacfff; outline-offset: 2px; }
@media (max-width: 780px) {
    .lmsg .lsav-controls button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .lmsg .lsav-sprite { transition: none; }
}
