dialog.modal.modal-shot{width:min(1000px,100vw - 32px);max-width:none;padding:24px 24px 0}@media (max-width:639px){dialog.modal.modal-shot{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:max(16px, env(safe-area-inset-top)) 16px 0;border-radius:0;margin:0;inset:0}dialog.modal.modal-shot .modal-title{font-size:30px}}.modal-shot .modal-lead{margin-bottom:18px}.shot-layout{gap:20px;min-width:0;display:grid}.shot-layout>*{min-width:0}@media (min-width:760px){.shot-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start;gap:28px}.shot-preview-col{position:sticky;top:0}.shot-preview-col .part-preview{--pv-h:min(62dvh, 560px)}}.part-preview-wrap{justify-items:center;gap:8px;display:grid}.part-preview{--pv-h:min(40dvh, 420px);border-radius:var(--radius);width:min(100%, calc(var(--pv-h) * var(--part-aspect,.5625)));background:#000;position:relative;overflow:hidden}.part-zoom{transform-origin:50%;position:absolute;inset:0}.part-video{object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;top:0;left:0}.part-play,.crop-reset{min-height:44px}.shot-controls h3{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:22px 0 4px;font-size:13px;font-weight:700}.shot-controls h3:first-child{margin-top:0}.shot-hint{color:var(--muted);margin:0 0 10px;font-size:13px;line-height:1.45}.part-track{touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none;height:56px;position:relative}.part-track:active{cursor:grabbing}.part-track-range{margin:0 22px}.part-frames{border-radius:var(--radius-s);background:var(--raised);height:100%;display:flex;overflow:hidden}.part-frames canvas{object-fit:cover;flex:1 1 0;min-width:0;height:100%;display:block}.part-shade{pointer-events:none;background:#0000009e;position:absolute;top:0;bottom:0}.part-window{box-sizing:border-box;border:3px solid var(--accent);border-radius:var(--radius-s);pointer-events:none;min-width:6px;position:absolute;top:-3px;bottom:-3px}.part-span{box-sizing:border-box;border-block:3px solid var(--accent);pointer-events:none;position:absolute;top:-3px;bottom:-3px}.part-handle{cursor:ew-resize;width:44px;position:absolute;top:-6px;bottom:-6px;transform:translate(-50%)}.part-handle:after{content:"";background:var(--accent);border-radius:4px;width:10px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.part-window:focus-visible,.part-handle:focus-visible{outline:3px solid var(--text);outline-offset:2px}.part-text{margin:10px 0 0;font-size:14px;line-height:1.45}.fx-grid{gap:12px 20px;display:grid}@media (min-width:1100px){.fx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.fx-row{border:0;min-width:0;margin:0;padding:0}.fx-row legend{margin-bottom:4px;padding:0;font-size:14px;font-weight:600}.segs.fx-segs{background:var(--raised);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;width:100%;display:grid}.fx-segs .seg>span{min-width:0;padding:0 4px}.fx-note{color:var(--muted);margin:10px 0 0;font-size:13px;line-height:1.45}.fx-note:empty{display:none}.crop-box-wrap .crop-stage{width:min(100%, calc(min(56dvh, 560px) * var(--src-aspect,1.78)));margin:18px auto 28px}.modal-shot .crop-box-wrap .crop-stage{width:min(100%, calc(min(34dvh, 300px) * var(--src-aspect,1.78)));margin:8px auto 26px}.crop-box-wrap .crop-status{color:var(--muted);margin:0 0 8px;font-size:13px}.clip-pick{gap:8px;padding:4px 2px 10px;display:flex;overflow-x:auto}.clip-pick-btn{border-radius:var(--radius);background:var(--raised);min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;border:0;flex:0 0 76px;gap:4px;padding:4px;font-size:12px;display:grid}.clip-pick-btn canvas{border-radius:3px;width:68px;height:51px;display:block}.clip-pick-btn span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.clip-pick-btn[aria-pressed=true]{outline:3px solid var(--accent);outline-offset:-3px}.clip-pick-btn:focus-visible{outline:3px solid var(--text);outline-offset:2px}.shot-swap{align-items:end;gap:8px;margin-top:18px;display:flex}.shot-swap .shot-field{flex:1;margin:0}.shot-swap .btn{min-height:44px}.shot-actions{z-index:2;padding:12px 0 max(16px, env(safe-area-inset-bottom));background:var(--surface);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:20px;display:flex;position:sticky;bottom:0}.shot-actions .btn{min-width:104px}.shot-status{flex:200px;margin:0;font-size:13px}.shot-status:empty{display:none}@media (max-width:639px){.shot-actions .btn{flex:1}}.talking-trim{align-items:center}.talking-trim>span{flex:1;min-width:0;font-size:13px;line-height:1.4}.dropstrip{min-width:0}.chip-song .dropstrip{flex-basis:100%;margin:2px 8px 10px 0}.dropstrip-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;display:flex}.dropstrip-text{font-variant-numeric:tabular-nums;margin:0;font-size:17px;font-weight:700}.dropstrip-note{color:var(--muted);margin:4px 0 8px;font-size:13px;line-height:1.45}.dropstrip-reset{min-height:44px}.dropstrip-track{border-radius:var(--radius-s);background:var(--raised);touch-action:pan-y;cursor:pointer;-webkit-user-select:none;user-select:none;height:72px;margin:0 22px;position:relative}.dropstrip-wave{width:100%;height:100%;display:block}.dropstrip-marker{width:44px;color:inherit;cursor:ew-resize;touch-action:none;background:0 0;border:0;margin-left:-22px;padding:0;position:absolute;top:-4px;bottom:-4px}.dropstrip-pill{border-radius:var(--radius-s);background:var(--accent);color:var(--on-accent);white-space:nowrap;padding:2px 6px;font-size:12px;font-weight:700;position:absolute;top:0;left:50%;transform:translate(-50%)}.dropstrip-line{background:var(--accent);width:2px;position:absolute;top:20px;bottom:0;left:calc(50% - 1px)}.dropstrip-marker.is-found .dropstrip-pill{background:var(--text);color:var(--on-text)}.dropstrip-marker.is-found .dropstrip-line{background:var(--text)}.dropstrip-marker:focus-visible{outline:3px solid var(--text);outline-offset:2px;border-radius:var(--radius-s)}.dropstrip-axis{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;margin:4px 22px 0;font-size:12px;display:flex}.dropstrip-remake{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:10px;display:flex}.dropstrip-remake p{flex:200px;margin:0;font-size:14px;line-height:1.45}.dropstrip-remake .btn{min-height:44px}.adjust-panel{gap:10px;min-width:0;margin-top:10px;display:grid}.adjust-grid{gap:10px;min-width:0;display:grid}.adjust-row{gap:2px;min-width:0;display:grid}.adjust-label{font-variant-numeric:tabular-nums;font-size:14px;font-weight:600}.adjust-row .range{min-height:44px}.adjust-row .range-value{display:none}.adjust-toggle[aria-expanded=true]{background:var(--tint)}.adjust-hint{color:var(--muted);margin:0;font-size:13px;line-height:1.45}.adjust-actions{flex-wrap:wrap;gap:8px;display:flex}.adjust-actions .btn{flex:auto;min-height:44px}.adjust-status{color:var(--muted);margin:0;font-size:13px}.adjust-status:empty{display:none}.tpl{flex-direction:column;gap:8px;min-width:0;display:flex}.tpl[hidden],.tpl-list[hidden],.tpl-empty[hidden]{display:none}.tpl-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.tpl-item{background:var(--ed-raised,var(--raised));border-radius:12px;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:4px 12px;padding:8px;display:grid}.tpl-thumb{object-fit:cover;background:var(--ed-high,var(--pill));border-radius:8px;grid-row:span 2;width:48px;height:64px;display:block}.tpl-text{flex-direction:column;gap:2px;min-width:0;display:flex}.tpl-name{overflow-wrap:anywhere;font-size:14px;font-weight:700}.tpl-meta{color:var(--ed-muted,var(--muted));font-size:12px}.tpl-name-input{background:var(--ed-high,var(--pill));width:100%;min-height:44px;color:inherit;font:inherit;border:0;border-radius:10px;padding:0 10px;font-size:15px;font-weight:700}.tpl-actions{flex-wrap:wrap;grid-column:2;gap:2px;display:flex}.tpl-use,.tpl-act{min-width:44px;min-height:44px;font:inherit;cursor:pointer;border:0;border-radius:22px;padding:0 12px;font-size:13px;font-weight:600}.tpl-use{background:var(--ed-text,var(--text));color:var(--ed-bg,var(--on-text))!important}.tpl-act{background:0 0;color:var(--ed-muted,var(--muted))!important}.tpl-act.is-armed{color:var(--ed-accent,var(--accent))!important}@media (hover:hover){.tpl-act:hover{color:var(--ed-text,var(--text))!important}}.tpl-empty{color:var(--ed-muted,var(--muted));margin:0;font-size:12px;line-height:1.45}.tpl :focus-visible{outline-offset:2px;outline:2px solid}
