.vee { --c:#e5195f; --grad:linear-gradient(135deg,#ff7a18 0%,#f0145a 50%,#5b0f9e 100%); --bg:#fff; --bd:#e3e3ea; --tx:#1c1c28; max-width:1100px; margin:0 auto; color:var(--tx); font-family:inherit; box-sizing:border-box; }
.vee *, .vee *::before, .vee *::after { box-sizing:border-box; }
.vee [hidden] { display:none !important; }

.vee-drop { border:2px dashed var(--bd); border-radius:16px; padding:40px 16px; text-align:center; background:var(--bg); }
.vee-drop-icon { font-size:48px; }

.vee-btn { display:inline-block; padding:10px 18px; border:1px solid var(--bd); border-radius:10px; background:#f4f4f8; color:var(--tx); cursor:pointer; font-size:14px; text-decoration:none; line-height:1.3; }
.vee-btn:hover { background:#ebebf2; }
.vee-btn.primary { background:var(--grad); border-color:transparent; color:#fff; }
.vee-btn.primary:hover { filter:brightness(1.1); }
.vee-btn.small { padding:6px 12px; }
.vee-btn:disabled { opacity:.5; cursor:not-allowed; }

.vee-editor { display:grid; grid-template-columns:1fr; gap:20px; }
@media (min-width: 860px) {
  .vee-editor { grid-template-columns:minmax(0,1fr) 360px; align-items:start; }
  .vee-results { grid-column:1 / -1; }
}

.vee-stage { background:#111; border-radius:16px; padding:12px; }
.vee-tabs { display:flex; gap:8px; margin-bottom:10px; }
.vee-tabs button { flex:1; padding:8px; border-radius:8px; border:1px solid #333; background:#1f1f2b; color:#bbb; cursor:pointer; }
.vee-tabs button.active { background:var(--grad); border-color:transparent; color:#fff; }
.vee-canvas-wrap { display:flex; justify-content:center; background:#000; border-radius:10px; overflow:hidden; }
.vee-canvas-wrap canvas { max-width:100%; max-height:70vh; height:auto; width:auto; display:block; }
.vee-transport { display:flex; align-items:center; gap:10px; margin-top:10px; color:#ccc; font-size:13px; }
.vee-transport input[type=range] { flex:1; }

.vee-panel { background:var(--bg); border:1px solid var(--bd); border-radius:16px; padding:8px 14px; }
.vee-panel details { border-bottom:1px solid var(--bd); padding:8px 0; }
.vee-panel summary { cursor:pointer; font-weight:600; padding:6px 0; }
.vee-row { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:8px 0; font-size:14px; }
.vee-row > span { flex:0 0 38%; }
.vee-row input[type=range], .vee-row select, .vee-row textarea { flex:1; min-width:0; width:100%; }
.vee-row textarea, .vee-row select { padding:6px 8px; border:1px solid var(--bd); border-radius:8px; }
.vee-trim-info { font-size:12px; color:#666; margin-bottom:6px; }
.vee-presets { display:flex; flex-wrap:wrap; gap:6px; margin:6px 0; }
.vee-presets button { padding:6px 12px; border-radius:999px; border:1px solid var(--bd); background:#f4f4f8; cursor:pointer; font-size:13px; }
.vee-presets button:hover { background:var(--grad); color:#fff; border-color:var(--c); }

.vee-export { padding:14px 0 8px; }
.vee-export h4 { margin:0 0 8px; }
.vee-check { display:block; margin:6px 0; font-size:14px; }
.vee-export .vee-btn.primary { width:100%; margin-top:8px; padding:12px; font-size:15px; }
.vee-progress { margin-top:10px; }
.vee-bar { height:8px; background:#e8e8f0; border-radius:99px; overflow:hidden; }
.vee-bar i { display:block; height:100%; width:0; background:var(--grad); transition:width .2s; }
.vee-hint { display:block; margin-top:8px; color:#777; }

.vee-results { display:flex; flex-wrap:wrap; gap:16px; }
.vee-result { background:var(--bg); border:1px solid var(--bd); border-radius:16px; padding:12px; display:flex; flex-direction:column; gap:8px; }
.vee-result.sq { width:min(100%, 360px); }
.vee-result.tall { width:min(100%, 240px); }
.vee-result video { width:100%; border-radius:10px; background:#000; }

/* ---------- Home floating button + popup ---------- */
.vee-modal { position:fixed; inset:0; z-index:999999; display:flex; align-items:center; justify-content:center; padding:12px; }
.vee-modal[hidden] { display:none !important; }
.vee-modal-bg { position:absolute; inset:0; background:rgba(10,10,20,.7); }
.vee-modal-box { position:relative; width:min(1120px,100%); max-height:94vh; overflow:auto; background:#fff; color:#1c1c28; border-radius:18px; padding:18px; }
.vee-modal-title { margin:0 36px 14px 0; font-size:20px; }
.vee-modal-x { position:absolute; top:10px; right:10px; width:34px; height:34px; border:0; border-radius:50%; background:#eee; cursor:pointer; font-size:16px; }

.vee-brand { display:flex; align-items:center; gap:12px; margin:0 0 14px; padding:10px 14px; border-radius:14px; background:#fff; border:1px solid var(--bd); flex-wrap:wrap; }
.vee-brand img { width:52px; height:52px; border-radius:50%; display:block; }
.vee-brand-t { display:flex; flex-direction:column; line-height:1.25; }
.vee-brand-t strong { font-size:18px; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.vee-brand-t span { font-size:13px; color:#555; font-weight:600; }
.vee-brand em { margin-left:auto; font-size:12px; color:#777; font-style:normal; letter-spacing:.5px; }
.vee-credit { text-align:center; font-size:12px; color:#888; margin-top:16px; }
.vee-modal-box { padding-top:14px; }
.vee-modal-box .vee-brand { margin-right:40px; }

/* ডান পাশে ফ্লোটিং সাইড বাটন */
.vee-fab { position:fixed !important; right:0; top:50%; transform:translateY(-50%); z-index:999990; width:86px; padding:10px 6px 12px; border:0 !important; border-radius:16px 0 0 16px; background:linear-gradient(160deg,#ff7a18,#f0145a 55%,#5b0f9e) !important; color:#fff !important; cursor:pointer; box-shadow:-4px 6px 20px rgba(240,20,90,.45); display:flex !important; flex-direction:column; align-items:center; gap:6px; font-family:inherit; line-height:1.25; text-align:center; animation:veePulse 2.4s ease-in-out infinite; }
.vee-fab span { font-size:12.5px; font-weight:700; color:#fff; display:block; }
.vee-fab img { width:34px; height:34px; border-radius:50%; background:#fff; display:block; }
.vee-fab:hover { width:94px; filter:brightness(1.08); }
@keyframes veePulse { 0%,100% { box-shadow:-4px 6px 20px rgba(240,20,90,.45); } 50% { box-shadow:-4px 6px 30px rgba(240,20,90,.85); } }
@media (max-width:600px) { .vee-fab { width:72px; } .vee-fab span { font-size:11px; } }

/* মিউজিক ও ওভারলে */
.vee-ov-add { display:flex; flex-wrap:wrap; gap:8px; margin:8px 0; }
.vee-ov-list { display:flex; flex-wrap:wrap; gap:6px; margin:6px 0; }
.vee-chip { padding:6px 12px; border-radius:999px; border:1px solid var(--bd); background:#f4f4f8; cursor:pointer; font-size:13px; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.vee-chip.on { background:var(--grad); color:#fff; border-color:transparent; }
.vee-ov-edit { margin-top:8px; padding-top:6px; border-top:1px dashed var(--bd); }
.vee-ov-edit:empty { display:none; }
.vee-ov-edit input[type=text] { padding:6px 8px; border:1px solid var(--bd); border-radius:8px; }
.vee-ov-edit select { padding:6px 8px; border:1px solid var(--bd); border-radius:8px; flex:1; min-width:0; }
.vee .vee-row[hidden] { display:none !important; }

/* রেসিও ট্যাব (স্ক্রল হয়) */
.vee-tabs { overflow-x:auto; padding-bottom:4px; -webkit-overflow-scrolling:touch; }
.vee-tabs button { flex:0 0 auto !important; padding:8px 14px !important; white-space:nowrap; }

/* এক্সপোর্ট রেসিও লিস্ট */
.vee-ratios { display:grid; gap:6px; margin:8px 0; max-height:290px; overflow:auto; padding-right:4px; }
.vee-ratio { display:flex; gap:8px; align-items:flex-start; padding:6px 8px; border:1px solid var(--bd); border-radius:10px; font-size:13px; cursor:pointer; }
.vee-ratio span { display:flex; flex-direction:column; gap:2px; min-width:0; }
.vee-ratio small { color:#777; }
.vee-cust input { width:60px; padding:3px 6px; border:1px solid var(--bd); border-radius:6px; }

/* টাইমলাইন */
.vee-timeline { position:relative; height:42px; margin:10px 0 6px; background:#e4e4ec; border-radius:10px; overflow:hidden; cursor:pointer; touch-action:none; user-select:none; }
.vee-tl-track { position:absolute; inset:0; }
.vee-seg { position:absolute; top:3px; bottom:3px; background:linear-gradient(135deg,#ff7a18,#f0145a 55%,#5b0f9e); opacity:.9; border-radius:6px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:12px; overflow:hidden; }
.vee-seg.on { outline:2px solid #1c1c28; outline-offset:-2px; opacity:1; }
.vee-tl-head { position:absolute; top:0; bottom:0; width:2px; background:#111; pointer-events:none; box-shadow:0 0 0 1px rgba(255,255,255,.8); }
.vee-mark { position:absolute; top:0; bottom:0; width:3px; pointer-events:none; }
.vee-mark.in { background:#0a9b5c; }
.vee-mark.out { background:#e11d48; }
.vee-cutbtns { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0; }
.vee-cutrange { margin:10px 0; padding:8px; border:1px dashed var(--bd); border-radius:10px; font-size:13px; }

/* রেজাল্ট কার্ড */
.vee-result.land { width:min(100%, 480px); }
.vee-result-t { font-weight:600; font-size:13px; }
