.qb-page[data-page="montage"]{background:#f6f8fc}.qb-page[data-page="montage"] .qb-page-body{max-width:1320px;margin:0 auto;width:100%;min-width:0}.qb-montage{--qm-blue:#2f65ef;--qm-line:#e3e9f3;color:#1d2b45;font-size:14px;min-width:0}.qb-montage *{box-sizing:border-box}.qb-montage button,.qb-montage input,.qb-montage select,.qb-montage textarea{font:inherit}.qb-montage button{cursor:pointer;border:1px solid var(--qm-line);background:white;color:#314462;border-radius:9px;padding:8px 12px;transition:border-color .16s,background .16s}.qb-montage button:hover:not(:disabled){border-color:#abc1fd;background:#f6f9ff}.qb-montage button:disabled{opacity:.5;cursor:not-allowed}.qb-montage :focus-visible{outline:2px solid #87a9ff;outline-offset:3px}.qb-montage h2{font-size:16px;line-height:1.5;font-weight:650;margin:0}.qb-montage p{line-height:1.6;margin:0}.qb-montage small{color:#8491a8;font-size:12px;line-height:1.5}.qb-montage textarea,.qb-montage input,.qb-montage select{width:100%;min-width:0;border:1px solid var(--qm-line);border-radius:9px;background:#fcfdff;color:#253957;padding:10px 12px}.qb-montage textarea{resize:vertical}.qb-montage textarea::placeholder{color:#9ba7ba}.qb-montage .qm-toolbar,.qb-montage .qm-section-title{display:flex;align-items:center;justify-content:space-between;gap:14px}.qb-montage .qm-toolbar{margin-bottom:18px;color:#7b8aa4}.qb-montage .qm-layout{display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:22px;align-items:start}.qb-montage .qm-main{display:grid;gap:18px;min-width:0}.qb-montage .qm-panel{background:#fff;border:1px solid var(--qm-line);border-radius:16px;padding:22px;min-width:0}.qb-montage .qm-section-title{margin-bottom:12px}.qb-montage .qm-count{display:inline-block;font-size:11px;font-weight:400;color:#8293b1;border-radius:5px;background:#f0f4fc;padding:2px 6px;vertical-align:middle;margin-left:6px}.qb-montage .qm-hint{font-size:12px;color:#8997ae;margin:5px 0 16px}.qb-montage .qm-link{display:inline-block;border:0;background:none;color:#5c80d2;text-decoration:none;font-size:12px;padding:5px 6px}.qb-montage .qm-assets{display:flex;gap:12px;overflow:auto;padding:4px 0 10px;min-height:118px}.qb-montage .qm-asset{width:100px;flex:none;min-width:0}.qb-montage .qm-asset strong{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:11px;font-weight:500;margin:5px 0}.qb-montage .qm-asset small{font-size:11px}.qb-montage .qm-thumb{display:block;width:100%;height:78px;border:0;padding:0;overflow:hidden;background:#edf1f6}.qb-montage .qm-thumb img{width:100%;height:100%;object-fit:cover}.qb-montage .qm-upload{min-width:94px;min-height:78px;height:78px;align-self:flex-start;border:1px dashed #b7c9f9;color:#7898e2;background:#f9fbff;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;margin-left:auto}.qb-montage .qm-upload b{font-size:22px;font-weight:400}.qb-montage .qm-upload span{font-size:11px}.qb-montage .qm-chips{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 20px}.qb-montage .qm-chips button{font-size:11px;padding:5px 9px;color:#8295b4}.qb-montage .qm-options{display:grid;grid-template-columns:100px 120px minmax(0,1fr);gap:16px;margin-bottom:22px}.qb-montage .qm-field{display:grid;gap:7px;min-width:0}.qb-montage .qm-field>span{color:#8190a8;font-size:12px}.qb-montage .qm-inline{display:flex;gap:6px;align-items:center;min-width:0}.qb-montage .qm-inline button{flex-shrink:0;font-size:12px}.qb-montage .qm-submit{border-top:1px solid #edf1f7;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:14px}.qb-montage .qm-submit strong{display:block;font-size:16px;font-weight:600;color:#345797}.qb-montage .qm-submit small{display:block;margin-top:5px}.qb-montage .qm-primary{background:var(--qm-blue);color:white;border-color:var(--qm-blue);padding:12px 22px;box-shadow:0 3px 9px #2f65ef18;white-space:nowrap}.qb-montage .qm-primary:hover:not(:disabled){background:#2458d8;color:white;border-color:#2458d8}.qb-montage .qm-light{background:#f6f9ff;color:#637fae;font-size:12px}.qb-montage .qm-style-panel{position:sticky;top:20px}.qb-montage .qm-style-hero{display:block;max-width:100%;width:180px;aspect-ratio:9/16;object-fit:cover;border-radius:11px;margin:18px auto}.qb-montage .qm-style-panel>strong{font-size:13px;font-weight:500;color:#627ca7}.qb-montage .qm-style-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:12px 0}.qb-montage .qm-style-grid button{padding:3px;min-width:0;border-radius:7px}.qb-montage .qm-style-grid img{display:block;width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:4px}.qb-montage .qm-style-grid span{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px;color:#8291ad}.qb-montage .qm-style-grid .selected{border-color:var(--qm-blue);box-shadow:0 0 0 1px #2f65ef}.qb-montage .qm-task{display:flex;gap:9px;align-items:center;padding:8px 0;font-size:13px}.qb-montage .qm-task>span:nth-child(2){flex:1}.qb-montage .qm-task-dot{width:7px;height:7px;border-radius:50%;background:#d9a268}.qb-montage .qm-progress{width:12px;height:12px;border:2px solid #dce6fd;border-top-color:#5080ed;border-radius:50%;animation:qm-spin 1s linear infinite}@keyframes qm-spin{to{transform:rotate(360deg)}}.qb-montage .qm-results{margin-top:22px}.qb-montage .qm-table-scroll{overflow:auto}.qb-montage table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:13px}.qb-montage th{background:#f5f8fd;color:#8796ae;font-size:12px;font-weight:400;text-align:left;padding:12px}.qb-montage th:nth-child(1){width:30%}.qb-montage th:nth-child(2){width:28%}.qb-montage th:nth-child(3){width:17%}.qb-montage th:nth-child(4){width:25%}.qb-montage td{padding:15px 12px;border-bottom:1px solid #edf1f7;vertical-align:top;overflow-wrap:anywhere}.qb-montage td p{white-space:pre-wrap}.qb-montage .qm-result-thumb{padding:0;border:0;overflow:hidden;border-radius:8px;width:70px;max-width:100%}.qb-montage .qm-result-thumb img{width:100%;display:block}.qb-montage .qm-empty{padding:36px 16px;text-align:center;color:#8795ae;font-size:14px}.qb-montage .qm-empty small{display:block;margin-top:8px}.qb-montage .qm-alert{background:#fff6ef;border:1px solid #f5d9bb;color:#93602b;padding:11px 14px;border-radius:10px;margin-bottom:14px;line-height:1.6}.qb-montage .qm-notice{font-size:12px;color:#5578af;margin:0 0 12px}.qb-montage .qm-modal-backdrop{position:fixed;inset:0;background:#14254355;z-index:1600;display:grid;place-items:center;padding:20px;backdrop-filter:blur(3px)}.qb-montage .qm-modal{width:min(780px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:24px;box-shadow:0 20px 80px #0e245733}.qb-montage .qm-close{font-size:22px;line-height:1;padding:5px 10px}.qb-montage .qm-facts-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.qb-montage .qm-asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:18px}.qb-montage .qm-asset-grid .qm-asset{width:100%}.qb-montage .qm-player{display:block;max-width:100%;max-height:72vh;margin:auto}.qb-montage .qm-modal form>.qm-field{margin-bottom:16px}.qb-montage .qm-modal form>.qm-primary{display:block;margin:16px 0 0 auto}
@media(max-width:1150px){.qb-montage .qm-layout{grid-template-columns:minmax(0,1fr) 228px;gap:16px}.qb-montage .qm-panel{padding:17px}.qb-montage .qm-options{grid-template-columns:80px 100px minmax(0,1fr);gap:10px}.qb-montage .qm-primary{padding:11px 16px}}
@media(max-width:900px){.qb-montage .qm-layout{grid-template-columns:minmax(0,1fr)}.qb-montage .qm-style-panel{position:static;display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px 16px}.qb-montage .qm-style-panel .qm-section-title{grid-column:1/-1;margin:0}.qb-montage .qm-style-hero{grid-column:1;grid-row:2/5;margin:0;width:110px}.qb-montage .qm-style-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:0}.qb-montage .qm-style-grid img{max-height:80px;object-fit:contain}.qb-montage .qm-style-panel .qm-hint{margin:0}.qb-montage .qm-results{margin-top:16px}}
@media(max-width:520px){.qb-montage .qm-toolbar{align-items:flex-start;font-size:12px}.qb-montage .qm-panel{padding:14px;border-radius:12px}.qb-montage .qm-options{grid-template-columns:1fr 1fr}.qb-montage .qm-options>.qm-field:last-child{grid-column:1/-1}.qb-montage .qm-submit{align-items:flex-start;gap:10px}.qb-montage .qm-submit small{font-size:10px}.qb-montage .qm-primary{font-size:13px;padding:10px 12px}.qb-montage .qm-facts-grid{grid-template-columns:1fr}.qb-montage table{min-width:560px}.qb-montage .qm-results .qm-section-title{align-items:flex-start}.qb-montage .qm-results .qm-section-title small{max-width:150px}.qb-montage .qm-modal{padding:17px}.qb-montage .qm-style-panel{grid-template-columns:85px minmax(0,1fr)}.qb-montage .qm-style-hero{width:85px}.qb-montage .qm-style-grid span{font-size:8px}}
@media(prefers-reduced-motion:reduce){.qb-montage *{animation:none!important;transition:none!important}}

.qb-montage .qm-preferences{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;margin:0 0 12px;color:#8d9db9;font-size:13px}.qb-montage .qm-music-entry{display:flex;gap:10px;align-items:center;min-width:0}.qb-montage .qm-music-entry>button{display:flex;gap:6px;align-items:center;padding:0;border:0;background:none;max-width:190px;color:#8d9db9}.qb-montage [data-music-label]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.qb-montage .qm-bgm-toggle{position:relative;display:inline-flex;width:36px;height:20px;flex:none}.qb-montage .qm-bgm-toggle input{opacity:0;width:36px;height:20px;position:absolute;inset:0;margin:0;z-index:1;cursor:pointer}.qb-montage .qm-bgm-toggle span{width:36px;height:20px;background:#c6d0e0;border-radius:20px}.qb-montage .qm-bgm-toggle span:after{content:'';width:16px;height:16px;position:absolute;left:2px;top:2px;border-radius:50%;background:white;transition:transform .15s}.qb-montage .qm-bgm-toggle input:checked+span{background:#809eeb}.qb-montage .qm-bgm-toggle input:checked+span:after{transform:translateX(16px)}.qb-montage .qm-bgm-toggle input:focus-visible+span{outline:2px solid #346eea;outline-offset:2px}.qb-montage .qm-bgm-toggle input:disabled+span{opacity:.5}

.music-control-compact{display:flex;align-items:center;gap:10px;margin-left:auto;min-width:0;height:18px;line-height:18px}.music-control-compact>button{display:flex;align-items:center;gap:5px;max-width:148px;min-width:0;height:18px;padding:0;background:none;border:0;color:#91a1be;font:inherit;line-height:18px;cursor:pointer}.music-control-compact svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor}.music-control-compact [data-music-label]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.music-control-compact .music-control{display:flex;align-items:center;gap:8px;margin:0;height:18px;line-height:18px;white-space:nowrap}.music-control-compact .music-control>span:first-of-type{font:inherit;color:#91a1be}.music-control-compact .switch{transition:background .18s}.music-control-compact .switch:after{transition:transform .18s,left .18s}
.bgm-popover[hidden]{display:none!important}.bgm-popover{position:fixed;z-index:1700;display:flex;flex-direction:column;box-sizing:border-box;width:420px;max-width:calc(100vw - 24px);max-height:380px;margin:0;padding:0;background:#fff;border:1px solid #dce4f3;border-radius:12px;box-shadow:0 8px 30px #263e7026;color:#263651;font-size:12px;overflow:hidden;isolation:isolate}.bgm-popover *{box-sizing:border-box}.bgm-popover button,.bgm-popover input{font:inherit}.bgm-popover button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:auto;min-height:0;border:1px solid #e3e9f4;border-radius:6px;background:white;color:#7185a6;cursor:pointer;padding:5px 8px;line-height:1.4}.bgm-popover button:hover{background:#f2f6ff;border-color:#bad0fb}.bgm-popover header{position:static;display:flex;flex:none;align-items:center;gap:8px;min-height:0;width:auto;margin:0;padding:11px 12px 6px;background:#fff}.bgm-popover header strong{font-weight:600;font-size:13px}.bgm-popover [data-count]{font-size:11px;color:#a0acc0;margin-right:auto}.bgm-popover [data-close]{font-size:18px;line-height:1;border:0;padding:2px 4px}.bgm-popover .bgm-category-strip{display:flex;align-items:center;flex:none;gap:3px;padding:4px 8px 8px;border-bottom:1px solid #edf1f7}.bgm-popover .bgm-category-strip>[data-prev],.bgm-popover .bgm-category-strip>[data-next]{width:18px;padding:3px 0;border:0;background:#f5f8fd;font-size:18px;color:#8ba0c1}.bgm-popover .bgm-categories{display:flex;flex-direction:row;flex-wrap:nowrap;gap:5px;width:auto;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:0;margin:0}.bgm-popover .bgm-categories::-webkit-scrollbar{display:none}.bgm-popover .bgm-categories button{width:auto;min-width:max-content;flex:0 0 auto;white-space:nowrap;border:0;padding:5px 8px;font-size:11px;color:#8293ad}.bgm-popover .bgm-categories [aria-pressed=true]{background:#edf3ff;color:#3268dc}.bgm-popover .bgm-search{display:flex;align-items:center;gap:7px;flex:none;padding:8px 12px}.bgm-popover input[data-search]{min-width:0;flex:1;width:0;font-size:12px;padding:6px 8px;border:1px solid #e4eaf3;border-radius:6px;background:#f9fbff;color:#31415a;line-height:1.5}.bgm-popover .bgm-search button{font-size:11px;border:0;color:#96a3b9}.bgm-popover [data-error]{font-size:11px;color:#9b754f;flex:none;padding:0 12px}.bgm-popover .bgm-tracks{min-height:50px;flex:1 1 auto;overflow-y:auto;overscroll-behavior:contain;max-height:240px;padding:0 12px}.bgm-popover .bgm-track{display:flex;align-items:center;gap:5px;padding:10px 0;border-bottom:1px solid #f0f3f8}.bgm-popover .bgm-track-info{min-width:0;flex:1;display:grid;gap:4px}.bgm-popover .bgm-track-info strong{font-weight:500;font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bgm-popover .bgm-track-info small{font-size:10px;color:#98a6bd;line-height:1.3}.bgm-popover .bgm-track button{font-size:11px;padding:4px 7px}.bgm-popover .bgm-use{background:#f4f7ff;color:#4675d5}.bgm-popover .bgm-empty{font-size:12px;color:#9aa8bc;text-align:center;padding:16px 4px}.bgm-popover footer{position:static;display:flex;flex:none;align-items:center;justify-content:space-between;padding:8px 12px;min-height:35px;margin:0;background:#fcfdff;border-top:1px solid #edf1f8;color:#a1aec2;font-size:10px}.bgm-popover footer button{font-size:10px;border:0;padding:2px 6px;color:#8298bc}.bgm-popover :focus-visible{outline:2px solid #94b3fa;outline-offset:1px}@media(max-width:560px){.music-control-compact{gap:8px}.music-control-compact>button{max-width:110px}.music-control-compact .music-control{font-size:11px;gap:5px}}@media(prefers-reduced-motion:reduce){.music-control-compact *{transition:none!important}}

.qb-montage .qm-auto-music-label{font-size:12px;color:#91a1be;white-space:nowrap}.qb-montage .qm-music-entry>button{max-width:145px}
