.painel-conteudo--editor-video {
    min-width: 0;
}

.video-editor-app,
.video-editor-app * {
    box-sizing: border-box;
}

.video-editor-app [hidden],
.video-editor-projetos [hidden] {
    display: none !important;
}

.video-editor-app > .chat-pagina-cabecalho {
    margin-bottom: 14px;
}

.video-editor-app .btn-recolher-opcoes {
    display: none;
}

.video-editor-projeto-barra {
    display: grid;
    min-height: 76px;
    margin-bottom: 14px;
    padding: 14px 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    background: linear-gradient(115deg, rgba(24, 24, 40, .99), rgba(14, 15, 26, .99));
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 14px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .025);
}

.video-editor-projeto-identidade {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}

.video-editor-projeto-marca {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--primaria-2);
    background: linear-gradient(145deg, rgba(0, 200, 83, .15), rgba(0, 200, 83, .055));
    border: 1px solid rgba(0, 230, 118, .2);
    border-radius: 11px;
    box-shadow: inset 0 1px rgba(255, 255, 255, .05);
    font-size: .85rem;
}

.video-editor-projeto-identidade {
    justify-self: start;
    max-width: 100%;
}

.video-editor-projeto-identidade .conversa-barra-info {
    flex: 0 1 auto;
    max-width: 340px;
    gap: 4px;
}

.video-editor-projeto-rotulo {
    display: block;
    color: var(--texto-fraco);
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .11em;
    line-height: 1.2;
    text-transform: uppercase;
}

.video-editor-projeto-identidade .conversa-barra-nome-linha {
    align-items: center;
}

.video-editor-projeto-identidade .conversa-barra-nome {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 280px;
    overflow: hidden;
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: .98rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-editor-projeto-identidade .btn-renomear-conversa {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.video-editor-projeto-identidade .btn-renomear-conversa:hover {
    background: rgba(0, 200, 83, .08);
}

.video-editor-topo-acoes {
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.video-editor-topo-acoes > .btn,
.video-editor-topo-acoes .editor-split {
    min-height: 39px;
}

.video-editor-topo-acoes .btn {
    min-height: 39px;
    padding: 9px 14px;
    border-radius: 9px;
    font-size: .77rem;
    line-height: 1.2;
    white-space: nowrap;
}

.video-editor-topo-acoes .btn-outline {
    background: rgba(255, 255, 255, .025);
    border-color: rgba(255, 255, 255, .1);
}

.video-editor-topo-acoes .btn-outline:hover:not(:disabled),
.video-editor-topo-acoes .btn-outline:focus-visible:not(:disabled) {
    color: var(--primaria-2);
    background: rgba(0, 200, 83, .065);
    border-color: rgba(0, 230, 118, .35);
    box-shadow: 0 5px 16px rgba(0, 0, 0, .16);
    transform: translateY(-1px);
}

.video-editor-topo-acoes .btn-primario {
    box-shadow: 0 5px 18px rgba(0, 175, 73, .24);
}

.video-editor-botao-icone {
    font-size: .92rem;
    font-weight: 500;
    line-height: 1;
}

.video-editor-topo-acoes .editor-split-main {
    min-width: 92px;
}

.video-editor-topo-acoes .editor-split-seta {
    min-width: 35px;
}

#videoSplitSalvar .editor-menu-drop {
    min-width: 190px;
    padding: 7px;
    background: #171724;
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .48);
}

#videoSplitSalvar .editor-menu-drop > button:not(.btn) {
    padding: 10px 11px;
    font-size: .79rem;
}

.video-editor-status {
    min-width: 0;
    max-width: 250px;
    color: var(--texto-fraco);
    font-size: .7rem;
    line-height: 1.4;
    text-align: right;
}

.video-editor-status:empty {
    display: none;
}

.video-editor-status:not(:empty) {
    padding: 7px 10px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 8px;
}

.video-editor-status.is-salvando {
    color: var(--primaria-2);
}

.video-editor-status.is-erro {
    color: #f87171;
}

.video-editor-grade {
    display: grid;
    grid-template-columns: minmax(330px, 355px) minmax(0, 1fr) minmax(195px, 220px);
    gap: 14px;
    align-items: stretch;
}

.video-editor-painel {
    min-width: 0;
    padding: 17px;
    background: var(--fundo-2);
    border: 1px solid var(--borda);
    border-radius: 13px;
}

.video-editor-painel-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.video-editor-painel-topo h2,
.video-editor-timeline-topo h2 {
    margin: 0;
    font-family: "Space Grotesk", Inter, sans-serif;
    font-size: .94rem;
    letter-spacing: -.01em;
}

.video-editor-painel-icone {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--primaria-2);
    background: rgba(0, 200, 83, .09);
    border: 1px solid rgba(0, 230, 118, .14);
    border-radius: 8px;
}

.video-editor-painel-desc {
    margin: 0 0 18px;
    color: var(--texto-fraco);
    font-size: .78rem;
    line-height: 1.5;
}

.video-editor-config > label,
.video-editor-campos-dois > label {
    display: block;
    margin: 13px 0 6px;
    color: var(--texto-fraco);
    font-size: .75rem;
    font-weight: 600;
}

.video-editor-config select,
.video-editor-config input[type="number"] {
    width: 100%;
    min-width: 0;
    color: var(--texto);
    background: var(--fundo-3);
    border: 1px solid var(--borda);
    border-radius: 8px;
    outline: none;
}

.video-editor-config select,
.video-editor-config input[type="number"] {
    min-height: 39px;
    padding: 8px 10px;
}

.video-editor-config select:focus,
.video-editor-config input:focus {
    border-color: var(--primaria);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, .09);
}

.video-editor-campos-dois {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.video-editor-campos-dois > label {
    margin-top: 0;
}

.video-editor-input-unidade {
    position: relative;
    display: block;
    margin-top: 6px;
}

.video-editor-input-unidade input {
    padding-right: 30px;
}

.video-editor-input-unidade > span {
    position: absolute;
    top: 50%;
    right: 9px;
    color: var(--texto-fraco);
    font-size: .68rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.video-editor-cor-linha {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: var(--fundo-3);
    border: 1px solid var(--borda);
    border-radius: 9px;
}

.video-editor-cor-linha input {
    width: 42px;
    height: 32px;
    padding: 0;
    overflow: hidden;
    background: none;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

.video-editor-cor-linha code {
    color: var(--texto-fraco);
    font-size: .75rem;
}

.video-editor-formatos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 18px;
}

.video-editor-formatos button {
    display: flex;
    min-width: 0;
    min-height: 48px;
    padding: 7px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: var(--texto);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--borda);
    border-radius: 8px;
    cursor: pointer;
    font-size: .76rem;
    font-weight: 700;
}

.video-editor-formatos button span {
    color: var(--texto-fraco);
    font-size: .65rem;
    font-weight: 400;
}

.video-editor-formatos button:hover,
.video-editor-formatos button.ativo {
    color: var(--primaria-2);
    background: rgba(0, 200, 83, .08);
    border-color: rgba(0, 230, 118, .35);
}

.video-editor-visualizacao {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 430px;
    overflow: hidden;
    place-items: center;
    background:
        radial-gradient(circle at 50% 35%, rgba(0, 200, 83, .055), transparent 42%),
        #0c0c14;
    border: 1px solid var(--borda);
    border-radius: 13px;
}

.video-editor-visualizacao::before {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .055) .65px, transparent .65px);
    background-size: 18px 18px;
    content: "";
    pointer-events: none;
}

.video-editor-canvas-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 430px;
    padding: 28px;
    align-items: center;
    justify-content: center;
}

#videoEditorCanvas {
    display: block;
    max-width: 100%;
    max-height: 560px;
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 20px 65px rgba(0, 0, 0, .5);
}

.video-editor-resumo-lista {
    margin: 16px 0 0;
}

.video-editor-resumo-lista > div {
    display: flex;
    padding: 11px 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid var(--borda);
}

.video-editor-resumo-lista dt {
    color: var(--texto-fraco);
    font-size: .73rem;
}

.video-editor-resumo-lista dd {
    margin: 0;
    color: var(--texto);
    font-size: .75rem;
    font-weight: 600;
    text-align: right;
}

.video-editor-resumo-nota {
    display: flex;
    margin-top: 18px;
    padding: 11px;
    gap: 9px;
    color: var(--texto-fraco);
    background: rgba(0, 200, 83, .055);
    border: 1px solid rgba(0, 200, 83, .12);
    border-radius: 9px;
}

.video-editor-resumo-nota > span {
    color: var(--primaria-2);
}

.video-editor-resumo-nota p {
    margin: 0;
    font-size: .7rem;
    line-height: 1.45;
}

.video-editor-timeline {
    min-width: 0;
    margin-top: 14px;
    overflow: hidden;
    background: var(--fundo-2);
    border: 1px solid var(--borda);
    border-radius: 13px;
}

.video-editor-timeline-topo {
    display: flex;
    min-height: 58px;
    padding: 11px 15px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--borda);
}

.video-editor-timeline-topo > div > span {
    display: block;
    margin-top: 3px;
    color: var(--texto-fraco);
    font-size: .69rem;
}

.video-editor-timeline-topo output {
    color: var(--primaria-2);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .75rem;
}

.video-editor-regua {
    display: flex;
    min-width: 540px;
    margin-left: 170px;
    padding: 8px 14px 7px;
    justify-content: space-between;
    color: var(--texto-fraco);
    background: rgba(0, 0, 0, .13);
    border-bottom: 1px solid var(--borda);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .6rem;
}

.video-editor-faixas {
    min-width: 540px;
    padding: 8px 0 12px;
}

.video-editor-faixa {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    min-height: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.video-editor-faixa:last-child {
    border-bottom: 0;
}

.video-editor-faixa--visual {
    min-height: 80px;
}

.video-editor-faixa-info {
    display: flex;
    min-width: 0;
    padding: 9px 8px;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .018);
    border-right: 1px solid var(--borda);
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.video-editor-faixa-info:active {
    cursor: grabbing;
}

.video-editor-faixa-arraste {
    flex: 0 0 auto;
    color: var(--texto-fraco);
    font-size: .9rem;
    line-height: 1;
    opacity: .65;
}

.video-editor-faixa.arrastando {
    position: relative;
    z-index: 8;
    opacity: .72;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .4);
}

.video-editor-faixa.arrastando,
.video-editor-faixa.video-editor-faixa-alvo {
    background: rgba(0, 200, 83, .07);
}

.video-editor-faixa.video-editor-faixa-alvo > .video-editor-faixa-info {
    box-shadow: inset 3px 0 var(--primaria-2);
}

.video-editor-faixa-icone {
    display: grid;
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--primaria-2);
    background: rgba(0, 200, 83, .07);
    border-radius: 7px;
    font-size: .72rem;
}

.video-editor-faixa-nome {
    overflow: hidden;
    font-size: .72rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-editor-faixa-lane {
    position: relative;
    min-width: 0;
    margin: 8px 12px;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0, rgba(255, 255, 255, .025) 1px, transparent 1px, transparent calc(100% / 6));
    border: 1px dashed rgba(255, 255, 255, .075);
    border-radius: 6px;
}

.video-editor-projetos {
    margin-top: 27px;
}

.video-editor-projetos .cartao-criacao.atual {
    border-color: var(--primaria);
    box-shadow: 0 0 0 2px rgba(0, 200, 83, .1);
}

:is(#modalExportarVideo, #modalTranscreverVideo, #modalSalvarVideoComo) {
    padding: 20px;
    color-scheme: dark;
    background: rgba(3, 5, 10, .78);
    backdrop-filter: blur(10px);
}

.video-editor-modal-caixa {
    width: 100%;
    max-width: 470px;
    max-height: min(88vh, 760px);
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(150deg, #191927 0%, #11111d 58%, #0f101a 100%);
    border: 1px solid rgba(255, 255, 255, .105);
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .62), inset 0 1px rgba(255, 255, 255, .035);
    scrollbar-width: thin;
    animation: video-editor-modal-in .18s ease-out;
}

@keyframes video-editor-modal-in {
    from { opacity: 0; transform: translateY(8px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.video-editor-modal-caixa .picker-topo {
    position: sticky;
    z-index: 3;
    top: 0;
    padding: 18px 20px;
    background: rgba(23, 23, 37, .94);
    border-bottom: 1px solid rgba(255, 255, 255, .075);
    backdrop-filter: blur(12px);
}

.video-editor-modal-titulo {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.video-editor-modal-titulo h3 {
    margin: 0;
    color: var(--texto);
    font-size: 1.12rem;
    letter-spacing: -.015em;
}

.video-editor-modal-icone {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--primaria-2);
    background: rgba(0, 200, 83, .09);
    border: 1px solid rgba(0, 230, 118, .18);
    border-radius: 9px;
    font-size: .75rem;
    font-weight: 700;
}

.video-editor-modal-caixa .picker-topo > button {
    display: grid;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    padding: 0;
    place-items: center;
    color: var(--texto-fraco);
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 9px;
    font-size: .85rem;
    transition: color .15s ease, background .15s ease, border-color .15s ease;
}

.video-editor-modal-caixa .picker-topo > button:hover,
.video-editor-modal-caixa .picker-topo > button:focus-visible {
    color: var(--texto);
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .16);
    outline: none;
}

.video-editor-modal-caixa .editor-salvar-como-form {
    padding: 21px 22px 22px;
    gap: 0;
}

.video-editor-modal-caixa .editor-salvar-como-form > label {
    display: block;
    margin: 0 0 7px;
    color: #c7c7d5;
    font-size: .86rem;
    font-weight: 600;
    letter-spacing: .015em;
}

.video-editor-modal-caixa .editor-salvar-como-form select,
.video-editor-modal-caixa .editor-salvar-como-form input[type="text"] {
    width: 100%;
    min-height: 44px;
    margin: 0 0 17px;
    padding: 10px 12px;
    color: var(--texto);
    background-color: #0e0f19;
    border: 1px solid rgba(255, 255, 255, .105);
    border-radius: 10px;
    outline: none;
    font-family: Inter, system-ui, sans-serif;
    font-size: .92rem;
    line-height: 1.4;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.video-editor-modal-caixa .editor-salvar-como-form select {
    padding-right: 40px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a8a8b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    cursor: pointer;
}

.video-editor-modal-caixa .editor-salvar-como-form select:hover,
.video-editor-modal-caixa .editor-salvar-como-form input[type="text"]:hover {
    border-color: rgba(255, 255, 255, .2);
}

.video-editor-modal-caixa .editor-salvar-como-form select:focus,
.video-editor-modal-caixa .editor-salvar-como-form input[type="text"]:focus {
    background-color: #11131e;
    border-color: var(--primaria);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, .11);
}

.video-editor-modal-caixa .editor-salvar-como-form option {
    color: var(--texto);
    background: #151522;
}

.video-editor-modal-caixa .editor-salvar-como-form .dica {
    margin: -2px 0 17px;
    padding: 12px 13px;
    color: var(--texto-fraco);
    background: rgba(255, 255, 255, .022);
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 10px;
    font-family: Inter, system-ui, sans-serif;
    font-size: .84rem;
    line-height: 1.55;
}

.video-editor-modal-caixa .editor-salvar-como-form .video-editor-custo-transcricao {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--texto);
    background: rgba(0, 200, 83, .055);
    border-color: rgba(0, 230, 118, .13);
    font-weight: 600;
}

.video-editor-custo-transcricao > span:last-child {
    flex: 1;
}

.video-editor-pontos-icone {
    display: inline-flex;
    padding: 3px 7px;
    align-items: center;
    justify-content: center;
    color: var(--primaria-2);
    background: rgba(0, 200, 83, .15);
    border-radius: 999px;
    font-size: .9rem;
    line-height: 1.2;
}

.video-editor-modal-caixa .editor-salvar-como-form > .btn-primario,
.video-editor-modal-caixa .video-export-pronto .btn {
    width: 100%;
    min-height: 48px;
    margin-top: 2px;
    border-radius: 10px;
    font-family: Inter, system-ui, sans-serif;
    font-size: .92rem;
    font-weight: 700;
    box-shadow: 0 7px 22px rgba(0, 175, 73, .25);
}

.video-editor-modal-caixa .btn:focus-visible {
    outline: 2px solid var(--primaria-2);
    outline-offset: 2px;
}

.video-editor-modal-caixa .editor-salvar-como-acoes {
    margin-top: 2px;
    gap: 9px;
}

.video-editor-modal-caixa .editor-salvar-como-acoes .btn {
    min-height: 41px;
    padding: 9px 15px;
    border-radius: 9px;
    font-size: .77rem;
}

.video-editor-modal-caixa .editor-salvar-como-acoes .btn-outline {
    background: rgba(255, 255, 255, .025);
}

.video-editor-modal-caixa .video-export-legendas {
    padding: 16px 22px 20px;
    background: rgba(0, 0, 0, .1);
    border-top: 1px solid rgba(255, 255, 255, .065);
}

.video-editor-modal-caixa .video-export-legendas > span {
    color: #b8b8c8;
    font-size: .74rem;
    font-weight: 600;
}

.video-editor-modal-caixa .video-export-legendas .btn {
    min-width: 66px;
    min-height: 36px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, .025);
    border-radius: 8px;
    font-size: .72rem;
}

.video-editor-modal-caixa .video-export-progresso,
.video-editor-modal-caixa .video-export-pronto {
    padding: 24px 22px;
}

.video-editor-modal-caixa .video-export-progresso p,
.video-editor-modal-caixa .video-export-pronto p {
    margin: 0 0 12px;
    font-size: .82rem;
}

.video-editor-modal-caixa .video-export-progresso progress {
    height: 8px;
    overflow: hidden;
    background: #0c0d15;
    border: 0;
    border-radius: 20px;
    appearance: none;
}

.video-editor-modal-caixa .video-export-progresso progress::-webkit-progress-bar {
    background: #0c0d15;
    border-radius: 20px;
}

.video-editor-modal-caixa .video-export-progresso progress::-webkit-progress-value {
    background: var(--gradiente);
    border-radius: 20px;
}

.video-editor-modal-caixa .video-export-progresso progress::-moz-progress-bar {
    background: var(--gradiente);
    border-radius: 20px;
}

@media (max-width: 520px) {
    :is(#modalExportarVideo, #modalTranscreverVideo, #modalSalvarVideoComo) {
        padding: 12px;
    }

    .video-editor-modal-caixa {
        max-height: 92vh;
        border-radius: 15px;
    }

    .video-editor-modal-caixa .picker-topo,
    .video-editor-modal-caixa .editor-salvar-como-form,
    .video-editor-modal-caixa .video-export-legendas {
        padding-right: 17px;
        padding-left: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-editor-modal-caixa {
        animation: none;
    }
}

@media (max-width: 1350px) {
    .video-editor-grade {
        grid-template-columns: minmax(300px, 330px) minmax(0, 1fr);
    }
}

@media (max-width: 1100px) {
    .video-editor-grade {
        grid-template-columns: 1fr;
    }

    .video-editor-config,
    .video-editor-resumo {
        display: block;
    }

    .video-editor-config {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 18px;
    }

    .video-editor-config .video-editor-painel-topo,
    .video-editor-config .video-editor-painel-desc,
    .video-editor-config .video-editor-formatos {
        grid-column: 1 / -1;
    }

    .video-editor-resumo-lista {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .video-editor-resumo-nota {
        margin-top: 15px;
    }
}

@media (max-width: 760px) {
    .video-editor-projeto-barra {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }

    .video-editor-topo-acoes {
        justify-content: flex-start;
    }

    .video-editor-status {
        width: 100%;
        max-width: none;
        text-align: left;
    }

    .video-editor-grade {
        gap: 10px;
    }

    .video-editor-config {
        display: block;
    }

    .video-editor-visualizacao,
    .video-editor-canvas-wrap {
        min-height: 360px;
    }

    .video-editor-canvas-wrap {
        padding: 14px;
    }

    .video-editor-resumo-lista {
        grid-template-columns: 1fr 1fr;
    }

    .video-editor-timeline {
        overflow-x: auto;
    }

    .video-editor-timeline-topo {
        min-width: 540px;
    }
}

@media (max-width: 480px) {
    .video-editor-topo-acoes .btn,
    .video-editor-topo-acoes .editor-split {
        max-width: 100%;
    }

    #btnNovoVideoProjeto,
    #btnVideoExportar {
        flex: 1 1 140px;
    }

    #videoSplitSalvar {
        flex: 1 1 100%;
    }

    #videoSplitSalvar .editor-split-main {
        flex: 1;
    }
}

.video-editor-coluna-esq {
    display: grid;
    min-width: 0;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.video-editor-menu-lateral {
    position: sticky;
    top: 12px;
    display: flex;
    min-width: 0;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
    background: var(--fundo-2);
    border: 1px solid var(--borda);
    border-radius: 12px;
}

.video-editor-menu-lateral button {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 7px 3px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--texto-fraco);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: .83rem;
    line-height: 1.15;
    text-align: center;
}

.video-editor-menu-lateral button > span:first-child {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: var(--texto);
    font-size: .9rem;
    font-weight: 700;
}

.video-editor-menu-lateral button > span:last-child {
    overflow-wrap: anywhere;
}

.video-editor-menu-lateral button:hover {
    color: var(--texto);
    background: rgba(255, 255, 255, .035);
}

.video-editor-menu-lateral button.ativo {
    color: var(--primaria-2);
    background: rgba(0, 200, 83, .09);
    border-color: rgba(0, 230, 118, .25);
}

.video-editor-menu-lateral button.ativo > span:first-child {
    color: var(--primaria-2);
}

.video-editor-menu-lateral button:focus-visible {
    outline: 2px solid var(--primaria);
    outline-offset: 2px;
}

.video-editor-menu-conteudo,
.video-editor-menu-painel {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 12px;
}

.video-editor-menu-dica {
    margin: 0;
    padding: 11px 13px;
    color: var(--texto-fraco);
    background: rgba(255, 255, 255, .018);
    border: 1px dashed var(--borda);
    border-radius: 10px;
    font-size: .7rem;
    line-height: 1.5;
}

fieldset.video-editor-painel {
    margin: 0;
    transition: opacity .18s ease;
}

fieldset.video-editor-painel:disabled {
    opacity: .48;
}

fieldset.video-editor-painel:disabled input,
fieldset.video-editor-painel:disabled select,
fieldset.video-editor-painel:disabled textarea,
fieldset.video-editor-painel:disabled button {
    cursor: not-allowed;
}

#videoCropCampos {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

#videoCropCampos:disabled {
    opacity: .48;
}

.video-editor-velocidade {
    margin-top: 15px;
}

.video-editor-velocidade label {
    display: block;
    margin-bottom: 6px;
    color: var(--texto-fraco);
    font-size: .7rem;
}

.video-editor-velocidade select {
    width: 100%;
    padding: 8px;
    color: var(--texto);
    background: var(--fundo-3);
    border: 1px solid var(--borda);
    border-radius: 7px;
}

.video-editor-biblioteca-acoes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 9px;
}

.video-editor-upload {
    width: 100%;
    justify-content: center;
}

.video-editor-upload.arrastando {
    color: var(--primaria-2);
    border-color: var(--primaria);
    background: rgba(0, 200, 83, .09);
}

.video-editor-upload-progresso {
    margin-top: 12px;
    color: var(--texto-fraco);
    font-size: .7rem;
}

.video-editor-upload-progresso progress {
    display: block;
    width: 100%;
    height: 6px;
    margin-top: 7px;
    accent-color: var(--primaria);
}

.video-editor-assets {
    display: flex;
    margin-top: 13px;
    flex-direction: column;
    gap: 7px;
}

.video-editor-assets-vazio {
    margin: 13px 0 0;
    font-size: .71rem;
    line-height: 1.45;
}

.video-editor-asset {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 27px;
    gap: 8px;
    align-items: center;
    padding: 7px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--borda);
    border-radius: 9px;
}

.video-editor-asset-mini {
    display: grid;
    width: 38px;
    height: 38px;
    overflow: hidden;
    place-items: center;
    color: var(--primaria-2);
    background: var(--fundo-3);
    border-radius: 7px;
    font-size: .75rem;
}

.video-editor-asset-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-editor-asset-nome {
    overflow: hidden;
    font-size: .69rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-editor-asset-meta {
    display: block;
    margin-top: 2px;
    color: var(--texto-fraco);
    font-size: .61rem;
}

.video-editor-asset-add {
    width: 27px;
    height: 27px;
    padding: 0;
    color: var(--primaria-2);
    background: rgba(0, 200, 83, .08);
    border: 1px solid rgba(0, 230, 118, .18);
    border-radius: 7px;
    cursor: pointer;
}

.video-editor-asset-add:hover {
    background: rgba(0, 200, 83, .18);
}

.video-editor-visualizacao {
    grid-template-rows: minmax(0, 1fr) auto;
}

.video-editor-transporte {
    position: relative;
    z-index: 2;
    display: grid;
    width: 100%;
    min-height: 58px;
    padding: 10px 14px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    background: rgba(16, 16, 28, .94);
    border-top: 1px solid var(--borda);
}

.video-editor-play {
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0 0 0 2px;
    place-items: center;
    color: #07140c;
    background: var(--primaria-2);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.video-editor-play:disabled {
    color: var(--texto-fraco);
    background: var(--fundo-3);
    cursor: not-allowed;
    opacity: .55;
}

#videoSeek {
    width: 100%;
    min-width: 0;
    accent-color: var(--primaria);
}

.video-editor-transporte output {
    min-width: 91px;
    color: var(--texto-fraco);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .68rem;
    text-align: right;
}

.video-editor-timeline-corpo {
    position: relative;
}

.video-editor-regua {
    cursor: crosshair;
}

.video-editor-area-fora {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    background: repeating-linear-gradient(135deg, rgba(5, 6, 10, .55) 0, rgba(5, 6, 10, .55) 7px, rgba(15, 16, 23, .45) 7px, rgba(15, 16, 23, .45) 14px);
    border-left: 1px solid rgba(245, 185, 66, .4);
    pointer-events: none;
}

.video-editor-outpoint {
    position: absolute;
    z-index: 6;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #f5b942;
    box-shadow: 0 0 8px rgba(245, 185, 66, .3);
    pointer-events: none;
}

.video-editor-outpoint > span {
    position: absolute;
    top: 3px;
    left: 4px;
    padding: 2px 5px;
    color: #241a05;
    background: #f5b942;
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .55rem;
    font-weight: 700;
    white-space: nowrap;
}

.video-editor-ruler-menu {
    position: fixed;
    z-index: 320;
    display: flex;
    width: 230px;
    padding: 7px;
    flex-direction: column;
    gap: 3px;
    color: var(--texto);
    background: #191927;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 11px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
}

.video-editor-ruler-menu > span {
    padding: 6px 9px;
    color: #f5b942;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .72rem;
    font-weight: 700;
}

.video-editor-ruler-menu > button {
    padding: 9px;
    color: var(--texto);
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font-family: inherit;
    font-size: .76rem;
    text-align: left;
}

.video-editor-ruler-menu > button:hover:not(:disabled),
.video-editor-ruler-menu > button:focus-visible {
    color: var(--primaria-2);
    background: rgba(0, 200, 83, .09);
    outline: none;
}

.video-editor-ruler-menu > button:disabled {
    cursor: not-allowed;
    opacity: .35;
}

.video-editor-playhead {
    position: absolute;
    z-index: 5;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--primaria-2);
    box-shadow: 0 0 8px rgba(0, 230, 118, .45);
    pointer-events: none;
}

.video-editor-playhead::before {
    position: absolute;
    top: 0;
    left: -4px;
    width: 9px;
    height: 9px;
    background: var(--primaria-2);
    border-radius: 2px;
    content: "";
    transform: rotate(45deg);
}

.video-editor-clipe {
    position: absolute;
    top: 5px;
    bottom: 5px;
    display: flex;
    min-width: 5px;
    overflow: hidden;
    padding: 5px 7px;
    align-items: center;
    color: #d8ffe7;
    background: linear-gradient(120deg, rgba(0, 160, 66, .75), rgba(0, 110, 52, .72));
    border: 1px solid rgba(0, 230, 118, .55);
    border-radius: 5px;
    font-size: .61rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-editor-clipe--audio {
    color: #e5dcff;
    background: linear-gradient(120deg, rgba(114, 74, 184, .75), rgba(73, 48, 131, .78));
    border-color: rgba(183, 143, 255, .52);
}

.video-editor-clipe--visual {
    padding: 0;
    align-items: stretch;
    background: #0d1512;
}

.video-editor-clipe-miniaturas {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    background-color: #101b17;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.video-editor-clipe-miniaturas.miniaturas-prontas {
    opacity: .8;
}

.video-editor-clipe-miniaturas--imagem {
    background-repeat: repeat-x;
    background-size: auto 100%;
    opacity: .68;
}

.video-editor-clipe-miniaturas::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 90, 42, .18), rgba(0, 0, 0, .06));
    content: "";
}

.video-editor-clipe-rotulo {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 17px 7px 5px;
    align-self: flex-end;
    overflow: hidden;
    color: #f0fff6;
    background: linear-gradient(transparent, rgba(3, 12, 8, .86));
    font-size: .59rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px #000;
    white-space: nowrap;
    pointer-events: none;
}

.video-picker-caixa {
    width: min(940px, calc(100vw - 32px));
    max-width: 940px;
}

.video-picker-origens,
.video-picker-filtros {
    display: flex;
    padding: 0 18px;
    flex-wrap: wrap;
    gap: 7px;
}

.video-picker-origens {
    margin-bottom: 10px;
}

.video-picker-filtros {
    margin-bottom: 14px;
}

.video-picker-origens button,
.video-picker-filtros button {
    padding: 7px 11px;
    color: var(--texto-fraco);
    background: var(--fundo-3);
    border: 1px solid var(--borda);
    border-radius: 8px;
    cursor: pointer;
    font-size: .75rem;
}

.video-picker-origens button.ativo,
.video-picker-filtros button.ativo {
    color: var(--primaria-2);
    background: rgba(0, 200, 83, .1);
    border-color: var(--primaria);
}

.video-picker-grade {
    max-height: min(560px, 62vh);
    padding: 0 18px 18px;
    overflow-y: auto;
}

.video-picker-item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    color: var(--texto);
    background: var(--fundo-3);
    border: 1px solid var(--borda);
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
}

.video-picker-item:hover {
    border-color: var(--primaria);
}

.video-picker-item-mini {
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    place-items: center;
    color: var(--primaria-2);
    background: #0c0c14;
    font-size: 1.4rem;
}

.video-picker-item-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-picker-item-nome {
    display: block;
    overflow: hidden;
    padding: 8px 9px;
    font-size: .7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-picker-vazio {
    margin: 0;
    padding: 25px 18px;
}

@media (max-width: 1100px) {
    .video-editor-coluna-esq {
        grid-template-columns: 92px minmax(0, 1fr);
    }
}

@media (max-width: 650px) {
    .video-editor-coluna-esq {
        grid-template-columns: minmax(0, 1fr);
    }

    .video-editor-menu-lateral {
        position: static;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .video-editor-menu-lateral button {
        min-height: 54px;
        font-size: .78rem;
    }

    .video-editor-transporte {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .video-editor-transporte output {
        display: none;
    }
}

.video-editor-timeline-acoes {
    display: flex;
    margin-left: auto;
    gap: 7px;
}

.video-editor-timeline-acoes button {
    padding: 6px 9px;
    color: var(--texto-fraco);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--borda);
    border-radius: 7px;
    cursor: pointer;
    font-size: .68rem;
}

.video-editor-timeline-acoes button:hover {
    color: var(--primaria-2);
    border-color: var(--primaria);
}

.video-editor-clipe {
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.video-editor-clipe:active,
.video-editor-clipe.arrastando {
    z-index: 7;
    cursor: grabbing;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
}

@media (max-width: 760px) {
    .video-editor-timeline-acoes {
        margin-left: 0;
    }
}

.video-editor-app > .chat-pagina-cabecalho {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.video-editor-app > .chat-pagina-cabecalho .chat-pagina-titulo {
    flex: 1 1 auto;
}

.video-editor-app > .chat-pagina-cabecalho .chat-pagina-selos {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
}

.video-editor-app > .chat-pagina-cabecalho > .chat-pagina-lead {
    display: none;
}

.video-editor-app > .chat-pagina-cabecalho > .chat-pagina-lead.aberto {
    position: absolute;
    z-index: 30;
    top: calc(100% + 9px);
    right: 0;
    left: auto;
    display: block;
    width: min(650px, 100%);
    max-width: 100%;
    margin: 0;
    padding: 15px 18px;
    color: var(--texto);
    background: var(--fundo-3);
    border: 1px solid var(--borda);
    border-radius: 11px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .5);
    font-size: 1rem;
    line-height: 1.6;
}

.video-editor-visualizacao {
    height: 520px;
    min-height: 0;
}

.video-editor-canvas-wrap {
    height: auto;
    min-height: 0;
    padding: 22px;
}

#videoEditorCanvas {
    max-height: 430px;
}

@media (max-width: 760px) {
    .video-editor-visualizacao {
        height: 400px;
    }

    #videoEditorCanvas {
        max-height: 320px;
    }
}

.video-editor-edicao-barra {
    display: flex;
    padding: 8px 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    background: rgba(0, 0, 0, .1);
    border-bottom: 1px solid var(--borda);
}

.video-editor-edicao-grupo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-editor-edicao-grupo button {
    min-width: 28px;
    min-height: 28px;
    padding: 4px 7px;
    color: var(--texto-fraco);
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--borda);
    border-radius: 6px;
    cursor: pointer;
    font-size: .68rem;
}

.video-editor-edicao-grupo button:hover:not(:disabled),
.video-editor-edicao-grupo button.ativo {
    color: var(--primaria-2);
    border-color: var(--primaria);
}

.video-editor-edicao-grupo button:disabled {
    cursor: not-allowed;
    opacity: .35;
}

.video-editor-edicao-zoom > span {
    min-width: 42px;
    color: var(--texto-fraco);
    font-size: .65rem;
    text-align: center;
}

.video-editor-clipe.selecionado {
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(0, 230, 118, .5);
}

.video-editor-clipe-alca {
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    display: block;
    width: 8px;
    cursor: ew-resize;
    touch-action: none;
}

.video-editor-clipe-alca::after {
    position: absolute;
    top: 25%;
    bottom: 25%;
    width: 2px;
    background: rgba(255, 255, 255, .75);
    border-radius: 2px;
    content: "";
    opacity: 0;
}

.video-editor-clipe-alca--esq { left: 0; }
.video-editor-clipe-alca--dir { right: 0; }
.video-editor-clipe-alca--esq::after { left: 2px; }
.video-editor-clipe-alca--dir::after { right: 2px; }
.video-editor-clipe:hover .video-editor-clipe-alca::after,
.video-editor-clipe.selecionado .video-editor-clipe-alca::after {
    opacity: 1;
}

@media (min-width: 1101px) {
    .video-editor-coluna-esq {
        grid-row: 1 / span 2;
    }

    .video-editor-visualizacao {
        grid-column: 2;
        grid-row: 1;
    }

    .video-editor-resumo {
        grid-column: 3;
        grid-row: 1;
    }

    .video-editor-timeline {
        grid-column: 2 / 4;
        grid-row: 2;
        margin-top: 0;
    }
}

@media (min-width: 1101px) and (max-width: 1350px) {
    .video-editor-coluna-esq {
        grid-row: 1 / span 3;
    }

    .video-editor-resumo {
        grid-column: 2;
        grid-row: 2;
    }

    .video-editor-timeline {
        grid-column: 2;
        grid-row: 3;
    }
}

.video-editor-coluna-dir {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 12px;
}

.video-editor-propriedades > label:not(.video-editor-check) {
    display: flex;
    margin-top: 14px;
    align-items: center;
    justify-content: space-between;
    color: var(--texto-fraco);
    font-size: .73rem;
}

.video-editor-propriedades output {
    color: var(--primaria-2);
}

.video-editor-propriedades input[type="range"] {
    width: 100%;
    margin-top: 8px;
    accent-color: var(--primaria);
}

.video-editor-propriedade-nome {
    overflow: hidden;
    margin: 0 0 12px;
    color: var(--texto);
    font-size: .77rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-editor-check {
    display: flex;
    margin-top: 13px;
    align-items: center;
    gap: 7px;
    color: var(--texto);
    font-size: .75rem;
}

.video-editor-fades {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.video-editor-fades label {
    color: var(--texto-fraco);
    font-size: .67rem;
}

.video-editor-fades label > span {
    display: flex;
    margin-top: 5px;
    align-items: center;
    gap: 4px;
}

.video-editor-fades input {
    width: 100%;
    min-width: 0;
    padding: 7px;
    color: var(--texto);
    background: var(--fundo-3);
    border: 1px solid var(--borda);
    border-radius: 7px;
}

.video-editor-clipe--audio.forma-onda-pronta {
    background-position: center;
    background-repeat: repeat-x;
    background-size: 100% 100%;
    background-blend-mode: soft-light;
}

@media (min-width: 1101px) {
    .video-editor-coluna-dir {
        grid-column: 3;
        grid-row: 1;
    }
}

@media (min-width: 1101px) and (max-width: 1350px) {
    .video-editor-coluna-dir {
        grid-column: 2;
        grid-row: 2;
    }
}

.video-editor-add-texto {
    margin-top: 8px;
}

.video-editor-texto-propriedades > label:not(.video-editor-check),
.video-editor-transform-propriedades > label {
    display: block;
    margin-top: 11px;
    color: var(--texto-fraco);
    font-size: .71rem;
}

.video-editor-texto-propriedades textarea,
.video-editor-texto-propriedades select,
.video-editor-props-duas input,
.video-editor-props-duas select {
    width: 100%;
    min-width: 0;
    margin-top: 5px;
    padding: 7px 8px;
    color: var(--texto);
    background: var(--fundo-3);
    border: 1px solid var(--borda);
    border-radius: 7px;
}

.video-editor-texto-propriedades textarea {
    resize: vertical;
    min-height: 70px;
}

.video-editor-props-duas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.video-editor-props-duas label {
    min-width: 0;
    color: var(--texto-fraco);
    font-size: .66rem;
}

.video-editor-props-cores {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin-top: 12px;
}

.video-editor-props-cores label {
    color: var(--texto-fraco);
    font-size: .61rem;
    text-align: center;
}

.video-editor-props-cores input[type="color"] {
    display: block;
    width: 100%;
    height: 29px;
    margin-top: 4px;
    padding: 0;
    background: var(--fundo-3);
    border: 1px solid var(--borda);
    border-radius: 6px;
}

.video-editor-props-cores input[type="number"] {
    width: 100%;
    min-width: 0;
    margin-top: 4px;
    padding: 5px;
    color: var(--texto);
    background: var(--fundo-3);
    border: 1px solid var(--borda);
    border-radius: 6px;
}

.video-editor-props-inline {
    display: flex;
    gap: 12px;
}

.video-editor-props-subtitulo {
    margin: 14px 0 0;
    color: var(--texto);
    font-size: .72rem;
    font-weight: 600;
}

#btnVideoCentralizar {
    margin-top: 11px;
}

.video-editor-efeitos-propriedades > label:not(.video-editor-efeito-range) {
    display: block;
    margin-top: 10px;
    color: var(--texto-fraco);
    font-size: .7rem;
}

.video-editor-efeitos-propriedades > select,
.video-editor-efeitos-propriedades > input[type="number"] {
    width: 100%;
    margin-top: 5px;
    padding: 7px 8px;
    color: var(--texto);
    background: var(--fundo-3);
    border: 1px solid var(--borda);
    border-radius: 7px;
}

.video-editor-preview-grade {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin: 10px 0 14px;
}

.video-editor-preview-grade > button {
    min-width: 0;
    padding: 5px;
    color: var(--texto-fraco);
    background: rgba(255, 255, 255, .018);
    border: 1px solid var(--borda);
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: .59rem;
    text-align: center;
}

.video-editor-preview-grade > button:hover,
.video-editor-preview-grade > button.ativo {
    color: var(--primaria-2);
    background: rgba(0, 200, 83, .07);
    border-color: rgba(0, 230, 118, .35);
}

.video-editor-preview-grade > button > span:last-child {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-editor-demo {
    position: relative;
    display: block;
    height: 38px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 40%, #263146, #10121c 75%);
    border-radius: 5px;
}

.video-editor-demo > i {
    position: absolute;
    top: 9px;
    left: calc(50% - 10px);
    display: block;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00e676, #00b8d4);
    border-radius: 4px;
}

.video-editor-demo--nenhum > i,
.video-editor-demo--nenhuma > i { opacity: .45; }
.video-editor-demo--pulso > i { animation: video-demo-pulso 1.4s ease-in-out infinite; }
.video-editor-demo--tremor > i { animation: video-demo-tremor .35s linear infinite; }
.video-editor-demo--glitch > i { animation: video-demo-glitch .8s steps(2) infinite; }
.video-editor-demo--rgb > i { animation: video-demo-rgb 1.2s ease-in-out infinite; }
.video-editor-demo--fade > i { animation: video-demo-fade 1.6s ease-in-out infinite; }
.video-editor-demo--dissolve > i { animation: video-demo-dissolve 1.6s ease-in-out infinite; }
.video-editor-demo--wipe > i { animation: video-demo-wipe 1.6s ease-in-out infinite; }
.video-editor-demo--slide > i { animation: video-demo-slide 1.6s ease-in-out infinite; }
.video-editor-demo--zoom > i { animation: video-demo-zoom 1.6s ease-in-out infinite; }
.video-editor-demo--blur > i { animation: video-demo-blur 1.6s ease-in-out infinite; }
.video-editor-demo--spin > i { animation: video-demo-spin 1.6s ease-in-out infinite; }

@keyframes video-demo-pulso { 50% { transform: scale(1.35); } }
@keyframes video-demo-tremor { 25% { transform: translate(3px, -2px) rotate(4deg); } 75% { transform: translate(-3px, 2px) rotate(-4deg); } }
@keyframes video-demo-glitch { 20% { transform: translateX(5px); filter: hue-rotate(80deg); } 40% { transform: translateX(-5px); clip-path: inset(35% 0 20%); } 60% { transform: translateX(2px); filter: hue-rotate(-70deg); } }
@keyframes video-demo-rgb { 50% { box-shadow: 4px 0 #ff3158, -4px 0 #00e5ff; } }
@keyframes video-demo-fade { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes video-demo-dissolve { 0%, 100% { opacity: .15; filter: blur(4px); } 50% { opacity: 1; filter: blur(0); } }
@keyframes video-demo-wipe { 0%, 100% { clip-path: inset(0 100% 0 0); } 50% { clip-path: inset(0); } }
@keyframes video-demo-slide { 0%, 100% { transform: translateX(-25px); opacity: .2; } 50% { transform: translateX(0); opacity: 1; } }
@keyframes video-demo-zoom { 0%, 100% { transform: scale(.3); opacity: .2; } 50% { transform: scale(1); opacity: 1; } }
@keyframes video-demo-blur { 0%, 100% { filter: blur(5px); opacity: .25; } 50% { filter: blur(0); opacity: 1; } }
@keyframes video-demo-spin { 0% { transform: rotate(0) scale(.5); opacity: .2; } 50% { transform: rotate(180deg) scale(1); opacity: 1; } 100% { transform: rotate(360deg) scale(.5); opacity: .2; } }

@media (prefers-reduced-motion: reduce) {
    .video-editor-demo > i { animation: none; }
}

.video-editor-efeito-range {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 25px;
    gap: 7px;
    margin-top: 11px;
    align-items: center;
    color: var(--texto-fraco);
    font-size: .66rem;
}

.video-editor-efeito-range input {
    width: 100%;
    min-width: 0;
    accent-color: var(--primaria);
}

.video-editor-efeito-range output {
    color: var(--texto);
    text-align: right;
}

.video-export-progresso,
.video-export-pronto {
    padding: 18px;
    text-align: center;
}

.video-export-progresso progress {
    display: block;
    width: 100%;
    height: 10px;
    margin: 12px 0 7px;
    accent-color: var(--primaria);
}

.video-export-progresso strong {
    color: var(--primaria-2);
}

.video-export-pronto p {
    color: var(--texto);
}

@media (min-width: 1351px) {
    .video-editor-grade {
        grid-template-rows: 520px auto;
    }

    .video-editor-coluna-dir {
        grid-column: 3;
        grid-row: 1;
        align-self: start;
        max-height: 520px;
        padding-right: 4px;
        overflow-y: auto;
        scrollbar-width: thin;
    }

    .video-editor-timeline {
        grid-column: 2 / 4;
        grid-row: 2;
        margin-top: 0;
    }
}

.video-export-legendas {
    display: flex;
    padding: 0 18px 18px;
    align-items: center;
    gap: 8px;
    color: var(--texto-fraco);
    font-size: .72rem;
}

.video-export-legendas > span {
    margin-right: auto;
}

.video-editor-faixa-acoes {
    display: flex;
    margin-left: auto;
    gap: 2px;
}

.video-editor-faixa-acoes button {
    width: 18px;
    height: 22px;
    padding: 0;
    color: var(--texto-fraco);
    background: transparent;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: .72rem;
}

.video-editor-faixa-acoes button:hover:not(:disabled) {
    color: var(--primaria-2);
    background: rgba(0, 200, 83, .08);
}

.video-editor-faixa-acoes button:disabled {
    cursor: default;
    opacity: .2;
}
