.mv{flex-direction:column;height:100%;min-height:0;display:flex}.mv-canvas{width:100%;height:auto;display:block}.mv-scene{background:var(--bm-stage);width:100%;display:block;overflow:hidden}.mv-head{border-bottom:1px solid var(--bm-border);background:var(--bm-surface);flex:none;align-items:center;gap:10px;padding:10px 16px;display:flex}.mv-back{width:30px;height:30px;color:var(--bm-text-muted);transition:background var(--bm-dur,.16s) var(--ease), color var(--bm-dur,.16s) var(--ease);border-radius:8px;place-items:center;display:inline-grid}.mv-back:hover{background:var(--bm-surface-hover);color:var(--bm-text)}.mv-title{min-width:0;max-width:420px;color:var(--bm-text);font:inherit;font-size:var(--text-base);background:0 0;border:1px solid #0000;border-radius:8px;flex:auto;padding:5px 8px;font-weight:600}.mv-title:hover{border-color:var(--bm-border)}.mv-title:focus{border-color:var(--bm-border-strong,var(--bm-border));background:var(--bm-surface);outline:none}.mv-state{font-size:var(--text-xs);color:var(--bm-text-muted);white-space:nowrap;align-items:center;gap:6px;margin-left:auto;display:inline-flex}.mv-state i{background:var(--bm-success);border-radius:50%;width:6px;height:6px}.mv-state.is-dirty i{background:var(--bm-warning)}.mv-work{flex-direction:column;flex:auto;min-height:0;display:flex}.mv-stage{flex:auto;place-items:center;min-height:240px;padding:20px;display:grid;position:relative;overflow:hidden;container-type:size}.mv-frame{width:min(100cqw - 8px, (100cqh - 8px) * var(--ar,1.7778));background:var(--bm-stage);border-radius:6px;max-width:100%;position:relative;overflow:hidden;box-shadow:0 1px 2px #0000001f,0 18px 48px #00000038}.mv-frame.is-vertical{--ar:.5625}.mv-frame.is-portrait{--ar:.8}.mv-frame.is-square{--ar:1}.mv-frame.is-landscape{--ar:1.7778}.mv-safe{pointer-events:none;outline-offset:-2px;border:1px dashed #ffffffbf;border-radius:2px;outline:1px dashed #00000059;position:absolute;box-shadow:0 0 0 100vmax #00000024}.mv-overlay{position:absolute;inset:0;container-type:size}.mv-movable{cursor:move;touch-action:none;position:absolute}.mv-movable:hover:not(.is-selected){outline:1px solid color-mix(in srgb, var(--bm-accent) 55%, transparent)}.mv-movable.is-selected{outline:1.5px solid var(--bm-accent)}.mv-hit{width:100%;height:100%;display:block}.mv-handle{background:var(--bm-white);border:1.5px solid var(--bm-accent);touch-action:none;border-radius:2px;width:10px;height:10px;position:absolute}.mv-handle-nw{cursor:nwse-resize;top:-5px;left:-5px}.mv-handle-n{cursor:ns-resize;top:-5px;left:calc(50% - 5px)}.mv-handle-ne{cursor:nesw-resize;top:-5px;right:-5px}.mv-handle-e{cursor:ew-resize;top:calc(50% - 5px);right:-5px}.mv-handle-se{cursor:nwse-resize;bottom:-5px;right:-5px}.mv-handle-s{cursor:ns-resize;bottom:-5px;left:calc(50% - 5px)}.mv-handle-sw{cursor:nesw-resize;bottom:-5px;left:-5px}.mv-handle-w{cursor:ew-resize;top:calc(50% - 5px);left:-5px}.mv-guide{z-index:5;pointer-events:none;background:var(--bm-accent);position:absolute}.mv-guide-v{width:1px;top:0;bottom:0}.mv-guide-h{height:1px;left:0;right:0}.mv-text-edit{z-index:6;outline:1.5px solid var(--bm-accent);resize:none;white-space:pre-wrap;word-break:break-word;background:#7d7d7d29;border:0;margin:0;padding:0;position:absolute;overflow:hidden}.mv-transport{border-top:1px solid var(--bm-border);background:var(--bm-surface);flex:none;align-items:center;gap:12px;padding:10px 16px;display:flex}.mv-play{background:var(--bm-text);width:34px;height:34px;color:var(--bm-surface);cursor:pointer;transition:transform .12s var(--ease);border:0;border-radius:50%;flex:none;place-items:center;display:grid}.mv-play:active{transform:scale(.94)}.mv-pause-glyph{border-left:3.5px solid var(--bm-surface);border-right:3.5px solid var(--bm-surface);width:11px;height:12px}.mv-clock{font-size:var(--text-xs);font-variant-numeric:tabular-nums;color:var(--bm-text);white-space:nowrap;flex:none;font-weight:600}.mv-clock i{color:var(--bm-text-muted);font-style:normal}.mv-scrub{min-width:80px;accent-color:var(--bm-text);flex:120px}.mv-formats{background:color-mix(in srgb, var(--bm-text) 6%, transparent);border-radius:9px;flex:none;gap:2px;padding:3px;display:flex}.mv-formats button{color:var(--bm-text-muted);font:inherit;font-size:var(--text-xs);cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;padding:5px 9px;font-weight:600;display:inline-flex}.mv-formats button.is-on{background:var(--bm-surface);color:var(--bm-text);box-shadow:0 1px 2px #0000001f}.mv-ratio{border:1.5px solid;border-radius:2px;display:inline-block}.mv-ratio.is-vertical{width:8px;height:13px}.mv-ratio.is-portrait{width:10px;height:12px}.mv-ratio.is-square{width:11px;height:11px}.mv-ratio.is-landscape{width:14px;height:8px}.mv-transport-end{flex:none;align-items:center;gap:6px;display:flex}.mv-chip{border:1px solid var(--bm-border);background:var(--bm-surface);color:var(--bm-text-muted);font:inherit;font-size:var(--text-xs);cursor:pointer;white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:6px 10px;font-weight:600;display:inline-flex}.mv-chip:hover{color:var(--bm-text)}.mv-chip.is-on{border-color:var(--bm-text);color:var(--bm-text)}.mv-add{position:relative}.mv-add-menu{z-index:20;border:1px solid var(--bm-border);background:var(--bm-surface);min-width:170px;max-height:320px;box-shadow:var(--bm-shadow-lg);border-radius:10px;padding:5px;display:grid;position:absolute;overflow-y:auto}.mv-add-menu.is-up{bottom:calc(100% + 6px);right:0}.mv-add-menu button,.mv-add-menu label{color:var(--bm-text);font:inherit;font-size:var(--text-sm);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;padding:7px 9px;display:flex}.mv-add-menu button:hover,.mv-add-menu label:hover{background:var(--bm-surface-hover)}.mv-strip{border-top:1px solid var(--bm-border);background:var(--bm-surface);flex:none;align-items:flex-start;gap:0;padding:12px 16px 14px;display:flex;overflow-x:auto}.mv-strip-item{flex:none;align-items:center;display:flex;position:relative}.mv-strip-join{border:1px solid var(--bm-border);background:var(--bm-surface-sunken);color:var(--bm-text-muted);font:inherit;font-size:var(--text-2xs);cursor:pointer;white-space:nowrap;border-radius:999px;flex:none;margin:0 6px;padding:3px 7px;font-weight:600}.mv-card{flex:none;position:relative}.mv-card-main{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;gap:6px;padding:0;display:flex}.mv-card-frame{height:96px;box-shadow:0 0 0 1px var(--bm-border);transition:box-shadow .14s var(--ease);border-radius:7px;display:block;position:relative;overflow:hidden}.mv-card-frame .mv-canvas{width:100%;height:100%}.mv-card:hover .mv-card-frame{box-shadow:0 0 0 1px var(--bm-text-muted)}.mv-card.is-active .mv-card-frame{box-shadow:0 0 0 2px var(--bm-text)}.mv-card-progress{background:var(--bm-accent);transform-origin:0;height:3px;position:absolute;bottom:0;left:0;right:0}.mv-card-meta{justify-content:space-between;align-items:baseline;gap:8px;padding:0 2px;display:flex}.mv-card-name{text-overflow:ellipsis;white-space:nowrap;max-width:120px;font-size:var(--text-xs);color:var(--bm-text);font-weight:600;overflow:hidden}.mv-card-time{font-size:var(--text-2xs);font-variant-numeric:tabular-nums;color:var(--bm-text-muted)}.mv-strip-add{margin-left:12px}.mv-card-add{border:1px dashed var(--bm-border);width:92px;height:96px;color:var(--bm-text-muted);font:inherit;font-size:var(--text-2xs);cursor:pointer;background:0 0;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-weight:600;display:flex}.mv-card-add:hover{border-color:var(--bm-text-muted);color:var(--bm-text)}.mv-strip-add .mv-add-menu{bottom:calc(100% + 6px);left:0}.mv-timeline{border-top:1px solid var(--bm-border);background:var(--bm-surface);flex:none;max-height:200px}.mv-tracks{overflow:auto hidden}.mv-tracks-content{min-width:100%;padding:0 0 8px;position:relative}.mv-ruler{border-bottom:1px solid var(--bm-border);background:repeating-linear-gradient(90deg, transparent, transparent 89px, var(--bm-surface-hover) 89px, var(--bm-surface-hover) 90px);cursor:text;height:20px;position:relative}.mv-beat{background:var(--bm-text-muted);opacity:.5;pointer-events:none;width:1px;height:6px;position:absolute;bottom:0}.mv-beat.is-down{opacity:.9;background:var(--bm-accent);height:11px}.mv-track{height:26px;margin:6px 0;position:relative}.mv-track-scenes{height:32px}.mv-block{box-sizing:border-box;cursor:pointer;height:100%;font:inherit;border-radius:6px;align-items:center;gap:6px;padding:0 8px;display:flex;position:absolute;top:0;overflow:hidden}.mv-block-label{text-overflow:ellipsis;white-space:nowrap;font-size:var(--text-2xs);font-weight:600;overflow:hidden}.mv-block-scene{border:1px solid var(--bm-border);background:var(--bm-surface-sunken);color:var(--bm-text-muted)}.mv-block-scene.is-active{border-color:var(--bm-text);color:var(--bm-text)}.mv-block-audio{border:1px solid color-mix(in srgb, var(--bm-accent) 60%, transparent);background:color-mix(in srgb, var(--bm-accent) 12%, transparent);color:var(--bm-text);touch-action:none}.mv-block-audio.is-voice{border-color:color-mix(in srgb, var(--bm-text) 40%, transparent);background:color-mix(in srgb, var(--bm-text) 8%, transparent)}.mv-block-caption{border:1px solid var(--bm-border);background:var(--bm-surface);color:var(--bm-text-muted);touch-action:none}.mv-trim{cursor:ew-resize;background:linear-gradient(90deg,#0000,#0000001f);width:8px;height:100%;position:absolute;top:0;right:0}.mv-playhead{background:var(--bm-danger);pointer-events:none;width:2px;position:absolute;top:0;bottom:0}.mv-toggles{flex-wrap:wrap;gap:6px;display:flex}.mv-toggle{border:1px solid var(--bm-border);color:var(--bm-text-muted);font:inherit;font-size:var(--text-xs);cursor:pointer;background:0 0;border-radius:999px;padding:6px 10px;font-weight:600}.mv-toggle.is-on{border-color:var(--bm-text);background:var(--bm-text);color:var(--bm-surface)}.mv-grid4{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.mv-num{flex-direction:column;gap:4px;display:flex}.mv-icon-row{gap:6px;display:flex}.mv-icon-row button{border:1px solid var(--bm-border);width:32px;height:30px;color:var(--bm-text-muted);cursor:pointer;background:0 0;border-radius:8px;place-items:center;display:grid}.mv-icon-row button:disabled{opacity:.35;cursor:default}.mv-icon-row button:hover:not(:disabled){color:var(--bm-text);border-color:var(--bm-text-muted)}.mv-replace,.mv-upload{cursor:pointer}.mv-danger{color:var(--bm-danger)}.mv-snap{gap:6px;display:grid}.mv-snap-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.mv-snap-buttons .btn{font-size:var(--text-xs);justify-content:center;padding-inline:6px}.mv-captions{gap:4px;max-height:260px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.mv-captions li{grid-template-columns:44px minmax(0,1fr) 24px;align-items:center;gap:6px;display:grid}.mv-caption-time,.mv-caption-remove{color:var(--bm-text-muted);font:inherit;font-size:var(--text-2xs);font-variant-numeric:tabular-nums;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px}.mv-caption-time:hover,.mv-caption-remove:hover{background:var(--bm-surface-hover);color:var(--bm-text)}.mv-progress{background:color-mix(in srgb, var(--bm-text) 8%, transparent);border-radius:999px;height:8px;overflow:hidden}.mv-progress span{background:var(--bm-accent);transform-origin:0;height:100%;transition:transform .12s linear;display:block}.mv-audio-pool{width:0;height:0;position:absolute;overflow:hidden}.mv-gallery{gap:28px;display:grid}.mv-templates-head h2,.mv-yours h2{font-size:var(--text-md);color:var(--bm-text);margin:0 0 4px;font-weight:650}.mv-templates-head p{max-width:62ch;font-size:var(--text-sm);color:var(--bm-text-muted);margin:0 0 14px}.mv-template-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;display:grid}.mv-template{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;gap:8px;padding:0;display:grid}.mv-template:disabled{opacity:.6;cursor:default}.mv-template-frame{background:var(--bm-surface-sunken);height:250px;box-shadow:0 0 0 1px var(--bm-border);transition:box-shadow .16s var(--ease), transform .16s var(--ease);border-radius:12px;place-items:center;padding:12px;display:grid}.mv-template:hover .mv-template-frame,.mv-template:focus-visible .mv-template-frame{box-shadow:0 0 0 1px var(--bm-text-muted), var(--bm-shadow)}.mv-template-film{border-radius:4px;max-width:100%;max-height:100%;display:block;overflow:hidden;box-shadow:0 8px 24px #0003}.mv-template.is-vertical .mv-template-film,.mv-template.is-portrait .mv-template-film{height:100%}.mv-template.is-landscape .mv-template-film,.mv-template.is-square .mv-template-film{width:100%}.mv-template-film .mv-canvas{width:100%;height:100%}.mv-template-meta{gap:2px;padding:0 2px;display:grid}.mv-template-meta strong{font-size:var(--text-sm);color:var(--bm-text);font-weight:650}.mv-template-meta small{font-size:var(--text-xs);color:var(--bm-text-muted)}@media (max-width:860px){.mv-head{padding:8px 12px}.mv-stage{min-height:300px;padding:12px}.mv-transport{flex-wrap:wrap;gap:8px 10px;padding:8px 12px}.mv-scrub{flex-basis:100%;order:5}.mv-transport-end{margin-left:auto}.mv-strip{padding:10px 12px}.mv-card-frame{height:72px}.mv-card-add{width:76px;height:72px}.mv-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mv-template-frame{height:200px;padding:8px}}@media (prefers-reduced-motion:reduce){.mv-play,.mv-card-frame,.mv-template-frame{transition:none}}.mv-gallery-actions{flex-wrap:wrap;gap:8px;display:flex}.mv-launch{z-index:80;background:var(--bm-scrim);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);place-items:center;padding:24px;display:grid;position:fixed;inset:0}.mv-launch-panel{background:var(--bm-surface-raised);border:1px solid var(--bm-border);border-radius:12px;flex-direction:column;width:min(100%,620px);max-height:calc(100dvh - 48px);display:flex;overflow:hidden;box-shadow:0 24px 80px #00000047}.mv-launch-head{border-bottom:1px solid var(--bm-border);justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px 14px;display:flex}.mv-launch-head h2{font-size:var(--text-lg);letter-spacing:-.01em;color:var(--bm-text);margin:0;font-weight:650}.mv-launch-head p{font-size:var(--text-sm);color:var(--bm-text-muted);margin:6px 0 0;line-height:1.5}.mv-launch-body{flex-direction:column;gap:14px;padding:18px 24px 22px;display:flex;overflow-y:auto}.mv-launch-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.mv-launch-row select{min-width:200px}.mv-launch-field{flex-direction:column;gap:6px;display:flex}.mv-launch-field input,.mv-launch-field textarea,.mv-launch-row select{font:inherit;font-size:var(--text-sm);border:1px solid var(--bm-border);background:var(--bm-surface);color:var(--bm-text);border-radius:8px;padding:8px 10px}.mv-launch .segmented{background:color-mix(in srgb, var(--bm-text) 6%, transparent);border-radius:9px;flex-wrap:wrap;gap:2px;padding:3px;display:flex}.mv-launch .segmented button{font:inherit;font-size:var(--text-xs);color:var(--bm-text-muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:7px;padding:6px 11px;font-weight:600}.mv-launch .segmented button.is-selected{background:var(--bm-surface-raised);color:var(--bm-text);box-shadow:0 1px 2px #0000001a}.mv-launch .segmented button:disabled{opacity:.45;cursor:default}.mv-launch-screens{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.mv-launch-screen{width:64px;height:64px;box-shadow:0 0 0 1px var(--bm-border);border-radius:8px;position:relative;overflow:hidden}.mv-launch-screen img{object-fit:cover;object-position:top;width:100%;height:100%}.mv-launch-screen button{background:var(--bm-scrim);width:20px;height:20px;color:var(--bm-text-inverse);cursor:pointer;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:3px;right:3px}.mv-launch-check{font-size:var(--text-sm);color:var(--bm-text);align-items:center;gap:8px;display:flex}.mv-launch-hint{font-size:var(--text-xs);color:var(--bm-text-muted);margin:0;line-height:1.5}.mv-launch-problem{font-size:var(--text-sm);color:var(--bm-danger);margin:0}.mv-launch-actions{justify-content:flex-end;gap:8px;display:flex}.mv-launch-steps{font-size:var(--text-sm);color:var(--bm-text-muted);flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.mv-launch-steps li{align-items:center;gap:10px;display:flex}.mv-launch-steps li:before{content:"";background:color-mix(in srgb, var(--bm-text) 18%, transparent);border-radius:50%;flex:none;width:8px;height:8px}.mv-launch-steps li.is-now{color:var(--bm-text);font-weight:600}.mv-launch-steps li.is-now:before{background:var(--bm-accent);animation:1.2s ease-in-out infinite mv-launch-pulse}.mv-launch-steps li.is-done:before{background:var(--bm-text)}.mv-launch-summary{background:color-mix(in srgb, var(--bm-text) 4%, transparent);font-size:var(--text-sm);color:var(--bm-text);border-radius:10px;flex-direction:column;gap:8px;padding:12px 14px;line-height:1.5;display:flex}.mv-launch-summary p,.mv-launch-summary ul{margin:0}.mv-launch-summary ul{padding-left:18px}.mv-launch-summary small{color:var(--bm-text-muted)}.mv-launch-share{white-space:pre-line;flex-direction:column;gap:4px;display:flex}@keyframes mv-launch-pulse{50%{opacity:.35}}@media (max-width:860px){.mv-launch{padding:0}.mv-launch-panel{border-radius:0;max-height:100dvh}.mv-launch-body{padding:14px}}@media (prefers-reduced-motion:reduce){.mv-launch-steps li.is-now:before{animation:none}}.mv-screens{flex-wrap:wrap;gap:6px;display:flex}
