/* Diamond Edit AI V29 — correções pontuais sem mover a disposição da V28. */
.chooser-page .v17-command-strip{display:none!important}
.chooser-page .mode-options.mode-options-triple{display:flex;flex-direction:column;gap:18px}
.chooser-page .v29-auto-fourth{margin:0!important;max-width:none;width:100%;min-height:116px;text-align:left;align-self:stretch}
.editor-top .editor-actions{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;min-width:0}
.editor-top .editor-actions>.btn,.editor-top .editor-actions>label{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;line-height:1.15!important;white-space:nowrap!important;vertical-align:middle!important;min-height:42px!important;box-sizing:border-box!important;transform:none!important}
.editor-top .editor-actions svg,.v29-export-button svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;display:block;vertical-align:middle}
.editor-top .v24-format-host{display:flex;align-items:center;justify-content:center;align-self:center}
.editor-top .v24-format-host button,.editor-top .v24-format-host select{display:inline-flex;align-items:center;line-height:1.2;vertical-align:middle;min-height:40px;box-sizing:border-box}
.v29-playlist{margin:11px 0 4px;padding:10px 0 5px;border-top:1px solid #617b9b45}
.v29-playlist-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px;flex-wrap:wrap}
.v29-playlist-head strong{font-size:12px;color:#f4dcaf}
.v29-playlist-head small{font-size:10px;color:#94afc8}
.v29-playlist-scroll{display:flex;align-items:stretch;gap:0;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;overscroll-behavior-x:contain;padding:2px 0 9px}
.v29-item-pair{display:flex;align-items:center;flex:0 0 auto;gap:5px}
.v29-clip{width:126px;min-height:66px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;justify-content:center;padding:9px 10px;cursor:pointer;border:1px solid #54708b7e;border-radius:10px;background:linear-gradient(120deg,#15263a,#0b131f);color:#e4edf8;text-align:left}
.v29-clip.active{border-color:#e9bf7b;box-shadow:inset 0 0 0 1px #e8b76288,0 0 12px #cf8a3341;background:linear-gradient(120deg,#263448,#132337)}
.v29-clip .v29-number{font-size:10px;color:#f4c57f;font-weight:800;letter-spacing:.12em}
.v29-clip-name{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700}
.v29-clip small{color:#93a9c2;font-size:10px}
.v29-transition{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:68px;max-width:75px;padding:4px 3px;margin-right:5px;border:1px dashed #637f9e;background:#101a29;border-radius:9px;color:#a8c5e6;font-size:22px;cursor:pointer}
.v29-transition.has-transition{border-color:#e6bd75;color:#f0ca89;background:#1a2532}
.v29-transition small{font-size:9px;line-height:1.25;max-width:63px;color:inherit}
.v29-add-clip{flex:0 0 70px;min-height:66px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px dashed #5e8eb8;border-radius:10px;color:#b6dfff;font-size:21px;cursor:pointer;margin-left:5px;background:#0b233b}
.v29-add-clip small{font-size:10px}
.v29-playlist-hint{font-size:10px;margin-top:1px;color:#93a9ba;line-height:1.4}
.v29-empty-clips{margin:0;color:#879db5;font-size:11px}
.v29-transition-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:17px 0}
.v29-transition-choices button{min-height:49px;border:1px solid #53799d;border-radius:10px;background:#15243a;color:#e4effa;font-weight:700}
.v29-transition-choices button.selected{border-color:#f3c884;background:#2c3652;color:#f9d19d}
/* Alinhamento de ícones e textos em cabeçalhos, controles e abas */
.editor-top button,.editor-top label,.photo-top button,.photo-top label,.tab-row .tab,.photo-toolbar button,.topbar-actions button{box-sizing:border-box}
.tab-row .tab span,.tab-row .tab small{display:block;margin-left:auto;margin-right:auto;line-height:1.2;text-align:center;transform:none}
.tab-row .tab{align-items:center;justify-content:center;text-align:center}
@media(max-width:650px){
 .editor-top .editor-actions{gap:5px!important}
 .editor-top .editor-actions>.btn,.editor-top .editor-actions>label{padding-left:9px!important;padding-right:9px!important;min-height:41px!important}
 .editor-top .editor-actions .v29-add-media span{display:none}
 .editor-top .editor-actions .v29-export-button span{font-size:12px}
 .editor-top .editor-actions svg{width:15px;height:15px}
 .v29-playlist{padding-top:9px}
 .v29-playlist-head small{width:100%}
 .chooser-page .v29-auto-fourth{margin:0!important}
}
@media(prefers-reduced-motion:reduce){.chooser-page .v29-auto-fourth:before{animation:none}}

/* Sequência: botões pequenos com centros alinhados e área de toque nítida. */
.v29-clip-ops{display:flex;flex-flow:column nowrap;align-items:center;justify-content:center;gap:4px;flex:0 0 auto;margin:0 4px 0 -2px}
.v29-clip-ops button{font-family:Arial,sans-serif;font-size:14px;line-height:1;display:grid;place-items:center;min-width:25px;min-height:21px;padding:0;border:1px solid #41617f;border-radius:5px;background:#112036;color:#e0e7ef;cursor:pointer}
.v29-clip-ops button:disabled{opacity:.28;cursor:default}
.mode-editor .editor-top .editor-mobile-back,.mode-photo .photo-heading .editor-mobile-back{display:grid!important;place-items:center!important;line-height:1!important;transform:none!important}
.mode-editor .editor-top .v29-export-button svg,.mode-editor .editor-top .v29-add-media svg{position:static!important;transform:none!important;rotate:none!important;margin:0!important;vertical-align:middle!important}
.mode-photo .photo-heading button,.mode-editor .tab-row .tab,.mode-photo .photo-mobile-dock button{transform:none!important;rotate:none!important}

.v29-upload-audio{margin:10px 0;min-height:44px!important;width:100%}
