.rm-motion{border:1px solid #dce3d5;border-radius:7px;background:#fff;overflow:hidden;margin-top:20px}
.rm-motion-stage{width:100%;position:relative;background:#fff}
#rm-motion-canvas{display:block;width:100%;height:auto;aspect-ratio:1120/650}
.rm-motion-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rm-case-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:9px 15px;border-bottom:1px solid #e2e7dc;background:#fff;color:#6c7b5f;font-size:12px}
.rm-case-picker{display:flex;align-items:center;gap:5px;min-width:0;max-width:100%}
.rm-case-picker select{font:inherit;color:#4c6140;background:#fff;border:0;min-width:0;width:auto;max-width:280px;flex:0 1 auto;min-height:32px;padding:5px 4px;cursor:pointer}
.rm-case-bar button{border:1px solid #d7dfcf;border-radius:4px;background:#fff;color:#61794d;min-height:32px;cursor:pointer}
.rm-case-picker button{font-size:20px;line-height:1;min-width:30px;padding:2px 7px;flex-shrink:0}
.rm-case-bar button:hover:not(:disabled){background:#f3f7ed}
.rm-run-controls{display:flex;align-items:center;gap:7px;margin-left:auto}
.rm-run-controls button{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-family:inherit;font-size:12px;font-weight:500;min-width:64px;padding:7px 12px}
.rm-run-controls button::before{content:"";width:13px;height:13px;flex-shrink:0;background:currentColor;mask:var(--control-icon) center/contain no-repeat;-webkit-mask:var(--control-icon) center/contain no-repeat}
#rm-motion-run{--control-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5v15l13-7.5z'/%3E%3C/svg%3E")}
#rm-motion-pause{--control-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4h4v16H6zM14 4h4v16h-4z'/%3E%3C/svg%3E")}
#rm-motion-reset{--control-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 10a9 9 0 1 1 1.4 7.2M3 4v6h6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.rm-run-controls button:disabled{opacity:.5;cursor:default}
.rm-motion-source{font-size:10px;color:#87927c;white-space:nowrap;margin-right:4px}
.rm-motion-source:empty{display:none}
#rm-motion-run{min-width:74px;background:#56763e;color:#fff;border-color:#56763e}
#rm-motion-run:hover:not(:disabled){background:#486634}
#rm-motion-run:disabled{opacity:.65}
@media(max-width:650px){.rm-case-bar{gap:8px 12px;padding:8px 10px;font-size:11px}.rm-case-picker{max-width:100%}.rm-case-picker select{max-width:250px;font-size:11px}.rm-case-picker button{min-width:28px}.rm-run-controls button{min-width:58px;font-size:11px;padding:7px 10px}.rm-motion-source{font-size:9px}#rm-motion-run{min-width:62px}#rm-motion-canvas{aspect-ratio:560/1450}}
