/* Restored integrated video-editor lyric preset UI only. Legacy lyric-studio UI is removed. */
/* 2026-10-28: editor-native lyric presets, existing editor controls unchanged */
.mmp-lyric-gallery-card{padding-bottom:15px!important}
.mmp-preset-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.mmp-preset-heading h3{margin:0 0 5px!important}
.mmp-preset-heading p{margin:0;color:var(--editorial-muted,#6b7280);font-size:12px;line-height:1.55}
.mmp-preset-heading>span{flex:none;font-size:11px;color:#7654c4;border:1px solid #b7a0e4;padding:6px 10px;border-radius:20px}
.mmp-lyric-preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;max-height:348px;overflow-y:auto;padding:2px 4px 6px 2px}
.mmp-editor-preset{min-width:0;text-align:left;padding:6px;background:var(--editorial-card,#fff);color:var(--editorial-text,#222);border:2px solid var(--editorial-line,#d4d7df);border-radius:10px;cursor:pointer;display:flex;flex-direction:column;gap:4px;transition:border-color .13s,background .13s}
.mmp-editor-preset.is-selected{border-color:#8054ce;background:rgba(133,94,212,.075)}
.mmp-editor-preset:focus-visible{outline:3px solid #7853c4;outline-offset:2px}
.mmp-editor-preset canvas{width:100%;height:auto;aspect-ratio:16/9;display:block;border-radius:5px;background:#161523}
.mmp-editor-preset strong{font-size:12px;padding-left:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mmp-editor-preset small{font-size:10px;color:var(--editorial-muted,#6b7280);padding:0 2px 4px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mmp-logo-watermark-check{display:flex;align-items:center;gap:8px;padding:8px 1px 0;font-size:13px;cursor:pointer}
.mmp-logo-watermark-check input{width:17px;height:17px;accent-color:#7853c4}

.mmp-lyric-preset-grid[data-ratio="shorts"]{grid-template-columns:repeat(3,minmax(0,1fr));}
.mmp-editor-preset[data-ratio="shorts"] canvas{aspect-ratio:9/16;}
