.video-upload{padding:18px;border:1px dashed #a9bba4;border-radius:8px;background:#f0f4ec;color:#365a3d}
.video-upload small{display:block;margin-top:8px}
.banner-typography{margin-top:12px;background:#f6f8f2}
.banner-typography summary{font-size:12px;font-weight:650;color:#365a3d;padding:14px}
.banner-typography label:not(.audio-toggle){padding-top:6px}
.banner-typography output{float:right;padding:2px 6px;border-radius:5px;background:#e8eee1;color:#365a3d;font-size:11px;font-variant-numeric:tabular-nums;font-weight:500}
.banner-typography .audio-toggle{margin-bottom:4px}
.text-fit-status{margin:0;font-size:11px;color:#52644d;line-height:1.6}
.video-page canvas{cursor:default;touch-action:auto}
.video-stage{position:relative;--top-band:26%;--bottom-band:15%}
.video-drag-surface{position:absolute;inset:var(--top-band) 0 var(--bottom-band);z-index:1;cursor:grab;touch-action:none}
.video-drag-surface.is-dragging{cursor:grabbing}
.video-logo-handle{position:absolute;z-index:4;cursor:move;touch-action:none;border:1px dashed #d7edc8;box-shadow:0 0 0 1px #152e27aa}
.video-logo-handle.is-dragging{cursor:grabbing}
.video-logo-resize{position:absolute;right:-12px;bottom:-12px;width:30px;min-height:30px;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid #b9d8a4;border-radius:7px;background:#f2f8ec;color:#244f40;cursor:nwse-resize;touch-action:none;font-size:19px}
.video-logo-resize:hover{background:#dceecf}
.banner-borders{margin:14px 0;padding:12px;border:1px solid #dce0d7;border-radius:8px;min-width:0}
.banner-borders legend{font-size:12px;font-weight:650;color:#365a3d;padding:0 5px}
.banner-borders .audio-toggle{margin-bottom:4px;font-size:11px;font-weight:500}
.video-drag-hint{position:absolute;top:calc(var(--top-band) + 10px);left:50%;transform:translateX(-50%);z-index:2;pointer-events:none;white-space:nowrap;padding:5px 10px;border-radius:20px;background:#10231dcc;color:#eef6ed;font-size:10px;line-height:1.5}
.video-overlay{position:absolute;bottom:calc(var(--bottom-band) + 10px);left:50%;transform:translateX(-50%);z-index:5;width:calc(100% - 16px);max-width:480px;max-height:calc(100% - var(--top-band) - var(--bottom-band) - 20px);overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;align-items:stretch;gap:6px;border-radius:12px;scrollbar-width:none}
.video-overlay>*{flex-shrink:0}
.on-video-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px;padding:6px;max-width:100%;border:1px solid #ffffff38;border-radius:12px;background:#10231df2;box-shadow:0 4px 18px #0004;color:white}
.on-video-tools button{display:flex;align-items:center;justify-content:center;min-width:36px;min-height:40px;padding:7px 9px;border:1px solid transparent;border-radius:7px;background:transparent;color:#f4f8f1;font-size:12px;font-weight:600}
.on-video-tools button:not(:disabled):hover,.on-video-tools button[aria-pressed=true],.on-video-tools button[aria-expanded=true]{background:#ffffff22;border-color:#ffffff28}
.on-video-tools button:disabled{cursor:not-allowed;opacity:.4}
.on-video-tools output{min-width:38px;text-align:center;font-size:11px;font-variant-numeric:tabular-nums}
.tool-divider{height:20px;width:1px;background:#ffffff30;margin:0 2px}
.on-video-trim{display:flex;gap:12px;max-width:100%;padding:12px;border:1px solid #ffffff38;border-radius:10px;background:#10231df2;box-shadow:0 4px 18px #0004;color:#f4f8f1}
.on-video-trim label{flex:1;min-width:0;margin:0;font-size:11px}
.on-video-trim input{max-width:130px}
@media(max-width:420px){.on-video-tools{gap:2px;padding:4px}.on-video-tools button{padding:6px 8px;min-height:44px}.video-drag-hint{font-size:9px}.on-video-trim{padding:8px;gap:8px}}
.video-player{display:flex;align-items:center;gap:9px;padding:7px 10px;border:1px solid #ffffff38;border-radius:10px;background:#10231df2;box-shadow:0 4px 18px #0004;color:#fff;order:-1;position:sticky;top:0;z-index:1}
.video-player button{min-width:46px;min-height:40px;padding:7px;border:1px solid #ffffff28;background:#ffffff18;color:#fff;font-size:12px}
.video-player button:not(:disabled):hover{background:#ffffff30}
.scrub-label{flex:1;min-width:30px;margin:0}
.scrub-label input{margin:0;accent-color:#c8e8aa;cursor:pointer}
#playTime{flex-shrink:0;white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums;color:#f4f8f1}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.video-history-note{flex-basis:100%;font-size:11px;color:#52644d;line-height:1.5;padding-top:8px;border-top:1px solid #e6e9e0}
.video-warning{font-size:12px;color:#9a4b20;min-height:0}
.video-warning:empty{display:none}
.video-export{padding:18px;margin-top:18px;border:1px solid #dce0d7;border-radius:12px;background:#fcfcf9}
.export-buttons{display:flex;flex-wrap:wrap;gap:10px}
.export-buttons button{flex:1;min-width:130px}
#exportVideo,.video-download{background:#244f40;color:#fff;border-color:#244f40;font-weight:600}
#exportVideo:not(:disabled):hover,.video-download:hover{background:#34684e}
#exportProgress{width:100%;height:10px;margin-top:18px;accent-color:#356447}
.video-download{display:block;text-decoration:none;text-align:center;border-radius:7px;padding:13px;margin-top:14px}
#videoStatus{font-size:12px;overflow-wrap:anywhere}
.audio-toggle{display:flex;align-items:center;gap:8px;min-height:44px}
.video-page article>.hint{font-size:11px}
.video-page.is-exporting .mode-switch a{opacity:.6}
@media(max-width:699px){.video-player{padding:6px;gap:6px}.video-history-note{text-align:center}.video-export .pair{flex-direction:column;gap:0}}

/* Share the image editor's responsive page and desktop column scrolling. */
.video-page main>*,.video-page .section,.video-page .video-stage{min-width:0}
.video-page .hint,.video-page label,.video-history-note,#clipInfo{overflow-wrap:anywhere}
.video-page .audio-toggle{flex-wrap:nowrap}
.video-page .audio-toggle input{flex-shrink:0}
@media(max-width:699px){.video-page .video-history-toolbar{gap:10px;padding:10px}.video-page .video-export{padding:14px}}
@media(max-width:359px){.video-page .on-video-tools button{padding:5px 6px}.video-page .video-player{flex-wrap:wrap}.video-page .scrub-label{flex:1 1 90px}.video-page #playTime{margin-left:auto}}
.banner-typography output{max-width:100%;overflow-wrap:anywhere}
.video-drag-hint{max-width:calc(100% - 16px);white-space:normal;text-align:center}
.video-export,.export-buttons,.video-player,.on-video-trim{min-width:0}
.on-video-trim input{width:100%;max-width:100%}
.video-logo-resize{right:-6px;bottom:-6px}
@media(max-width:420px){.export-buttons button{min-width:0;flex:1 1 100%}.on-video-tools .tool-divider{display:none}.video-overlay{width:calc(100% - 10px)}.banner-typography output{float:none;display:inline-block}.video-player{flex-wrap:wrap}.video-player .scrub-label{flex:1 1 70px}.video-player #playTime{margin-left:auto}}
#importedJacketPanel[hidden],#videoLayoutCard[hidden],#videoBannerControls[hidden],#videoTemplateControls[hidden],#videoBrandingControls[hidden]{display:none!important}
#importedJacketName{display:block;font:600 14px/1.5 'Segoe UI',system-ui,sans-serif;overflow-wrap:anywhere;color:#315b46}
#importedJacketPanel .pair{flex-wrap:wrap}
#importedJacketPanel .pair button{flex:1 1 120px;min-height:44px}
