﻿#reelEditor{width:calc(100% - 40px);max-width:1190px;max-height:94svh;padding:24px;background:#131615;border-color:#3d443b;border-radius:16px;overflow:auto}#reelEditor .reel-header{margin-bottom:16px}#reelEditor .reel-header h2{font-size:1.7rem}#reelEditor .reel-header .eyebrow{font-size:.6875rem;margin-bottom:8px}.reel-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:12px 0}.file-button{border:1px solid #444c40;background:#242a22;color:var(--accent);cursor:pointer;padding:9px 13px;border-radius:6px;font-size:.875rem}.file-button:has(input:disabled){opacity:.4;cursor:not-allowed}.reel-meta{display:flex;align-items:center;flex-wrap:wrap;gap:16px;border-bottom:1px solid #ffffff10;padding-bottom:12px}.reel-meta #draftStatus{margin-right:auto;font-size:.8125rem;max-width:480px}.auto-add{font-size:.8125rem;color:var(--muted);display:flex;align-items:center;gap:6px}.auto-add input,.check-label input{accent-color:var(--accent)}#reelEditor .reel-notice{font-size:.8125rem;line-height:1.5;color:#b7c1b1;min-height:21px;margin:12px 0 16px}.reel-workspace{display:grid;grid-template-columns:minmax(0,1fr) 365px;grid-template-rows:auto auto;gap:20px 24px;align-items:start}.reel-preview-column{grid-column:1;grid-row:1;min-width:0}.reel-preview-stage{height:min(45svh,430px);min-height:240px;display:flex;align-items:center;justify-content:center;background:#070907;border:1px solid #ffffff10;border-radius:8px;position:relative;overflow:hidden}#reelPreview{width:100%;height:100%;object-fit:contain}#reelPreviewEmpty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:radial-gradient(ellipse at 50% 60%,#2c3824,#101611 70%);padding:24px;text-align:center}#reelPreviewEmpty .eyebrow{font-size:.625rem;margin:0}#reelPreviewEmpty h3{font-size:2rem;letter-spacing:-.06em}#reelPreviewEmpty p{font-size:.875rem;color:#b2bcae;max-width:280px;margin:0}#previewBadge{position:absolute;left:12px;top:12px;font-size:.5625rem;letter-spacing:.14em;padding:5px 7px;background:#101810b0;color:#b4c2aa;border-radius:4px;pointer-events:none}.preview-transport{display:flex;align-items:center;gap:13px;margin:12px 0}.preview-transport .file-button{min-width:112px}.preview-transport output{font-size:.875rem;font-variant-numeric:tabular-nums;color:#d6dfd0}.preview-transport .fine{margin-left:auto;font-size:.75rem}#reelScrub{width:100%;margin:18px 0 4px;height:3px}.timeline-board{grid-column:1;grid-row:2;min-width:0;background:#171d17;border:1px solid #ffffff12;border-radius:8px;padding:14px}.timeline-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.timeline-heading h3{font-size:1rem;letter-spacing:-.02em}.timeline-heading #reelDuration{font-size:.8125rem;color:var(--accent);font-variant-numeric:tabular-nums;white-space:nowrap}.timeline-strip{display:flex;gap:8px;overflow:auto;scrollbar-width:thin;padding:12px 2px 7px;min-height:125px}.timeline-strip .empty{font-size:.875rem;margin:14px 0;padding:0;min-width:240px}.clip-card{flex-shrink:0;min-width:0;background:#101610;border:1px solid #424e3a;border-radius:6px;text-align:left;padding:4px;cursor:grab;overflow:hidden;display:block}.clip-card.selected{border-color:var(--accent);box-shadow:0 0 0 1px #d8c5a030}.clip-card.at-playhead .clip-thumbnail:after{content:'';position:absolute;inset:auto 0 0;height:3px;background:var(--accent)}.clip-thumbnail{display:block;position:relative;background-color:#273421;background-size:cover;background-position:center 35%;height:65px;border-radius:3px}.clip-number{display:block;position:absolute;top:3px;left:3px;background:#0e170fc9;color:#fff;padding:2px 5px;border-radius:3px;font-size:.625rem}.clip-card b{font-size:.75rem;display:block;font-weight:500;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin:5px 1px 3px}.clip-card small{font-size:.6875rem;color:#a5b29c;display:block;margin:0 1px 2px}.timeline-hint{font-size:.75rem!important;line-height:1.5!important;margin:7px 0 0!important}.reel-inspector{grid-column:2;grid-row:1/3;max-height:calc(94svh - 235px);min-height:430px;overflow:auto;background:#1a201a;border:1px solid #ffffff12;border-radius:9px;padding:0 17px;scrollbar-width:thin}.reel-editor-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;border-bottom:1px solid #ffffff15;background:#1a201af5;position:sticky;top:0;z-index:2;margin:0 -2px 19px;padding-top:9px;backdrop-filter:blur(10px)}.reel-editor-tabs button{background:none;border:0;border-bottom:1px solid transparent;border-radius:0;padding:12px 4px;color:#a7b39d;font-size:.875rem}.reel-editor-tabs button.active{border-bottom-color:var(--accent);color:var(--accent)}.reel-inspector>section{padding-bottom:12px}.reel-inspector h3{font-size:1.1rem;margin-bottom:15px;letter-spacing:-.035em}.inspector-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:14px;min-width:0}.inspector-heading h3{font-size:1rem;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}.inspector-heading .fine{font-size:.75rem;white-space:nowrap}.inspector-heading .file-button{padding:7px 10px;font-size:.8125rem}.reel-inspector label{display:block;font-size:.875rem;color:#d0d8ca;margin:0 0 18px;min-width:0}.reel-inspector input[type=text],.reel-inspector input[type=number],.reel-inspector select,.reel-inspector textarea{width:100%;display:block;margin-top:8px;min-width:0;padding:10px;font-size:.875rem;border-color:#454e3d;background:#111810;color:var(--text);border-radius:5px}.reel-inspector textarea{font:inherit;resize:vertical;min-height:70px;margin-bottom:15px}.reel-inspector .fine{font-size:.8125rem;line-height:1.6;margin:0 0 17px}.reel-field-pair,.trim-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reel-field-pair output,.reel-inspector label>output{float:right;font-size:.8125rem;color:var(--accent)}.clip-actions{display:flex;flex-wrap:wrap;gap:7px;padding:0 0 19px;margin-bottom:19px;border-bottom:1px solid #ffffff10}.clip-actions button{font-size:.8125rem;padding:8px 10px;border:1px solid #48543e;border-radius:5px;background:#293222;color:#dfE7d7}.clip-actions .danger-quiet{background:none;color:#d5a99b;border-color:#6b5144}.reel-inspector input[type=range]{margin-top:19px}.reel-inspector .check-label{display:flex;align-items:center;gap:8px}.inspector-empty{padding:15px 0 22px;color:#a6b59c;font-size:.875rem;line-height:1.6}.text-layer{border:1px solid #424e38;background:#151c13;padding:12px;border-radius:7px;margin:15px 0}.text-layer .trim-fields label{font-size:.8125rem}.text-layer .inspector-heading{margin-bottom:8px}.text-layer .reel-field-pair label{margin-bottom:11px}.opening-title{border-top:1px solid #ffffff15;margin-top:22px;padding-top:20px}.audio-import{margin:18px 0!important;display:inline-block!important}.reel-export-bar{border-top:1px solid #ffffff18;padding:17px 0;background:#1a201a}.reel-export-bar .primary{width:100%;padding:12px}.reel-export-bar #cancelExport{display:block;margin:9px auto 0}.reel-export-bar .fine{margin:12px 0 2px;font-size:.75rem;line-height:1.5}#exportProgress{width:100%;accent-color:var(--accent);height:7px;margin-top:12px}#reelResult{border-top:1px solid var(--line);padding-top:24px;margin-top:24px}#reelResult h3{font-size:1.3rem}#finishedReel{display:block;width:100%;max-width:280px;max-height:500px;margin:18px 0;background:#000;border-radius:8px}#finishedReel.horizontal{max-width:740px}#formatNote{font-size:.8125rem}
@media(max-width:950px) and (min-width:761px){#reelEditor{padding:20px;width:calc(100% - 24px)}.reel-workspace{grid-template-columns:minmax(0,1fr) 310px;gap:18px}.reel-inspector{padding:0 13px}.preview-transport{gap:9px;flex-wrap:wrap}.preview-transport .fine{font-size:.6875rem}.reel-preview-stage{height:350px}.inspector-heading h3{max-width:160px}}
@media(max-width:760px){#reelEditor{width:100%;max-width:none;height:100svh;max-height:100svh;border:0;border-radius:0;padding:0 16px 24px}.reel-header{position:sticky;top:0;z-index:5;background:#131615f5;backdrop-filter:blur(14px);padding:17px 0 12px;border-bottom:1px solid #ffffff10}#reelEditor .reel-header h2{font-size:1.45rem}#reelEditor .reel-header .eyebrow{font-size:.5625rem;letter-spacing:.12em}.reel-header .round{width:34px;height:34px}.reel-actions{gap:7px;margin:12px 0}.reel-actions .primary,.reel-actions .file-button{font-size:.8125rem;padding:9px 11px}.reel-actions .quiet{font-size:.8125rem;padding:6px 8px}.reel-meta{gap:5px 15px}.reel-meta #draftStatus{width:100%;font-size:.75rem}.auto-add{font-size:.75rem}.reel-meta .quiet{font-size:.75rem;padding:7px 0;margin-left:auto}#reelEditor .reel-notice{font-size:.75rem;margin:10px 0 13px;min-height:0}.reel-workspace{display:flex;flex-direction:column;gap:17px}.reel-preview-column{order:0;width:100%}.reel-preview-stage{height:min(42svh,360px);min-height:220px}.preview-transport{gap:10px;flex-wrap:wrap}.preview-transport .file-button{font-size:.8125rem;padding:9px 10px;min-width:110px}.preview-transport output{font-size:.8125rem}.preview-transport .fine{font-size:.6875rem}.timeline-board{order:1;width:100%;padding:12px}.timeline-heading h3{font-size:.9375rem}.timeline-heading #reelDuration{font-size:.75rem}.timeline-strip{min-height:123px}.timeline-hint{font-size:.6875rem!important}.reel-inspector{order:2;width:100%;min-height:0;max-height:none;overflow:visible;padding:0 14px}.reel-editor-tabs{position:sticky;top:77px}.reel-inspector h3{font-size:1.1rem}.inspector-heading h3{max-width:200px}.reel-inspector .fine{font-size:.8125rem}.reel-inspector label{font-size:.875rem}.reel-field-pair,.trim-fields{gap:12px}.reel-inspector textarea{font-size:16px}.reel-export-bar{padding-bottom:16px}.text-layer .reel-field-pair{grid-template-columns:1fr 1fr}#finishedReel{max-height:440px}}
@media(orientation:landscape) and (max-height:600px) and (max-width:1000px){#reelEditor{height:100svh;max-height:100svh;width:100%;max-width:none;border:0;border-radius:0;padding:12px 18px 20px}.reel-header{position:static;padding:0 0 12px;min-height:0}#reelEditor .reel-header h2{font-size:1.35rem}.reel-header .eyebrow{display:none}.reel-workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px}.reel-preview-stage{min-height:190px;height:240px}.reel-inspector{max-height:none;overflow:visible;grid-column:2;grid-row:1/3}.reel-editor-tabs{top:0}.reel-meta{gap:10px}.reel-meta #draftStatus{width:auto;font-size:.75rem}.timeline-board{grid-column:1;grid-row:2}.reel-actions .primary,.reel-actions .file-button{padding:8px 12px}.preview-transport{flex-wrap:wrap}.preview-transport .fine{margin-left:0}}
.reel-history{display:flex;gap:4px;margin-left:auto}.reel-history .quiet{font-size:.8125rem}.reel-header>div:first-child{margin-right:auto}.reel-header>.round{margin-left:12px}.reel-extras{border-top:1px solid #ffffff12;padding-top:16px;margin-top:20px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.reel-extras .auto-add{width:100%;margin-bottom:4px}.reel-extras .quiet{padding-left:0}.reel-meta{min-height:24px;padding-bottom:10px}
@media(max-width:760px) and (orientation:portrait){#reelEditor{padding-bottom:20px}.reel-header{padding:13px 0 10px}#reelEditor .reel-header h2{font-size:1.3rem}.reel-header>.round{margin-left:2px}.reel-history .quiet{padding:6px;font-size:.75rem}.reel-header .eyebrow{font-size:.5rem}.reel-actions{margin:10px 0}.reel-meta{padding-bottom:8px}.reel-preview-stage{height:30svh;min-height:200px;max-height:300px}.preview-transport{margin:10px 0;gap:8px}#reelScrub{margin:14px 0 0}.reel-workspace{gap:14px}.timeline-board{padding:10px 12px}.timeline-strip{padding-top:10px;min-height:116px}.timeline-hint{font-size:.625rem!important}.reel-inspector{max-height:55svh;min-height:220px;overflow:auto}.reel-editor-tabs{top:0}.reel-export-bar{position:sticky;bottom:0;z-index:3}.reel-meta #draftStatus{width:100%}}
