.mv-media-picker[data-slot=dialog-content]{display:flex;flex-direction:column;width:min(960px,calc(100vw - 40px));max-width:min(960px,calc(100vw - 40px));height:700px;max-height:calc(100dvh - 40px);gap:0;padding:0;overflow:hidden;border-radius:18px}.mv-library-origin{flex-shrink:0;margin-bottom:14px}.mv-library-origin button{min-height:40px}.mv-media-image-preview>video{width:100%;height:100%;max-height:100%;object-fit:contain}.mv-media-image>video{width:100%;height:100%;object-fit:contain}.mv-media-picker-header{flex-shrink:0;min-height:88px;justify-content:center;padding:24px 28px}.mv-media-picker-header [data-slot=dialog-title]{max-width:48%;font-size:22px;line-height:1.3}.mv-media-picker-tabs{flex:1;min-height:0;overflow:hidden;padding:0 28px}.mv-media-picker-tabs>[data-slot=tabs-list]{position:absolute;top:22px;right:68px;flex-shrink:0}.mv-media-picker-body{flex:1;overflow-y:auto;min-height:0;padding:0 2px 22px;overscroll-behavior:contain}.mv-media-picker-body [data-slot=tabs-content]{margin:0}.mv-media-stage{height:440px;min-height:440px;min-width:0;margin-top:12px;border-radius:12px;background:var(--muted);border:1px solid var(--border)}.mv-media-confirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px}.mv-media-confirmation>.beatmelo-audio-preview{max-width:none}.music-theme .mv-media-confirmation .beatmelo-audio-card{background:transparent}.music-theme .mv-media-confirmation .beatmelo-audio-summary .mv-waveform rect,.music-theme .mv-media-confirmation .beatmelo-audio-summary .mv-waveform rect:not(:nth-child(3n+1)){display:block;width:2px}.mv-media-drop{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:30px 20px;border:1.5px dashed var(--border);text-align:center}.mv-media-drop[data-dragging]{border-color:var(--primary);background:var(--beatmelo-field-focus)}.mv-media-drop-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--card);color:var(--primary-ink)}.mv-media-drop h3,.mv-media-empty h3{margin:0;font-size:16px;font-weight:600;line-height:1.4}.mv-media-drop p,.mv-media-empty p{margin:0;color:var(--muted-foreground);font-size:13px;line-height:1.6}.mv-media-drop small{color:var(--muted-foreground);font-size:12px}.mv-media-image-preview{display:flex;align-items:center;flex:1;width:100%;min-height:0;min-width:0;justify-content:center;overflow:hidden}.mv-media-image-preview>img{width:0;min-width:0;flex:1;height:100%;object-fit:contain}.mv-media-selected-header{display:flex;align-items:center;gap:12px;flex-shrink:0;width:100%;min-width:0}.mv-media-file-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:12px;background:var(--card);color:var(--primary-ink)}.mv-media-file-info{display:flex;flex:1;flex-direction:column;min-width:0;gap:3px}.mv-media-file-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;line-height:20px}.mv-media-file-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted-foreground);font-size:11px;line-height:18px}.mv-media-file-tools{display:flex;flex-shrink:0;align-items:center;gap:10px}.mv-media-file-tools>button{display:inline-flex;align-items:center;justify-content:center;height:44px;min-height:44px;gap:6px;border:1px solid var(--border);background:var(--card);cursor:pointer}.mv-media-file-tools>button:hover{background:var(--accent)}.mv-media-file-tools>button:disabled{opacity:.55;cursor:not-allowed}.mv-media-replace{padding-inline:14px;border-radius:999px;color:var(--primary-ink);font-size:12px;font-weight:500}.mv-media-remove{width:44px;border-radius:12px;color:var(--foreground)}.mv-media-confirmation .beatmelo-audio-preview[data-presentation=dialog]{display:flex;flex:1;flex-direction:column;gap:20px;min-height:0}.music-theme .mv-media-confirmation .beatmelo-audio-preview[data-presentation=dialog] .beatmelo-audio-card{flex:1;height:auto;min-height:0;gap:20px;padding:0}.music-theme .mv-media-confirmation .beatmelo-audio-preview[data-presentation=dialog] .beatmelo-audio-play{width:72px;height:72px;border-radius:14px}.music-theme .mv-media-confirmation .beatmelo-audio-preview[data-presentation=dialog] .beatmelo-audio-summary{gap:10px}.music-theme .mv-media-confirmation .beatmelo-audio-preview[data-presentation=dialog] :is(.mv-waveform,.beatmelo-audio-progress){height:84px}.music-theme .mv-media-confirmation .beatmelo-audio-preview[data-presentation=dialog] .mv-waveform rect{fill:var(--muted-foreground);opacity:.45}.music-theme .mv-media-confirmation .beatmelo-audio-preview[data-presentation=dialog] .mv-waveform rect[data-selected]{fill:var(--primary-ink);opacity:1}.mv-media-playback-progress{width:100%;min-width:0}.mv-media-hint{margin:14px 0 0;color:var(--muted-foreground);font-size:12px;line-height:1.6;min-height:20px}.mv-media-search{position:relative;display:block;width:100%;margin:2px 0 20px}.mv-media-search>svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:var(--muted-foreground);pointer-events:none}.mv-media-search input{width:100%;min-height:44px;padding:12px 16px 12px 44px;border-radius:999px;font-size:13px}.mv-media-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:350px;gap:12px;text-align:center;padding:24px}.mv-media-audio-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mv-media-audio-row{position:relative;display:flex;align-items:center;gap:13px;min-width:0;padding:12px 46px 12px 12px;border:1px solid var(--border);border-radius:12px;transition:background var(--bm-motion-feedback) var(--bm-motion-ease),border-color var(--bm-motion-feedback) var(--bm-motion-ease)}.mv-media-audio-row:hover{background:var(--muted)}.mv-media-audio-row[data-selected],.mv-media-image[data-selected]{border-color:var(--primary);background:var(--accent)}.mv-media-audio-art{flex-shrink:0;width:64px;height:64px}.mv-media-preview{position:relative;z-index:1;display:grid;place-items:center;width:64px;height:64px;padding:0;border:0;border-radius:8px;overflow:hidden;background:var(--muted);color:var(--foreground);cursor:pointer}.mv-media-preview>img{width:100%;height:100%;object-fit:cover}.mv-media-preview:focus-visible{outline:2px solid var(--ring);outline-offset:3px}.mv-media-cover-fallback{color:var(--muted-foreground);opacity:.35}.mv-media-play-icon{position:absolute;inset:0;display:grid;place-items:center;background:#0003;color:#fff}.mv-media-play-icon>svg{filter:drop-shadow(0 1px 2px #0005)}.mv-media-preview:not([data-has-cover]) .mv-media-cover-fallback{visibility:hidden}.mv-media-preview:not([data-has-cover]) .mv-media-play-icon{background:var(--accent);color:var(--primary-ink)}.mv-media-preview:not([data-has-cover]) .mv-media-play-icon>svg{filter:none}.mv-media-track-title{flex:1;min-width:0}.mv-media-track-title strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;font-size:14px;line-height:1.5}.mv-media-track-title small{display:block;margin-top:5px;color:var(--muted-foreground);font-size:12px}.mv-media-radio{position:absolute;inset:0;display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;min-width:44px;min-height:44px;cursor:pointer;padding-right:14px}.mv-media-radio input,.mv-media-image input{width:18px;height:18px;accent-color:var(--primary);cursor:pointer}.mv-media-image-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.mv-media-image{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid var(--border);border-radius:10px;overflow:hidden;cursor:pointer;transition:background var(--bm-motion-feedback) var(--bm-motion-ease),border-color var(--bm-motion-feedback) var(--bm-motion-ease)}.mv-media-image:hover{border-color:var(--primary-ink)}.mv-media-image input{position:absolute;top:12px;right:12px;z-index:1}.mv-media-image:focus-within{outline:2px solid var(--ring);outline-offset:2px}.mv-media-image img{aspect-ratio:1;width:100%;object-fit:contain;background:var(--muted)}.mv-media-image>span{padding:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}.mv-media-audio-row:focus-within,.mv-media-image:focus-within{outline:2px solid var(--ring);outline-offset:-2px}.mv-media-picker-footer{display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;gap:16px;padding:18px 28px;border-top:1px solid var(--border);background:var(--card)}.mv-media-footer-left{display:flex;align-items:center;gap:16px;min-width:0;margin-right:auto}.mv-media-selection{min-width:0;font-size:12px;line-height:1.5;color:var(--muted-foreground)}.mv-media-selection>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mv-media-selection p{color:var(--destructive);margin:0}.mv-media-actions{display:flex;flex-shrink:0;gap:10px}.mv-media-picker>[data-slot=button]{min-width:44px;min-height:44px}@media(max-width:700px){.mv-media-picker[data-slot=dialog-content]{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:16px}.mv-media-picker-header{min-height:88px;padding:22px 48px 18px 18px}.mv-media-picker-header [data-slot=dialog-title]{max-width:none;font-size:19px}.mv-media-picker-tabs{padding:0 18px;gap:12px}.mv-media-picker-body{padding-bottom:12px}.mv-media-picker-tabs>[data-slot=tabs-list]{position:static}.mv-media-search{margin-top:2px;margin-bottom:18px}.mv-media-audio-list{grid-template-columns:1fr;gap:4px}.mv-media-audio-row{padding:10px 44px 10px 10px}.mv-media-stage{height:380px;min-height:380px;margin-top:0}.mv-media-drop{gap:10px;padding:16px 12px}.mv-media-drop-icon{width:48px;height:48px}.mv-media-confirmation{gap:8px;padding:16px}.mv-media-selected-header{gap:8px}.mv-media-file-icon{width:32px;height:40px;border-radius:9px}.mv-media-file-info strong{font-size:12px}.mv-media-file-tools{gap:4px}.mv-media-replace{padding-inline:8px}.music-theme .mv-media-confirmation .beatmelo-audio-preview[data-presentation=dialog] .beatmelo-audio-card{gap:12px}.music-theme .mv-media-confirmation .beatmelo-audio-preview[data-presentation=dialog] .beatmelo-audio-play{width:56px;height:56px}.music-theme .mv-media-confirmation .beatmelo-audio-preview[data-presentation=dialog] .mv-waveform{height:72px}.mv-media-hint{min-height:39px;margin-top:8px}.mv-media-image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mv-media-picker-footer{align-items:stretch;flex-direction:column;gap:12px;padding:12px 18px}.mv-media-footer-left{gap:12px;width:100%;margin-right:0}.mv-media-actions>button{flex:1}.music-theme.mv-media-picker .mv-media-actions>button[data-slot=button]{padding-inline:12px}.mv-media-actions>button:first-child{flex:0 0 auto;min-width:76px}.mv-media-actions>button:last-child{min-width:0;min-height:44px;height:auto;white-space:normal;line-height:1.4;text-align:center}}@media(max-width:400px){.mv-media-selected-header{flex-wrap:wrap}.mv-media-file-info{flex-basis:calc(100% - 48px)}.mv-media-file-tools{margin-left:auto}}@media(max-height:760px){.mv-media-stage{height:350px;min-height:350px}}@media(max-width:700px)and (max-height:760px){.mv-media-stage{height:250px;min-height:250px}.mv-media-confirmation .beatmelo-audio-preview[data-presentation=dialog]{gap:12px}}
