#phoneEditorFooter[hidden],#phoneEditorHint[hidden]{display:none!important}
html.phone-editor-open,html.phone-editor-open body{overflow:hidden!important;overscroll-behavior:none;max-width:100%}
html.phone-editor-open body>main,html.phone-editor-open body>.app-header,html.phone-editor-open body>#workflowNav{display:none!important}
#reelEditor.phone-editor{position:fixed!important;inset:var(--phone-editor-top,0px) 0 auto!important;display:flex!important;flex-direction:column!important;width:var(--phone-editor-width,100%)!important;min-width:0!important;max-width:none!important;height:var(--phone-editor-height,100dvh)!important;max-height:var(--phone-editor-height,100dvh)!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;box-sizing:border-box;background:#101112}
#reelEditor.phone-editor:not([open]){display:none!important}
.phone-editor>*{min-width:0;flex-shrink:0}
#reelEditor.phone-editor .reel-header{position:relative!important;display:flex;align-items:center;gap:4px;min-height:48px;margin:0!important;padding:6px 10px!important;z-index:10;border-bottom:1px solid #303748;background:#101112}
#reelEditor.phone-editor .reel-header h2{font:400 24px/1 Anton,sans-serif!important;white-space:nowrap;margin:0!important}
#reelEditor.phone-editor .reel-header>div:first-child{min-width:0;margin-right:auto}
#reelEditor.phone-editor .reel-header .round{width:40px;height:40px;min-width:40px;margin:0!important;padding:0}
#reelEditor.phone-editor .reel-history{margin:0;gap:0}
#reelEditor.phone-editor .reel-history button{font-size:11px;padding:6px 4px;min-width:38px;min-height:40px;color:#f2f0eb}
#reelEditor.phone-editor .editor-more-tools{position:relative;margin:0}
#reelEditor.phone-editor .editor-more-tools>summary{min-height:40px;padding:11px 5px;font-size:12px;list-style:none;cursor:pointer;color:#f2f0eb}
#reelEditor.phone-editor .editor-more-tools[open]{position:absolute;right:48px;top:4px;z-index:12;width:min(270px,calc(100vw - 64px));max-height:65dvh;overflow:auto;background:#171819;border:1px solid #303748;border-radius:12px;padding:6px}
#reelEditor.phone-editor .editor-more-tools[open]>*:not(summary){margin:6px 0;width:100%;min-height:44px}
#reelEditor.phone-editor .editor-welcome,#reelEditor.phone-editor>.reel-actions{display:none!important}
#reelEditor.phone-editor .editor-entry{display:flex!important;gap:8px;margin:0!important;padding:4px 10px!important;min-height:48px}
#reelEditor.phone-editor .editor-entry>*{min-height:40px!important;height:40px!important;min-width:0!important;flex:1;padding:10px 6px!important;font:800 13px/1.2 Manrope,sans-serif!important;text-align:center;white-space:nowrap;border-radius:10px}
#reelEditor.phone-editor .reel-meta{min-height:0;margin:0!important;padding:0 12px 3px!important;display:block;border:0}
#reelEditor.phone-editor #draftStatus{display:block;font-size:11px;line-height:1.35;margin:0;max-width:none;overflow-wrap:anywhere;color:#b2b9c9}
#reelEditor.phone-editor #editorNotice{font-size:11px;line-height:1.3;max-height:30px;overflow:auto;margin:0!important;padding:0 12px 3px;min-height:0;color:#b2b9c9}
#reelEditor.phone-editor>.reel-editor-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;position:relative!important;top:auto;margin:0!important;padding:4px 8px!important;min-height:52px;background:#101112;border-bottom:1px solid #303748;overflow:hidden!important;z-index:2}
#reelEditor.phone-editor .reel-editor-tabs button{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;grid-column:auto!important;min-width:0;min-height:44px!important;height:44px!important;padding:4px 2px!important;font:800 12px/1 Manrope,sans-serif;white-space:nowrap;text-align:center!important;border-radius:10px}
#reelEditor.phone-editor .reel-editor-tabs svg{width:18px;height:18px}
#reelEditor.phone-editor #phoneEditorHint{margin:0;padding:5px 12px;font:500 12px/1.35 'DM Sans',sans-serif;min-height:26px;max-height:44px;overflow:auto;color:#b2b9c9}
#reelEditor.phone-editor .reel-workspace{display:flex!important;flex:1 1 0!important;min-height:0!important;height:auto!important;overflow:hidden!important;flex-direction:column!important;gap:6px!important;padding:0 8px 6px!important;align-items:stretch}
#reelEditor.phone-editor .reel-preview-column{display:flex;flex-direction:column;flex:0 0 clamp(130px,26dvh,220px);height:clamp(130px,26dvh,220px);min-height:0!important;width:100%;order:0;overflow:hidden}
#reelEditor.phone-editor .reel-preview-stage{flex:1 1 0!important;min-height:0!important;max-height:none!important;height:auto!important;width:100%;border-radius:10px}
#reelEditor.phone-editor .preview-transport{display:flex;flex-wrap:nowrap;align-items:center;min-height:44px;height:44px;flex:0 0 44px;gap:8px;margin:0!important;overflow:hidden}
#reelEditor.phone-editor .preview-transport button{min-height:44px!important;height:44px!important;min-width:90px;font-size:12px!important;padding:8px 10px!important;border-radius:8px}
#reelEditor.phone-editor .preview-transport output{font-size:11px;white-space:nowrap}
#reelEditor.phone-editor #previewSize{display:none}
#reelEditor.phone-editor #reelScrub{flex:0 0 16px;height:16px!important;min-height:16px!important;margin:0!important;padding:0;accent-color:#2459df}
#reelEditor.phone-editor .timeline-board{order:1;flex:0 0 62px;min-height:0!important;width:100%;padding:4px 6px!important;border-radius:10px;overflow:hidden}
#reelEditor.phone-editor .timeline-heading,#reelEditor.phone-editor .timeline-hint{display:none!important}
#reelEditor.phone-editor .timeline-strip{padding:0!important;min-height:0!important;height:52px;gap:6px;overflow-x:auto;overflow-y:hidden}
#reelEditor.phone-editor .clip-card{width:76px!important;min-width:76px!important;height:48px;padding:2px;display:grid;grid-template-columns:28px minmax(0,1fr);gap:2px 4px;align-content:center}
#reelEditor.phone-editor .clip-thumbnail{height:40px;width:28px;grid-row:1/3}
#reelEditor.phone-editor .clip-card b{font-size:10px;margin:2px 0 0;font-weight:800}
#reelEditor.phone-editor .clip-card small{font-size:10px;margin:0}
#reelEditor.phone-editor .clip-number{font-size:9px;left:1px;top:1px;padding:1px 2px}
#reelEditor.phone-editor .reel-inspector{order:2;flex:1 1 0!important;min-height:0!important;max-height:none!important;height:auto!important;width:100%;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:8px 10px!important;border-radius:10px;scrollbar-width:thin}
#reelEditor.phone-editor [data-editor-panel]{padding:0!important;min-width:0;scroll-margin-top:0}
#reelEditor.phone-editor .edit-step-title,#reelEditor.phone-editor .editor-step-help,#reelEditor.phone-editor .editor-next,#reelEditor.phone-editor .editor-optional{display:none!important}
#reelEditor.phone-editor .inspector-heading{margin:0 0 6px!important;gap:6px}
#reelEditor.phone-editor .inspector-heading h3{font-size:14px!important;max-width:65%;margin:0!important;line-height:1.2;overflow-wrap:anywhere}
#reelEditor.phone-editor .inspector-heading .fine{font-size:11px!important}
#reelEditor.phone-editor label{font-size:13px!important;line-height:1.3;margin:0 0 8px!important}
#reelEditor.phone-editor .easy-trim{gap:2px;margin:4px 0!important}
#reelEditor.phone-editor .easy-trim input{height:36px;min-height:36px;margin:0!important;padding:0}
#reelEditor.phone-editor .easy-trim output{font-size:12px}
#reelEditor.phone-editor input:not([type=range]):not([type=checkbox]),#reelEditor.phone-editor select{min-height:44px!important;padding:10px!important;font-size:16px!important;margin-top:4px!important}
#reelEditor.phone-editor textarea{min-height:76px!important;font-size:16px!important;padding:10px!important;margin:4px 0 8px!important;resize:vertical}
#reelEditor.phone-editor .reel-field-pair{grid-template-columns:1fr 1fr!important;gap:8px}
#reelEditor.phone-editor .clip-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:6px 0!important;margin:0!important}
#reelEditor.phone-editor .clip-actions button{grid-column:auto!important;font-size:11px!important;min-height:44px!important;padding:7px 4px!important}
#reelEditor.phone-editor .clip-actions button:not(.danger-quiet){background:#171819;color:#f2f0eb;border-color:#303748}
#reelEditor.phone-editor .file-button,#reelEditor.phone-editor .cover-actions>*,#reelEditor.phone-editor #addReelText{min-height:44px!important;padding:10px!important;font-size:14px!important}
#reelEditor.phone-editor .simple-extra{margin:6px 0}
#reelEditor.phone-editor summary{min-height:44px;padding:10px 4px;font-size:13px}
#reelEditor.phone-editor .fine{font-size:12px!important;line-height:1.4!important;margin-bottom:8px!important}
#reelEditor.phone-editor .text-layer{padding:10px!important;margin:8px 0!important}
#reelEditor.phone-editor .cover-actions{margin:8px 0!important;gap:6px}
#reelEditor.phone-editor .reel-export-bar{padding:8px 0!important;position:static!important;border:0;background:transparent}
#reelEditor.phone-editor #reelResult{margin:0;padding:0;border:0}
#reelEditor.phone-editor #reelResult h3{font:800 18px/1.2 Manrope,sans-serif;margin:0 0 8px}
#reelEditor.phone-editor #finishedReel{height:130px;max-height:130px;width:100%;max-width:none;object-fit:contain;margin:6px 0}
#reelEditor.phone-editor #reelResult .reel-actions{display:flex;flex-wrap:wrap}
#reelEditor.phone-editor #phoneEditorFooter{display:flex!important;gap:8px;align-items:center;flex:0 0 auto;min-height:54px;margin:0;padding:5px 10px calc(5px + env(safe-area-inset-bottom));background:#101112;border-top:1px solid #303748;z-index:6}
#reelEditor.phone-editor #phoneEditorFooter button{min-height:44px!important;padding:10px 12px!important;border-radius:10px;font:800 14px/1.2 Manrope,sans-serif!important;border:1px solid #303748;color:#f2f0eb;white-space:normal}
#reelEditor.phone-editor #phoneEditorBack{flex:0 0 70px;background:#171819}
#reelEditor.phone-editor #phoneEditorNext,#reelEditor.phone-editor #exportReel{flex:1 1 0;background:#2459df!important;border-color:#2459df!important;color:#fff!important;width:auto!important}
#reelEditor.phone-editor #cancelExport{flex:1 1 0;margin:0!important}
#reelEditor.phone-editor .phone-export-hidden,#reelEditor.phone-editor #phoneEditorFooter button[hidden]{display:none!important}
#reelEditor.phone-editor:not([data-phone-tool=clip]):not([data-phone-tool=text]) .timeline-board,#reelEditor.phone-editor.phone-empty .timeline-board{display:none!important}
#reelEditor.phone-editor #reelPreviewEmpty .eyebrow,#reelEditor.phone-editor #reelPreviewEmpty h3,#reelEditor.phone-editor #reelPreviewEmpty .editor-empty-actions{display:none!important}
#reelEditor.phone-editor #reelPreviewEmpty{padding:10px;gap:0}#reelEditor.phone-editor #reelPreviewEmpty p{font-size:13px}
#reelEditor.phone-editor.phone-short .reel-preview-column{height:130px;flex-basis:130px}
#reelEditor.phone-editor.phone-keyboard .reel-preview-column,#reelEditor.phone-editor.phone-keyboard .timeline-board,#reelEditor.phone-editor.phone-keyboard .editor-entry,#reelEditor.phone-editor.phone-keyboard .reel-meta,#reelEditor.phone-editor.phone-keyboard #editorNotice{display:none!important}
#reelEditor.phone-editor.phone-landscape .reel-workspace{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-rows:minmax(0,1fr) 56px;gap:6px!important}
#reelEditor.phone-editor.phone-landscape .reel-preview-column{grid-column:1;grid-row:1;height:100%;min-height:0;flex-basis:auto}
#reelEditor.phone-editor.phone-landscape .timeline-board{grid-column:1;grid-row:2;height:56px}
#reelEditor.phone-editor.phone-landscape .reel-inspector{grid-column:2;grid-row:1/3;height:100%!important}
#reelEditor.phone-editor.phone-landscape #phoneEditorHint{min-height:22px;padding:3px 12px}
#reelEditor.phone-editor.phone-landscape .editor-entry{display:none!important}
#reelEditor.phone-editor.phone-landscape:not([data-phone-tool=clip]):not([data-phone-tool=text]) .reel-preview-column{grid-row:1/3}
#reelEditor.phone-editor.phone-keyboard .reel-workspace{display:flex!important}
#reelEditor.phone-editor.phone-keyboard .reel-inspector{flex:1!important;height:auto!important;width:100%!important}
#reelEditor.phone-editor:not(.phone-save-warning) .reel-meta,#reelEditor.phone-editor.phone-routine-notice #editorNotice{display:none!important}
#phoneAddClip{display:none}
#reelEditor.phone-editor .timeline-board{position:relative;padding-right:50px!important}
#reelEditor.phone-editor #phoneAddClip{display:block;position:absolute;right:4px;top:4px;width:42px;height:48px;min-height:44px;border:1px solid #303748;border-radius:8px;color:#fff;background:#2459df;font:800 24px/1 Manrope,sans-serif;padding:0}
#reelEditor.phone-editor .editor-more-tools[open] .editor-entry{flex-direction:column;height:auto}
#reelEditor.phone-editor .editor-more-tools:not([open])>*:not(summary){display:none!important}
