.beatmelo-mv-studio{display:grid;grid-template-columns:var(--beatmelo-parameter-width) minmax(0,1fr);align-items:start;gap:0;min-width:0}.mv-form{min-width:0;background:var(--card);padding:28px 24px}.mv-fields{display:flex;flex-direction:column;gap:20px;min-width:0;padding:0 0 20px;margin:0;border:0}.beatmelo-mv-studio [role=tablist]{width:100%}.mv-uploads{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mv-field{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px;font-weight:500}.mv-field>:is(label,span){color:var(--foreground);font-size:inherit;line-height:1.6}.mv-upload>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.mv-remove{display:inline-flex;align-items:center;align-self:start;min-height:32px;gap:5px;font-size:11px;color:var(--muted-foreground)}.mv-prompt{display:flex;flex-direction:column;gap:0;font-size:13px;font-weight:500}.mv-prompt>label{display:flex;align-items:center;justify-content:space-between}.mv-prompt small{font-size:10px;font-weight:400;color:var(--muted-foreground)}.mv-prompt .beatmelo-content-editor{display:flex;flex-direction:column;overflow:hidden}.mv-prompt textarea{display:block;width:100%;resize:vertical;font-weight:400}.mv-field select{width:100%;background:#f2f1ee;font-weight:400}.mv-audio audio{width:100%;height:36px}.mv-segment{display:flex;align-items:end;gap:10px;margin-top:10px}.mv-segment label{display:flex;flex:1;flex-direction:column;min-width:0;gap:6px;font-size:11px}.mv-segment input{width:100%;min-height:40px;background:#f2f1ee;padding:8px;border-radius:8px;font-size:13px}.mv-segment>span{padding-bottom:10px;font-size:10px;color:var(--muted-foreground)}.mv-output-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mv-concert{display:flex;align-items:center;min-height:44px;gap:10px;font-size:12px}.mv-concert input{width:17px;height:17px;accent-color:var(--primary)}.mv-limit{font-size:11px;line-height:1.7;font-weight:400;color:var(--muted-foreground)}.mv-error{color:var(--destructive);font-size:12px;line-height:1.6;overflow-wrap:anywhere}.mv-error:empty{display:none}.mv-notice{display:block;color:var(--primary-ink);font-size:11px;line-height:1.7;margin-top:10px}.mv-notice:empty{display:none}.mv-results{min-width:0}.mv-results>div:first-child [role=tablist]{width:fit-content}.mv-gallery{columns:4;column-gap:14px;margin-top:0;min-height:calc(100dvh - 120px)}.mv-gallery>article{break-inside:avoid;margin-bottom:22px}.mv-reference{position:relative;overflow:hidden;border-radius:13px;background:#e8e5e1;aspect-ratio:3 / 4}.mv-reference video{width:100%;height:100%;object-fit:cover}.mv-reference>button{position:absolute;inset:0;display:grid;place-items:center;color:#fff;width:100%;height:100%}.mv-reference>button svg{box-sizing:content-box;padding:14px;border-radius:50%;background:#1e171b80;opacity:0;transition:opacity var(--bm-motion-feedback) var(--bm-motion-ease)}.mv-reference:hover>button svg,.mv-reference>button:focus-visible svg{opacity:1}.mv-reference>output{position:absolute;inset:auto 10px 10px;background:#20180be6;color:#fff;padding:8px;border-radius:6px;font-size:11px}.mv-reference-note{margin-top:20px;font-size:11px;color:var(--muted-foreground)}.mv-history{min-height:calc(100dvh - 140px);margin-top:0;font-size:12px}.mv-history-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.mv-history-heading a{display:inline-flex;align-items:center;gap:5px}.mv-history-heading button,.mv-history-heading a{display:inline-flex;align-items:center;min-height:44px;color:var(--primary-ink)}@media(min-width:1024px){.music-theme .music-shell-workspace .beatmelo-mv-studio{display:grid;height:100%;min-height:0;flex:1}.mv-form{display:flex;flex-direction:column;height:100%;min-height:0;border-right:1px solid var(--border)}.mv-fields{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.mv-results{height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:calc(24px + var(--music-player-clearance, 0px))}.mv-actions{flex-shrink:0;padding-top:14px}.mv-notice{max-height:38px;overflow-y:auto}.shared-music-player-layout[data-player-open=true] .mv-results{padding-bottom:calc(24px + var(--shared-music-player-height))}}@media(max-width:1279px){.mv-gallery{columns:3}}@media(max-width:600px){.mv-gallery{columns:2}}@media(max-width:1023px){.mv-form{padding:18px 18px 100px;border:1px solid var(--border);border-radius:16px}.mv-fields{padding:0}.mv-results{padding:26px 0 100px}.mv-gallery{min-height:0}.mv-history{min-height:240px}.mv-remove,.mv-gallery article>div>button{min-height:44px}.mv-actions{margin:0}.shared-music-player-layout[data-player-open=true] .mv-form{padding-bottom:calc(100px + var(--shared-music-player-height))}}@media(min-width:801px)and (max-width:1023px){.beatmelo-mv-studio{gap:20px}}@media(max-width:800px){.beatmelo-mv-studio{display:block}}@media(hover:none){.mv-reference>button svg{opacity:1}}@media(prefers-reduced-motion:reduce){.mv-reference>button svg{transition:none}}.mv-uploads.is-pro .mv-song-field{grid-column:1 / -1}.mv-fields[data-mv-tier] .mv-upload{min-height:108px;height:108px}.mv-file-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}.mv-file-actions>button{min-height:32px;color:var(--primary-ink);font-size:11px}.mv-style-card{position:relative;min-height:108px;height:108px;overflow:hidden;border-radius:14px}.mv-style-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.mv-style-card>span{display:flex;align-items:center;justify-content:space-between;position:absolute;inset:auto 0 0;padding:24px 10px 10px;background:linear-gradient(transparent,#17100c9c);color:#fff;font-size:12px}.mv-type-card{padding:12px;background:var(--beatmelo-field-surface, #f2f1ee);border-radius:14px}.music-theme .mv-type-card [data-slot=tabs] [data-slot=tabs-list]{width:100%;background:#e4e1db}.mv-type-card [data-slot=tabs-trigger]{flex:1}.mv-type-preview{margin-top:12px;overflow:hidden;border-radius:9px}.mv-type-preview .mv-reference{aspect-ratio:2.3;border-radius:9px}.mv-type-preview .mv-reference>button svg{opacity:1;padding:9px;width:18px;height:18px}.mv-caption-toggle{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}.mv-song-source,.mv-character-source{position:relative;min-width:0}.mv-song-source>.mv-upload,.mv-character-source>.mv-upload{width:100%}.mv-character-source .mv-remove{display:grid;place-items:center;width:32px;height:32px;min-height:32px;border-radius:50%;color:var(--muted-foreground)}.mv-character-source .mv-remove:hover{background:var(--accent);color:var(--foreground)}.mv-character-source .mv-remove{position:absolute;top:5px;right:5px}.mv-character-source .mv-upload>img{position:static;width:84px;height:84px;border-radius:8px;object-fit:cover}.mv-style-dialog{display:flex;flex-direction:column;width:calc(100% - 48px);max-width:1040px;max-height:calc(100dvh - 48px);gap:0;overflow:hidden;padding:0;border-radius:24px}.mv-style-dialog>[data-slot=dialog-header]{padding:28px 56px 24px 30px;gap:10px}.mv-style-eyebrow{color:var(--primary-ink);font-size:10px;line-height:1.5;letter-spacing:.12em;font-weight:600}.mv-style-dialog [data-slot=dialog-title]{font-size:26px;line-height:1.2;font-weight:600;letter-spacing:-.035em}.mv-style-dialog [data-slot=dialog-description]{font-size:12px;line-height:1.6}.mv-style-dialog>[data-slot=dialog-close]{top:15px;right:15px;width:44px;height:44px;border-radius:50%}.mv-style-body{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr);min-height:0;gap:28px;overflow-y:auto;overscroll-behavior:contain;padding:0 30px 24px;scroll-padding-block:8px}.mv-style-preview{min-width:0;margin:0}.mv-style-preview-image{position:relative;overflow:hidden;border-radius:16px;background:var(--muted)}.mv-style-preview-image>img{width:100%;aspect-ratio:4 / 3;height:auto;object-fit:cover}.mv-style-preview-image>span{position:absolute;bottom:12px;left:12px;padding:5px 8px;background:#20232ee8;color:#fff;border-radius:5px;font-size:9px;letter-spacing:.08em}.mv-style-preview figcaption{padding-top:18px}.mv-style-preview h3{margin:4px 0 7px;font-size:22px;font-weight:600;letter-spacing:-.03em}.mv-style-preview p{color:var(--muted-foreground);font-size:12px;line-height:1.7}.mv-style-choices{min-width:0;padding:0;border:0}.mv-style-choices-title{width:100%;padding:0 0 14px;font-size:12px;font-weight:500}.mv-style-choices-title>span{float:right;color:var(--muted-foreground)}.mv-style-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 10px}.mv-style-option{position:relative;border-radius:10px;padding:5px 5px 8px;background:var(--muted);transition:background var(--bm-motion-feedback) var(--bm-motion-ease);cursor:pointer;min-width:0}.mv-style-option:has(input:checked){background:var(--accent);box-shadow:inset 0 0 0 2px var(--primary)}.mv-style-option:hover{background:var(--accent)}.mv-style-option:has(input:disabled){opacity:.5;cursor:not-allowed}.mv-style-option:has(input:focus-visible){outline:2px solid var(--primary-ink);outline-offset:2px}.mv-style-option input{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:inherit}.mv-style-option-art{position:relative;display:block;overflow:hidden;border-radius:6px;background:var(--border)}.mv-style-option-art>img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}.mv-style-check{display:grid;place-items:center;position:absolute;right:6px;top:6px;width:21px;height:21px;border-radius:50%;background:var(--primary);color:var(--primary-foreground)}.mv-style-option-label{display:block;margin:8px 2px 2px;font-size:11px;font-weight:500;line-height:1.5}.mv-style-option-detail{display:block;margin-inline:2px;color:var(--muted-foreground);font-size:9px;line-height:1.5}.mv-style-footer{display:flex;justify-content:space-between;align-items:center;flex-shrink:0;gap:16px;border-top:1px solid var(--border);padding:18px 30px}.mv-style-footer>p{color:var(--muted-foreground);font-size:10px;line-height:1.7}.mv-style-footer>div{display:flex;align-items:center;gap:12px}.mv-style-cancel{min-height:44px;padding-inline:16px;font-size:12px;border-radius:24px;cursor:pointer}.mv-style-cancel:hover{background:var(--muted)}.mv-style-footer .beatmelo-cta{min-height:44px;padding:12px 20px;font-size:12px}@media(max-width:850px){.mv-style-body{display:flex;flex-direction:column;overflow:hidden;gap:22px}.mv-style-preview{display:grid;flex-shrink:0;grid-template-columns:120px minmax(0,1fr);gap:18px;align-items:center}.mv-style-preview-image>img{aspect-ratio:1}.mv-style-preview-image>span{display:none}.mv-style-preview figcaption{padding:0}.mv-style-preview h3{font-size:20px}.mv-style-choices{display:flex;flex-direction:column;min-height:0}.mv-style-choices-title{flex-shrink:0}.mv-style-grid{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px;margin:-4px;scroll-padding-block:6px}.mv-style-option-art>img{aspect-ratio:3 / 2}}@media(prefers-reduced-motion:reduce){.mv-style-option{transition:none}}.mv-clip-dialog{display:flex;flex-direction:column;width:calc(100% - 48px);max-width:960px;min-height:min(650px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;gap:0;overflow:hidden;border-radius:14px}.mv-clip-dialog>[data-slot=dialog-header]{padding:38px 52px 24px;text-align:center}.mv-clip-dialog [data-slot=dialog-title]{font-size:24px;line-height:1.4;color:var(--primary-ink)}.mv-clip-dialog [data-slot=dialog-description]{font-size:12px;line-height:1.7}.mv-clip-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;margin:0 20px 20px;padding:22px 24px;border-radius:12px;background:var(--beatmelo-field-surface)}.mv-clip-track{display:flex;align-items:center;gap:14px}.mv-clip-track>span:first-child{display:grid;place-items:center;width:56px;height:56px;border-radius:10px;color:var(--primary-ink);background:var(--accent)}.mv-clip-track>div{flex:1;min-width:0}.mv-clip-track strong{display:block;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mv-clip-track p,.mv-clip-track>span:last-child{font-size:11px;color:var(--muted-foreground);margin-top:6px}.mv-waveform-editor{position:relative;height:100px;margin-top:24px}.mv-waveform{display:block;width:100%;height:100%;fill:var(--border)}.mv-waveform rect[data-selected]{fill:var(--primary)}.mv-waveform-selection{position:absolute;inset-block:0;min-width:2px;border:2px solid var(--primary-ink);border-radius:5px;pointer-events:none}.mv-selection-move{position:absolute;inset:0;width:100%;height:100%;background:transparent;cursor:grab;pointer-events:auto;touch-action:none}.mv-selection-move:active{cursor:grabbing}.mv-selection-move:focus-visible{outline:2px solid var(--primary-ink);outline-offset:4px}.mv-trim-handle{position:absolute;inset:0 -9px;z-index:2;width:calc(100% + 18px);height:100%;margin:0;padding:0;appearance:none;background:transparent;pointer-events:none}.mv-trim-handle::-webkit-slider-runnable-track{background:transparent}.mv-trim-handle::-moz-range-track{background:transparent}.mv-trim-handle::-webkit-slider-thumb{appearance:none;width:18px;height:100px;border:5px solid transparent;border-radius:7px;background:var(--primary-ink);background-clip:padding-box;cursor:ew-resize;pointer-events:auto}.mv-trim-handle::-moz-range-thumb{width:8px;height:90px;border:5px solid transparent;border-radius:7px;background:var(--primary-ink);background-clip:padding-box;cursor:ew-resize;pointer-events:auto}.mv-trim-handle:focus-visible{outline:none}.mv-trim-handle:focus-visible::-webkit-slider-thumb{outline:2px solid var(--primary);outline-offset:2px}.mv-trim-handle:focus-visible::-moz-range-thumb{outline:2px solid var(--primary);outline-offset:2px}.mv-trim-handle:disabled::-webkit-slider-thumb{pointer-events:none;cursor:default}.mv-trim-handle:disabled::-moz-range-thumb{pointer-events:none;cursor:default}.mv-clip-timeline{display:flex;justify-content:space-between;font-size:10px;color:var(--muted-foreground);margin-top:8px}.mv-clip-transport{display:flex;justify-content:space-between;align-items:center;margin-top:14px;gap:10px}.mv-clip-transport button{display:flex;align-items:center;gap:8px;font-size:12px;min-height:44px}.mv-clip-transport button>span{display:grid;place-items:center;width:36px;height:36px;background:var(--card);border-radius:50%}.mv-clip-transport>strong{font-size:12px;font-weight:500}.mv-duration-trigger{justify-content:space-between;width:210px;padding:8px 12px;border-radius:8px;background:var(--card)}.mv-duration-popover{width:min(260px,calc(100vw - 32px));padding:16px}.mv-duration-popover .mv-clip-presets{margin-top:0}.mv-duration-custom{display:flex;flex-direction:column;gap:8px;margin-top:16px;font-size:12px;color:var(--muted-foreground)}.mv-duration-custom input{width:100%;min-height:44px;padding:10px 12px;border-radius:8px;background:var(--beatmelo-field-surface);color:var(--foreground)}.mv-clip-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;padding:0;border:0}.mv-clip-presets button{min-width:56px;min-height:36px;padding:6px 12px;border-radius:7px;background:var(--card);font-size:12px}.mv-clip-presets button[aria-pressed=true]{background:var(--accent);color:var(--primary-ink)}.mv-clip-dialog .mv-segment{max-width:360px;margin-top:18px}.mv-clip-dialog .mv-segment input{background:var(--card)}.mv-clip-help{margin-top:12px;font-size:11px;color:var(--muted-foreground)}.mv-dialog-actions{display:flex;flex-shrink:0;justify-content:flex-end;gap:16px;padding:16px 20px 20px}.mv-dialog-actions>button{min-width:144px;min-height:44px}@media(max-width:600px){.mv-style-dialog,.mv-clip-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.mv-style-dialog>[data-slot=dialog-header]{padding:22px 50px 20px 20px}.mv-style-body{padding:0 20px 20px}.mv-style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mv-style-preview{grid-template-columns:90px minmax(0,1fr);gap:12px}.mv-style-preview p{font-size:11px}.mv-style-preview .mv-style-eyebrow{letter-spacing:.04em;font-size:9px}.mv-style-dialog [data-slot=dialog-title]{font-size:22px}.mv-style-option-label{font-size:12px}.mv-style-option-detail{font-size:10px}.mv-style-footer{flex-direction:column;align-items:stretch;padding:12px 16px}.mv-style-footer>div{justify-content:space-between}.mv-style-footer .beatmelo-cta{flex:1}.mv-style-footer>p br{display:none}.mv-clip-dialog>[data-slot=dialog-header]{padding:34px 36px 20px}.mv-clip-dialog [data-slot=dialog-title]{font-size:20px}.mv-clip-body{margin:0 12px 12px;padding:16px}.mv-clip-track>span:last-child{display:none}.mv-clip-track>span:first-child{width:40px;height:40px}.mv-clip-transport{flex-wrap:wrap}.mv-clip-transport .mv-duration-trigger{width:100%}.mv-dialog-actions{padding:12px;gap:10px}.mv-dialog-actions>button{flex:1;min-width:0}}
