/* 2026-10-28: Only video editor progress and LRC overlay components. */
#videoWorkspace .video-preview-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0}
#videoWorkspace .video-preview-actions>.video-preview-play-btn{margin:0;white-space:nowrap}
#videoWorkspace .video-preview-head{grid-template-columns:auto minmax(0,1fr) auto;column-gap:12px}
#videoWorkspace .video-step-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
#videoWorkspace .mmp-progress-options{min-width:0}
#videoWorkspace .mmp-progress-toggle{display:flex;align-items:center;gap:8px;font-weight:750;font-size:13px;cursor:pointer;margin:4px 0 10px}
#videoWorkspace .mmp-progress-toggle input{width:17px;height:17px;accent-color:#6947dc}
#videoWorkspace .mmp-progress-hint{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 12px}
#videoWorkspace .mmp-progress-styles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#videoWorkspace .mmp-progress-styles button{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;min-width:0;padding:12px 7px;cursor:pointer;border-radius:12px;border:1px solid rgba(135,112,194,.26);background:rgba(120,100,180,.055);color:var(--text);font-size:11px;font-weight:750}
#videoWorkspace .mmp-progress-styles button:hover{border-color:#8053dc}
#videoWorkspace .mmp-progress-styles button.is-selected{border:2px solid #744bd8;background:rgba(125,84,235,.14)}
#videoWorkspace .mmp-progress-styles b{white-space:nowrap;text-align:center;font-size:11px}
#videoWorkspace .mmp-progress-styles .progress-sample{display:block;position:relative;width:85%;height:20px;flex:0 0 auto;background:transparent}
#videoWorkspace .progress-sample:before{content:"";position:absolute;left:0;right:0;top:9px;height:4px;border-radius:30px;background:#777087}
#videoWorkspace .progress-sample:after{content:"";position:absolute;left:0;top:9px;width:44%;height:4px;border-radius:30px;background:#a78bfa}
#videoWorkspace .sample-minimal:before,#videoWorkspace .sample-minimal:after{height:2px;border-radius:0}
#videoWorkspace .sample-round:before,#videoWorkspace .sample-round:after{height:8px;top:7px}
#videoWorkspace .sample-glow:after{box-shadow:0 0 10px 3px #a78bfa}
#videoWorkspace .sample-gradient:after{background:linear-gradient(90deg,#7dd3fc,#a78bfa,#f472b6)}
#videoWorkspace .sample-segments:before{height:6px;top:7px;background:repeating-linear-gradient(90deg,#706a7c 0 5px,transparent 5px 8px)}
#videoWorkspace .sample-segments:after{height:6px;top:7px;background:repeating-linear-gradient(90deg,#a78bfa 0 5px,transparent 5px 8px)}
#videoWorkspace .sample-dot:after{width:11px;height:11px;top:5px;left:40%;border-radius:50%;box-shadow:0 0 6px #a78bfa}
#videoWorkspace .sample-waveform:before{height:14px;top:3px;background:repeating-linear-gradient(90deg,#706a7c 0 2px,transparent 2px 5px);clip-path:polygon(0% 40%,9% 10%,18% 70%,27% 20%,36% 80%,45% 25%,55% 95%,65% 20%,75% 65%,85% 10%,100% 50%,100% 100%,0 100%)}
#videoWorkspace .sample-waveform:after{height:14px;top:3px;width:44%;background:repeating-linear-gradient(90deg,#a78bfa 0 2px,transparent 2px 5px)}
#videoWorkspace .sample-ring:before{width:19px;height:19px;top:0;left:calc(50% - 10px);right:auto;border:4px solid #686078;background:transparent;border-radius:50%}
#videoWorkspace .sample-ring:after{width:19px;height:19px;top:0;left:calc(50% - 10px);border:4px solid transparent;border-top-color:#a78bfa;border-right-color:#a78bfa;background:transparent;border-radius:50%}
#videoWorkspace .mmp-progress-controls{margin-top:14px;gap:11px}
#videoWorkspace .mmp-progress-controls label{min-width:0}
#videoWorkspace .mmp-progress-controls label>input[type=range]{width:100%}
#videoWorkspace .mmp-progress-controls button{grid-column:1 / -1}
.mmp-lrc-modal[hidden]{display:none!important}
.mmp-lrc-modal{position:fixed;inset:0;z-index:20020;display:grid;place-items:center;padding:24px;background:rgba(19,16,29,.65)}
.mmp-lrc-dialog{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;width:min(950px,95vw);height:min(78vh,750px);min-height:360px;padding:22px;background:#fff;color:#29243d;border-radius:18px;box-shadow:0 30px 75px rgba(0,0,0,.3)}
.mmp-lrc-head{display:flex;align-items:center;justify-content:space-between;font-size:18px;font-weight:800}
.mmp-lrc-head button{font-size:26px;border:0;background:transparent;color:#514a65;cursor:pointer}
.mmp-lrc-dialog p{font-size:12px;color:#716b80;line-height:1.6;margin:0}
.mmp-lrc-table-head,.mmp-lrc-row{display:grid;grid-template-columns:108px 108px minmax(120px,1fr) 102px;align-items:center;gap:8px}
.mmp-lrc-table-head{font-size:11px;font-weight:800;color:#5c527b;padding:0 5px}
.mmp-lrc-rows{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:6px;padding:4px}
.mmp-lrc-row input{box-sizing:border-box;min-width:0;width:100%;height:37px;border:1px solid #dad4eb;border-radius:7px;padding:6px 8px;color:#29243d;background:#fff;font-size:13px}
.mmp-lrc-delete{height:36px;cursor:pointer;border:1px solid #e7d4d4;border-radius:7px;background:#fff5f5;color:#a23f48;font-size:12px}
.mmp-lrc-actions{display:flex;gap:4px;min-width:0}.mmp-lrc-actions button{height:36px;min-width:0;flex:1;padding:2px 3px;font-size:12px}.mmp-lrc-hide{cursor:pointer;border:1px solid #cdd7e5;border-radius:7px;background:#f5f8fe;color:#315e8b}.mmp-lrc-row.is-hidden .mmp-lrc-text{text-decoration:line-through;opacity:.48}.mmp-lrc-row.is-hidden .mmp-lrc-hide{background:#edf7f1;color:#21744b}
.mmp-lrc-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid #ece8f2;padding-top:12px}
.mmp-lrc-foot>button{border:1px solid #d5cbe7;background:#f4f1fb;color:#473473;border-radius:8px;padding:9px 13px;font-size:12px;font-weight:800;cursor:pointer}
.mmp-lrc-foot>button.mmp-lrc-primary{background:#6947dc;color:white;border-color:#6947dc}
#videoLrcEditStatus{margin-right:auto;color:#b12b45;font-size:12px}
@media(max-width:1024px){#videoWorkspace .video-preview-head{grid-template-columns:1fr 1fr}#videoWorkspace .video-preview-head>div:nth-child(2){grid-column:1/-1;grid-row:2}#videoWorkspace .video-preview-head>.mp4-create-btn{justify-self:end}.mmp-lrc-table-head,.mmp-lrc-row{grid-template-columns:77px 77px minmax(90px,1fr) 102px}}

/* Make the marker toggle a full-width single-row control in the two-column grid. */
#videoWorkspace .mmp-progress-controls .mmp-progress-logo-toggle{grid-column:1 / -1;display:flex;align-items:center;gap:8px;white-space:nowrap;min-width:0;}
#videoWorkspace .mmp-progress-logo-toggle input{flex:0 0 17px;margin:0;}
#videoWorkspace .mmp-progress-logo-toggle span{white-space:nowrap;}

/* Inline lyric editor: replaces sidebar controls temporarily, without modal overlay. */
#videoWorkspace .video-sidebar.mmp-lyrics-inline-active > :not(#videoLrcEditDialog){display:none!important}
#videoWorkspace .video-sidebar #videoLrcEditDialog[hidden]{display:none!important}
#videoWorkspace .video-sidebar #videoLrcEditDialog{display:block;position:relative;inset:auto;z-index:auto;padding:0;width:100%;height:auto;background:transparent;overflow:visible}
#videoWorkspace .video-sidebar #videoLrcEditDialog .mmp-lrc-dialog{width:100%;height:auto;min-height:0;max-height:none;box-shadow:none;border:1px solid #e6dff4;padding:14px;border-radius:14px}
#videoWorkspace .video-sidebar #videoLrcEditDialog .mmp-lrc-table-head,#videoWorkspace .video-sidebar #videoLrcEditDialog .mmp-lrc-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 102px;gap:5px}
#videoWorkspace .video-sidebar #videoLrcEditDialog .mmp-lrc-table-head span:nth-child(3){display:none}
#videoWorkspace .video-sidebar #videoLrcEditDialog .mmp-lrc-row .mmp-lrc-text{grid-column:1/-1;grid-row:2}
#videoWorkspace .video-sidebar #videoLrcEditDialog .mmp-lrc-rows{max-height:none;overflow:visible}
#videoWorkspace .video-sidebar #videoLrcEditDialog .mmp-lrc-foot{justify-content:flex-end}
#videoWorkspace .video-sidebar #videoLrcEditDialog #videoLrcEditStatus{flex-basis:100%}
