/*
 * SaaS Motion Pro — css/tools/textanim.css
 * © 2026 Sabbir Hossen — SaaS Motion Pro. All rights reserved.
 */
.textanim-bar { gap: 8px; }
.textanim-bar .seg { flex: 1 1 300px; } /* room for "Loop" / "Emphasis" labels */
.textanim-search { flex: 1 1 160px; min-width: 120px; height: 30px; }
.textanim-grid .pv-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.textanim-grid .empty { padding: 18px 8px; text-align: center; }
.textanim-title { margin: 0; font-size: 13px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.textanim-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px 16px; }
.textanim-num { width: 64px; height: 26px; text-align: right; }
.textanim-unit { width: 24px; }
.textanim-remove { gap: 8px; }
.textanim-remove .select { flex: 1; min-width: 120px; height: 30px; }
.app.w-xs .textanim-bar .seg { flex: 1 1 100%; }
.app.w-xs .textanim-search { flex: 1 1 100%; }
.app.w-xs .textanim-grid .pv-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
/* "On this layer" live controller */
.ta-live-name { max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-slot { padding: 8px 0; border-top: 1px solid var(--border); gap: 8px; }
.ta-slot:first-child { border-top: 0; padding-top: 0; }
.ta-slot-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-slot input[type=color] { width: 40px; height: 24px; }
