


.mlp-fmt-ic { flex: 0 0 auto; display: grid; place-items: center; width: 16px; height: 16px; }
.mlp-fmt-ic::before { content: ''; width: 9px; height: 15px; border: 1.8px solid currentColor; border-radius: 3px; }
.mlp-fmt-ic.h::before { width: 15px; height: 9px; }
.mlp-fmt-ic.s::before { width: 13px; height: 13px; }
#mlp-dur .model-menu { width: 180px; }


.mlp-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); overflow: hidden; background: #1a1a1c; border: 1px solid rgba(255,255,255,0.0355); border-radius: 24px; }
.mlp-band-list { display: flex; flex-direction: column; min-width: 0; }
.mlp-band-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 86px; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,0.0355); }
.mlp-band-row:last-child { border-bottom: 0; }
.mlp-band-name { margin: 0; color: #fff; font-size: 15px; line-height: 1.35; font-weight: 650; }
.mlp-band-text { margin: 4px 0 0; color: #a1a1aa; font-size: 13px; line-height: 1.5; }
.mlp-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding: 18px; }
.mlp-band-actions .create-button { margin-left: 0; }
.mlp-band-actions .catalog-filter-button { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 16px; border-radius: 12px; }
.mlp-band-actions .catalog-filter-button:hover { color: #fff; }
.mlp-band-demo { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 18px; border-left: 1px solid rgba(255,255,255,0.0355); }
.mlp-band-demo .mlp-demo { width: 100%; max-width: 560px; }
.catalog-icon .mlp-ic { width: 21px; height: 21px; color: #fff; }


.mlp-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; background: #1a1a1c; border: 1px solid rgba(255,255,255,0.0355); border-radius: 24px; }
.mlp-cell { display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 72px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.0355); color: #a1a1aa; font-size: 14px; line-height: 1.45; }
.mlp-cell:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.0355); }
.mlp-cell:nth-last-child(-n+2) { border-bottom: 0; }
.mlp-cell.is-ours { color: #e4e4e7; }
.mlp-cell .catalog-icon { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; }
.mlp-cell .catalog-icon svg { width: 18px; height: 18px; color: #71717a; }
.mlp-cell.is-ours .catalog-icon svg { color: #fff; }
.mlp-cell-head { justify-content: space-between; min-height: 64px; }
.mlp-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mlp-links .catalog-filter-button:hover { color: #fff; }


.mlp-demo { --cy: 12s; position: relative; overflow: hidden; background: #131314; border-radius: 20px; -webkit-user-select: none; user-select: none; }
.mlp-demo-bar { display: flex; align-items: center; height: 38px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,0.0355); color: #a1a1aa; font-size: 12px; font-weight: 500; }
.mlp-demo-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 14px; }
.mlp-demo-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mlp-ai { display: flex; flex-direction: column; gap: 10px; min-height: 104px; padding: 12px; background: #1a1a1c; border-radius: 14px; }
.mlp-ai svg { flex: 0 0 auto; width: 14px; height: 14px; }
.mlp-ai-ask { display: flex; align-items: flex-start; gap: 8px; padding: 9px 11px; background: #222223; border-radius: 11px; color: #e4e4e7; font-size: 12px; line-height: 1.4; animation: mlp-ask var(--cy) infinite; }
.mlp-ai-ask svg { margin-top: 1px; }
.mlp-ai-done { display: flex; align-items: center; gap: 6px; color: #a1a1aa; font-size: 12px; animation: mlp-done var(--cy) infinite; }
.mlp-ai-done svg { color: #4ade80; }
.mlp-rows { display: grid; gap: 10px; padding: 12px; background: #1a1a1c; border-radius: 14px; }
.mlp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #a1a1aa; font-size: 12px; }
.mlp-sw { display: flex; gap: 4px; }
.mlp-sw b { width: 16px; height: 16px; border-radius: 6px; background: #8b5cf6; }
.mlp-sw b:nth-child(2) { background: #34d399; }
.mlp-sw b:nth-child(3) { background: #fb923c; }
.mlp-font { padding: 3px 8px; background: #222223; border-radius: 8px; color: #e4e4e7; font-size: 12px; font-style: normal; }
.mlp-range { position: relative; width: 72px; height: 4px; background: #222223; border-radius: 4px; }
.mlp-range b { position: absolute; inset: 0 40% 0 0; background: #fff; border-radius: 4px; }
.mlp-range b::after { content: ''; position: absolute; top: 50%; right: -6px; width: 12px; height: 12px; margin-top: -6px; background: #fff; border-radius: 50%; }

.mlp-stage { display: flex; justify-content: center; }
.mlp-frame { position: relative; width: 190px; aspect-ratio: 9 / 16; overflow: hidden; background: #0f0f12; border-radius: 14px; }
.mlp-sc { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 22px 18px; opacity: 0; animation: mlp-scene var(--cy) infinite; animation-delay: var(--d); }
.mlp-sc1 { --d: 0s; background: linear-gradient(160deg, #3b2a6e, #15121f 70%); }
.mlp-sc2 { --d: -9s; background: linear-gradient(160deg, #134e3a, #0f1714 70%); }
.mlp-sc3 { --d: -6s; align-items: center; text-align: center; background: linear-gradient(160deg, #6b3a14, #1a120c 70%); }
.mlp-sc4 { --d: -3s; align-items: center; text-align: center; background: linear-gradient(160deg, #1d3d6e, #0e1420 70%); }
.mlp-t { display: block; overflow: hidden; }
.mlp-t b { display: block; color: #fff; font-size: 27px; line-height: 1.1; letter-spacing: -.03em; font-weight: 700; transform: translateY(105%); animation: mlp-rise var(--cy) infinite; animation-delay: calc(var(--d) + var(--o, 0s)); }
.mlp-t:nth-child(2) b { --o: .12s; }
.mlp-t3 b { --o: .24s; color: #c4b5fd; }
.mlp-under { display: block; width: 56px; height: 3px; margin-top: 14px; background: #c4b5fd; border-radius: 3px; transform: scaleX(0); transform-origin: left; animation: mlp-grow var(--cy) infinite; animation-delay: calc(var(--d) + .4s); }
.mlp-lbl { color: rgba(255,255,255,.62); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mlp-num { display: block; margin-top: 6px; color: #fff; font-size: 34px; line-height: 1; letter-spacing: -.04em; font-weight: 700; }
.mlp-sc2 .mlp-num { color: #6ee7b7; }
.mlp-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 22px; }
.mlp-bars i { flex: 1; background: linear-gradient(#6ee7b7, #10b981); border-radius: 6px 6px 3px 3px; transform: scaleY(0); transform-origin: bottom; animation: mlp-bar var(--cy) infinite; animation-delay: calc(var(--d) + var(--o)); }
.mlp-bars i:nth-child(1) { height: 34%; --o: .1s; }
.mlp-bars i:nth-child(2) { height: 48%; --o: .18s; }
.mlp-bars i:nth-child(3) { height: 42%; --o: .26s; }
.mlp-bars i:nth-child(4) { height: 66%; --o: .34s; }
.mlp-bars i:nth-child(5) { height: 100%; --o: .42s; }
.mlp-ring-box { position: relative; width: 128px; height: 128px; margin-top: 16px; }
.mlp-ring-box svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mlp-ring-bg, .mlp-ring { fill: none; stroke-width: 9; }
.mlp-ring-bg { stroke: rgba(255,255,255,.12); }
.mlp-ring { stroke: #fdba74; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: mlp-ring var(--cy) infinite; animation-delay: calc(var(--d) + .15s); }
.mlp-ring-box .mlp-num { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-size: 28px; }
.mlp-mark { display: grid; place-items: center; width: 52px; height: 52px; background: rgba(255,255,255,.1); border-radius: 16px; color: #fff; opacity: 0; animation: mlp-pop var(--cy) infinite; animation-delay: var(--d); }
.mlp-mark svg { width: 26px; height: 26px; }
.mlp-sc4 .mlp-t { margin-top: 16px; }
.mlp-sc4 .mlp-t b { --o: .15s; font-size: 22px; }
.mlp-cta { display: inline-block; margin-top: 18px; padding: 9px 18px; background: #fff; border-radius: 12px; color: #18181b; font-size: 13px; font-weight: 700; opacity: 0; animation: mlp-pop var(--cy) infinite; animation-delay: calc(var(--d) + .35s); }

.mlp-tl { position: relative; padding: 10px 14px 14px; border-top: 1px solid rgba(255,255,255,0.0355); }
.mlp-tl-ruler { display: flex; justify-content: space-between; align-items: flex-end; height: 10px; margin-bottom: 6px; }
.mlp-tl-ruler i { width: 1px; height: 5px; background: #3b3b3c; }
.mlp-tl-ruler i:nth-child(3n+1) { height: 10px; background: #4e4e50; }
.mlp-tl-row { position: relative; height: 24px; margin-top: 6px; }
.mlp-tl-texts span { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 8px; overflow: hidden; background: #222223; border-radius: 8px; color: #d4d4d8; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.mlp-tl-scenes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; height: 34px; }
.mlp-tl-scenes span { display: flex; align-items: center; min-width: 0; padding: 0 10px; overflow: hidden; border-radius: 9px; color: rgba(255,255,255,.88); font-size: 11px; font-weight: 600; white-space: nowrap; animation: mlp-clip var(--cy) infinite; animation-delay: var(--d); }
.mlp-tl-scenes .k1 { --d: 0s; background: #4c3a8a; }
.mlp-tl-scenes .k2 { --d: -9s; background: #1f6b50; }
.mlp-tl-scenes .k3 { --d: -6s; background: #8a4c1c; }
.mlp-tl-scenes .k4 { --d: -3s; background: #2a538f; }

.mlp-tl-sweep { position: absolute; top: 8px; bottom: 10px; left: 14px; right: 14px; pointer-events: none; }
.mlp-tl-sweep::before { content: ''; position: absolute; inset: 0; border-right: 2px solid #fff; transform: translateX(-100%); animation: mlp-head var(--cy) linear infinite; }

@keyframes mlp-scene { 0% { opacity: 0; transform: scale(1.04); } 2.5% { opacity: 1; transform: none; } 24% { opacity: 1; } 26.5%, 100% { opacity: 0; } }
@keyframes mlp-rise { 0% { transform: translateY(105%); } 4%, 100% { transform: none; } }
@keyframes mlp-grow { 0% { transform: scaleX(0); } 5%, 100% { transform: scaleX(1); } }
@keyframes mlp-bar { 0% { transform: scaleY(0); } 6%, 100% { transform: scaleY(1); } }
@keyframes mlp-ring { 0% { stroke-dashoffset: 100; } 9%, 100% { stroke-dashoffset: 28; } }
@keyframes mlp-pop { 0% { opacity: 0; transform: scale(.6); } 4% { opacity: 1; transform: scale(1.06); } 6%, 100% { opacity: 1; transform: none; } }
@keyframes mlp-clip { 0%, 24.6% { box-shadow: inset 0 0 0 2px rgba(255,255,255,.9); } 25%, 100% { box-shadow: inset 0 0 0 2px transparent; } }
@keyframes mlp-head { to { transform: translateX(0); } }
@keyframes mlp-ask { 0%, 2% { opacity: 0; transform: translateY(6px); } 6%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mlp-done { 0%, 18% { opacity: 0; } 22%, 94% { opacity: 1; } 100% { opacity: 0; } }

@media (max-width: 1023px) {
    .mlp-band { grid-template-columns: minmax(0, 1fr); }
    .mlp-band-demo { border-left: 0; border-top: 1px solid rgba(255,255,255,0.0355); }
}
@media (max-width: 767px) {
    
    #mlp-gen .composer-footer { grid-template-columns: minmax(0, 1fr); }
    .mlp-band-row { min-height: 0; padding: 14px; gap: 12px; }
    .mlp-band-row .catalog-icon { width: 36px; height: 36px; border-radius: 10px; }
    .mlp-band-row .catalog-icon svg { width: 18px; height: 18px; }
    .mlp-band-row { grid-template-columns: 36px minmax(0, 1fr); }
    .mlp-band-actions { padding: 14px; }
    .mlp-band-actions .create-button, .mlp-band-actions .catalog-filter-button { flex: 1 1 100%; height: 40px; }
    .mlp-band-demo { padding: 12px; }
    .mlp-table { grid-template-columns: minmax(0, 1fr); }
    .mlp-cell:nth-child(odd) { border-right: 0; }
    
    .mlp-cell:nth-child(odd) { order: 1; }
    .mlp-cell:nth-child(even) { order: 2; }
    .mlp-cell:nth-child(even):nth-child(2) { border-top: 1px solid rgba(255,255,255,0.0355); }
}
@media (max-width: 560px) {
    .mlp-demo-main { grid-template-columns: minmax(0, 1fr); }
    .mlp-demo-side { display: none; }
    .mlp-frame { width: 168px; }
    .mlp-sc { padding: 18px 15px; }
    .mlp-t b { font-size: 23px; }
    .mlp-sc4 .mlp-t b { font-size: 19px; }
    .mlp-num { font-size: 29px; }
    .mlp-bars { height: 100px; }
    .mlp-ring-box { width: 110px; height: 110px; }
    .mlp-tl-scenes span { padding: 0 7px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .mlp-demo *, .mlp-demo *::before { animation: none !important; }
    .mlp-sc1, .mlp-t b, .mlp-under, .mlp-ai-ask, .mlp-ai-done { opacity: 1; transform: none; }
    .mlp-tl-sweep { display: none; }
}
