
/* V34 – real single timeline; CSS isolates legacy strips (kept in DOM for backward compatibility). */
.mode-editor .timeline-panel{padding:4px 10px 8px!important;border:0!important;border-radius:0!important;background:#080b11!important;box-shadow:none!important;min-height:0!important;overflow:visible!important;max-height:none!important}
.mode-editor .timeline-panel>.timeline-top,
.mode-editor .timeline-panel>.v24-ruler,
.mode-editor .timeline-panel>.timeline-track,
.mode-editor .timeline-panel>.v15-cut-track,
.mode-editor .timeline-panel>.timeline-help,
.mode-editor .timeline-panel>.seek-row{display:none!important}
.mode-editor .timeline-panel>#v29-playlist{display:block!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;min-height:0!important}
/* Ensure a single visually dominant timeline, without oversized separate editing panels. */
.v34-workspace{width:100%;background:#080b11;color:#e9eff7;box-sizing:border-box;max-width:100%;padding:0 0 5px}
.v34-topline{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 7px 8px}
.v34-readout{display:inline-flex;align-items:baseline;gap:4px;font-variant-numeric:tabular-nums}
.v34-readout strong{font-size:12px;font-weight:700;color:#f0d0a3}.v34-readout small{font-size:11px;color:#8fa0b2}
.v34-sort{background:transparent;border:0;color:#d7b277;font-size:11px;font-weight:700;padding:8px 10px;border-radius:10px}
.v34-ruler{display:flex;gap:37px;align-items:center;margin:0 12px 6px;color:#7f90a0;font-size:10px;white-space:nowrap;height:15px;overflow:hidden}
.v34-timeline-viewport{position:relative;width:100%;height:84px;overflow:hidden}
.v34-timeline-scroller{position:relative;height:84px;width:100%;display:flex;align-items:center;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:none;-webkit-overflow-scrolling:touch;touch-action:pan-x;outline:none}
.v34-timeline-scroller::-webkit-scrollbar{display:none}
.v34-spacer{flex:0 0 50%;min-width:50%;height:1px}
.v34-filmline{display:flex;align-items:center;flex:0 0 auto;height:78px;min-width:max-content;gap:0}
.v34-clip-group{display:flex;align-items:center;flex:0 0 auto;height:78px;position:relative}
.v34-clip{height:68px;width:var(--clip-width);min-width:var(--clip-width);position:relative;flex:0 0 auto;background:#132338;border-radius:0;overflow:visible;border:1px solid #313b4a;border-left-width:0;box-sizing:border-box}
.v34-clip.is-current{border:2px solid #f2c581;border-radius:8px;z-index:3;box-shadow:0 0 0 1px #bf995e4a}
.v34-clip-images{display:flex;width:100%;height:100%;padding:0;margin:0;border:0;overflow:hidden;background:#152337;cursor:pointer;border-radius:inherit}
.v34-frame{display:block;flex:1 0 40px;width:40px;min-width:40px;height:100%;background:linear-gradient(135deg,#1b334a,#0c1521);background-position:center;background-size:cover;background-repeat:no-repeat;border-right:1px solid #1119263c}
.v34-trim-handle{position:absolute;z-index:5;top:0;bottom:0;display:flex;align-items:center;justify-content:center;width:18px;border:0;background:#f4d59e;color:#583d1d;touch-action:none;cursor:ew-resize}
.v34-trim-start{left:0;border-radius:5px 0 0 5px}.v34-trim-end{right:0;border-radius:0 5px 5px 0}
.v34-trim-handle i{height:24px;width:3px;background:#866131;border-radius:2px}
.v34-transition{width:28px;min-width:28px;height:30px;position:relative;z-index:4;display:flex;align-items:center;justify-content:center;border:1px solid #aec0d4;border-radius:6px;margin:0 -14px;box-shadow:0 0 0 2px #080b11;background:#e7edf4;color:#15253a;padding:3px;cursor:pointer}
.v34-transition svg{display:block;width:20px;height:20px}.v34-transition.has-effect{color:#0a2248;background:#e7be7c;border-color:#ecc98d}
.v34-add{display:flex;align-items:center;justify-content:center;height:52px;width:52px;min-width:52px;margin-left:14px;background:#e3ebf3;color:#0b1d36;border:0;border-radius:8px;box-shadow:0 1px 8px #0009;cursor:pointer}.v34-add b{font-size:27px;line-height:1}
.v34-playhead{position:absolute;left:50%;top:0;bottom:0;z-index:9;width:2px;background:#fff;box-shadow:0 0 4px #fff8;pointer-events:none;transform:translateX(-50%)}
.v34-playhead:before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #fff}
.v34-layers{display:grid;gap:5px;margin:4px 0 4px}
.v34-layer{height:31px;background:#191c22;border-radius:7px;display:flex;align-items:center;gap:9px;padding:0 7px;margin:0 2px}
.v34-layer-icon{width:26px;min-width:26px;display:flex;justify-content:center;font-size:13px;color:#8693a4}
.v34-layer button{font-size:11px;text-align:left;color:#8e99a8;background:transparent;border:0;flex:1;height:100%;padding:0}
.v34-help{display:flex;justify-content:space-between;gap:8px;padding:5px 7px 0;margin:0;font-size:9px;line-height:1.35;color:#8197ab}
.v34-empty{text-align:center;padding:28px 12px;background:#121a24;border:1px dashed #46596c;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:10px;flex-direction:column}.v34-empty span{font-size:25px;color:#f1c583}.v34-empty strong{font-size:14px}.v34-empty label{border:1px solid #e8be7d;border-radius:8px;padding:10px;font-size:12px;color:#e8c493}
/* Main preview above a unique timeline, dock directly under it. */
.mode-editor .editor-layout{gap:0!important}
@media(max-width:620px){
 .mode-editor .timeline-panel{padding:4px 8px 7px!important}
 .v34-timeline-viewport,.v34-timeline-scroller{height:79px!important}
 .v34-filmline,.v34-clip-group{height:73px}.v34-clip{height:64px}
 .v34-layer{height:29px}
 .v34-help span:nth-child(2){text-align:right}
}
/* Retire toda a barra antiga, cuja visibilidade era forçada por seletores herdados. */
.mode-editor #timeline-track,
.mode-editor #v15-cut-track,
.mode-editor .timeline-panel .timeline-top,
.mode-editor .timeline-panel .v24-ruler,
.mode-editor .timeline-panel .timeline-help,
.mode-editor .timeline-panel .seek-row,
.mode-editor .timeline-panel #seek{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important}
/* A régua visual continua, mas a faixa começa mais à esquerda como no editor de referência. */
.v34-spacer{flex-basis:33.333%!important;min-width:33.333%!important}
.v34-playhead{left:33.333%!important}
/* Reestruturação real do cabeçalho: três áreas, com + e Exportar agrupados. */
.mode-editor .content-shell .editor-top{display:grid!important;grid-template-columns:minmax(0,1fr) 78px 155px!important;gap:7px!important;padding:6px 8px!important;align-items:center!important}
.mode-editor .editor-top-left{grid-column:1!important;min-width:0!important;overflow:hidden!important}
.mode-editor .editor-top .v24-format-host{grid-column:2!important;min-width:0!important;max-width:78px!important;width:78px!important}
.mode-editor .editor-top .editor-actions{grid-column:3!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;width:155px!important;max-width:155px!important;min-width:155px!important;gap:7px!important}
.mode-editor .editor-top .editor-actions label{flex:0 0 40px!important;width:40px!important;min-width:40px!important}
.mode-editor .editor-top .editor-actions [data-action="export"]{flex:0 0 108px!important;width:108px!important;min-width:108px!important;font-size:12px!important}
.mode-editor .editor-top .v24-format-host label{width:100%!important;max-width:78px!important}
.mode-editor .editor-top #ratio-select{width:78px!important;max-width:78px!important}
.mode-editor .editor-top .v20-editor-name{min-width:0!important;overflow:hidden!important;flex:1!important}
.mode-editor .editor-top #project-name{width:100%!important;max-width:100%!important;text-overflow:ellipsis!important}
@media(max-width:410px){.mode-editor .content-shell .editor-top{grid-template-columns:minmax(0,1fr) 70px 150px!important;gap:5px!important}
.mode-editor .editor-top .v24-format-host,.mode-editor .editor-top .v24-format-host label,.mode-editor .editor-top #ratio-select{width:70px!important;max-width:70px!important}
.mode-editor .editor-top .editor-actions{width:150px!important;min-width:150px!important;max-width:150px!important;gap:6px!important}
.mode-editor .editor-top .editor-actions label{flex-basis:38px!important;width:38px!important;min-width:38px!important}
.mode-editor .editor-top .editor-actions [data-action="export"]{flex-basis:106px!important;width:106px!important;min-width:106px!important}}
body .mode-editor .content-shell .editor-top .editor-actions{width:150px!important;min-width:150px!important;max-width:150px!important;display:flex!important;grid-template-columns:none!important;justify-content:flex-end!important;gap:6px!important}
.v34-reorder{position:absolute;z-index:4;right:5px;top:5px;width:24px;height:24px;padding:0;background:#0b1c2cbd;color:#eef4fa;border:1px solid #bdd5e78a;border-radius:7px;font-size:18px;line-height:1;cursor:grab;touch-action:none}
.v34-reorder:active{cursor:grabbing}
