.ed-hero{grid-template-columns:1.7fr 1fr 1fr;grid-template-areas:"cont new photo" "cont open open"}.ed-hero:has(.ed-continue[hidden]){grid-template-columns:1fr 1fr 1fr;grid-template-areas:"new photo open"}.ed-hero .ed-photo{grid-area:photo;min-height:151px}.ed-photo .ed-start-icon{background:var(--c-raised);color:var(--c-fg-2)}@media (max-width: 900px){.ed-hero,.ed-hero:has(.ed-continue[hidden]){grid-template-columns:1fr;grid-template-areas:"cont" "new" "photo" "open"}}.inspector .tabs .ph-tab{display:none}body.photo-mode .inspector .tabs .ph-tab{display:block}.pm-panel{display:grid;gap:22px}.pm-sec h3{margin:0 0 10px;font-size:var(--t-meta);font-weight:500;color:var(--c-fg-3)}.pm-sec[hidden]{display:none}.pm-chips{display:flex;flex-wrap:wrap;gap:6px}.pm-chips button,.pm-seg button{min-height:36px;padding:7px 12px;border-radius:var(--r-sm);border:1px solid #2c2c2e;background:#151517;color:#c9c9cc;font-size:12px}.pm-chips button:hover,.pm-seg button:hover{background:#1f1f21}.pm-chips button[aria-checked=true],.pm-seg button[aria-checked=true],.pm-seg button[aria-pressed=true]{border-color:var(--accent);color:#fff;background:var(--c-raised)}.pm-seg{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.pm-seg button{flex:1 1 auto}.pm-note{margin:10px 0 0;font-size:11px;line-height:1.5;color:#8e8e91}.pm-panel .range-field{margin-bottom:18px}.pm-panel button:focus-visible,.pm-dlg button:focus-visible,.pm-format:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.pm-btn{min-height:36px;padding:7px 14px;border-radius:var(--r-pill);font-size:12px}.pm-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-weight:650}.pm-primary:hover{background:var(--c-primary-hover)}.pm-dlg{box-sizing:border-box;width:min(92vw,400px);padding:24px;border:1px solid #2c2c2e;border-radius:var(--r-lg);background:#121214;color:var(--text);box-shadow:0 24px 64px rgb(0 0 0 / 0.6)}.pm-dlg::backdrop{background:rgb(0 0 0 / 0.6)}.pm-dlg h2{margin:0 0 8px;font-size:17px;font-weight:650;letter-spacing:-0.2px}.pm-dlg p{margin:0;font-size:13px;line-height:1.5;color:#b0b0b3}.pm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.pm-work{text-align:center}.pm-spin{width:34px;height:34px;margin:4px auto 16px;border-radius:50%;border:3px solid #2c2c2e;border-top-color:var(--accent);animation:m-spin var(--d-count) linear infinite}.pm-work.bad .pm-spin{display:none}.pm-work.bad h2{color:#ff8a80}.pm-work:not(.bad) .pm-actions{display:none}@media (prefers-reduced-motion: reduce){.pm-spin{animation-duration:2.4s}}.pm-formats{display:grid;gap:8px;margin:14px 0 12px}.pm-format{display:flex;gap:12px;align-items:flex-start;min-height:44px;padding:12px 14px;border:1px solid #2c2c2e;border-radius:var(--r-md);background:#151517;cursor:pointer}.pm-format:has(input:checked){border-color:var(--accent);background:var(--c-raised)}.pm-dlg .pm-formats .pm-format input[type=radio]{flex:none;width:18px;height:18px;margin:1px 0 0;padding:0;accent-color:var(--accent)}.pm-format>span{flex:1;min-width:0}.pm-format b{display:block;font-size:14px}.pm-format small{display:block;margin-top:2px;font-size:12px;line-height:1.45;color:#9a9a9d}#jobDownloads:has(.pm-result){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.pm-result{grid-column:1 / -1;display:block;width:100%;min-width:0;max-height:200px;border-radius:var(--r-sm);object-fit:contain;background:#0b0b0c}#jobDownloads:has(.pm-result) a,#jobDownloads:has(.pm-result) button{min-height:40px;display:inline-flex;align-items:center;justify-content:center}body.photo-mode .cc-cats button[data-cc=audio],body.photo-mode .cc-cats button[data-cc=transitions],body.photo-mode .cc-cats button[data-cc=captions],body.photo-mode .cc-cats button[data-cc=transcript],body.photo-mode .cc-cats button[data-cc=templates]{display:none}@media (min-width: 1100px){body.photo-mode main{grid-template-rows:minmax(0,1fr) auto auto auto 0}body.photo-mode main::after{display:none}}body.photo-mode #playBtn,body.photo-mode #clock,body.photo-mode #seek,body.photo-mode #duration,body.photo-mode #muteBtn,body.photo-mode #snapBtn,body.photo-mode .ratio-pick,body.photo-mode #peKey,body.photo-mode .pe-slash{display:none}body.photo-mode #sequenceStrip,body.photo-mode #editTimeline,body.photo-mode .trim-bar,body.photo-mode #sequenceNote,body.photo-mode #exportAsNew{display:none}body.photo-mode .layer-ed [data-ov-tab=anim],body.photo-mode .layer-ed [data-ov-tab=track],body.photo-mode .layer-ed [data-ov-tab=tts],body.photo-mode .layer-ed .ov-tabs,body.photo-mode .layer-ed details[data-grp=timing],body.photo-mode .layer-ed details[data-grp=writer],body.photo-mode .layer-ed .overlay-head>span,body.photo-mode .layer-ed .kf-dia,body.photo-mode .layer-ed details[data-grp=track],body.photo-mode .layer-ed label.field:has(select[data-ov=animation]),body.photo-mode .layer-ed .overlay-card>.pair:has([data-ov=start],[data-ov-now]),body.photo-mode .layer-ed .kf-bar,body.photo-mode .ov-row>span,body.photo-mode #tab-decos .dl-set:has(.dl-seg[aria-label=Timing]),body.photo-mode #tab-decos .dl-when,body.photo-mode #tab-decos label:has(>input[data-fade]),body.photo-mode .cc-content .hint,body.photo-mode .cc-content label:has(>input[data-key=auto_emoji]),body.photo-mode .cc-content label:has(>input[data-key=emoji_size]),body.photo-mode .cc-content label:has(>input[data-key=emoji_y]),body.photo-mode .inspector>.hint,body.photo-mode .inspector>p{display:none}body.photo-mode .inspector>.section-title,body.photo-mode .inspector>label.field,body.photo-mode .inspector>.preset-actions,body.photo-mode .inspector>.inspector-footer,body.photo-mode .inspector .tabs [data-tab=presets],body.photo-mode .inspector .tabs [data-tab=type],body.photo-mode .inspector .tabs [data-tab=effects],body.photo-mode .inspector .tabs [data-tab=layout]{display:none}@media (max-width: 767.98px){body.pe-on.photo-mode .pe-chip,body.pe-on.photo-mode .layer-ed .ov-tabs,body.pe-on.photo-mode #editTimeline,body.pe-on.photo-mode .transport #clock,body.pe-on.photo-mode .transport #duration,body.pe-on.photo-mode .transport .pe-slash,body.pe-on.photo-mode .transport #playBtn,body.pe-on.photo-mode .transport .pe-key{display:none}body.pe-on.photo-mode .transport #undoBtn{margin-left:auto}.pm-chips button,.pm-seg button,.pm-btn{min-height:44px}.pm-dlg{margin:auto auto 0;width:100%;max-width:none;border-radius:var(--r-xl) var(--r-xl) 0 0;padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}}.sec-count{margin-left:6px;font-size:12px;font-weight:500;color:var(--c-fg-3, #8e8e91)}.photo-tile .cover img{object-fit:contain;background:#0b0b0c}.photo-tile .cover .foot b{color:inherit}.photo-tile .cover:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.lph-dlg{box-sizing:border-box;width:min(94vw,920px);max-height:94vh;padding:18px 20px 20px;border:1px solid #2c2c2e;border-radius:var(--r-lg);background:#121214;color:var(--text);box-shadow:0 24px 64px rgb(0 0 0 / 0.6)}.lph-dlg[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:12px}.lph-dlg::backdrop{background:rgb(0 0 0 / 0.7)}.lph-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.lph-dlg h2{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:650;letter-spacing:-0.2px}.lph-x{flex:none;width:40px;height:40px;border-radius:var(--r-md);border:0;background:transparent;color:#b0b0b3;font-size:24px;line-height:1}.lph-x:hover{background:#1f1f21;color:#fff}.lph-stage{display:grid;place-items:center;min-height:160px;border-radius:var(--r-md);background:#0b0b0c;overflow:hidden}.lph-img{display:block;max-width:100%;max-height:calc(94vh - 190px);object-fit:contain}.lph-skel{width:100%;height:100%;min-height:240px}.lph-err{margin:0;padding:24px;font-size:13px;color:#ff8a80;text-align:center}.lph-meta{margin:0;font-size:12px;color:#8e8e91}.lph-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.lph-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 16px;border-radius:var(--r-pill);border:1px solid #2c2c2e;background:#151517;color:#e6e6e8;font-size:13px;text-decoration:none;cursor:pointer}.lph-btn:hover{background:#1f1f21}.lph-btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);font-weight:650}.lph-btn.danger{color:#ff8a80}.lph-dlg button:focus-visible,.lph-dlg a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (max-width: 767.98px){.lph-dlg{margin:auto auto 0;width:100%;max-width:none;border-radius:var(--r-xl) var(--r-xl) 0 0;padding-bottom:max(20px,env(safe-area-inset-bottom,0px))}.lph-btn{min-height:44px;flex:1 1 auto}}.pm-cropgo{width:100%;margin-bottom:12px}.pm-panel.pm-cropping>.pm-sec:not(.pm-cropbar){display:none}.pm-row{display:flex;gap:8px;margin-top:14px}.pm-row .pm-btn{flex:1 1 0}.pm-row-top{margin:0 0 14px}.preview-wrap{position:relative}.pm-crop{position:absolute;z-index:8;touch-action:none}.pm-crop[hidden]{display:none}.pm-crop-clip{position:absolute;inset:0;overflow:hidden;pointer-events:none}.pm-crop-vis,.pm-crop-hit{position:absolute;box-sizing:border-box}.pm-crop-vis{border:1.5px solid #fff;box-shadow:0 0 0 9999px rgb(0 0 0 / 0.58);background:linear-gradient(to right,transparent calc(33.33% - 0.5px),rgb(255 255 255 / 0.4) 0 calc(33.33% + 0.5px),transparent 0),linear-gradient(to right,transparent calc(66.66% - 0.5px),rgb(255 255 255 / 0.4) 0 calc(66.66% + 0.5px),transparent 0),linear-gradient(to bottom,transparent calc(33.33% - 0.5px),rgb(255 255 255 / 0.4) 0 calc(33.33% + 0.5px),transparent 0),linear-gradient(to bottom,transparent calc(66.66% - 0.5px),rgb(255 255 255 / 0.4) 0 calc(66.66% + 0.5px),transparent 0)}.pm-crop-hit{cursor:move;touch-action:none}.pm-crop-hit:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.pm-h{position:absolute;display:grid;width:44px;height:44px;padding:0;border:0;background:transparent;touch-action:none}.pm-crop .pm-h:hover,.pm-crop .pm-h:active,.pm-crop .pm-h:focus{background:transparent;box-shadow:none}.pm-h::after{content:"";width:12px;height:12px;border-radius:3px;background:#fff;box-shadow:0 0 0 1px rgb(0 0 0 / 0.55)}.pm-h[data-h=n]::after,.pm-h[data-h=s]::after{width:26px;height:6px}.pm-h[data-h=e]::after,.pm-h[data-h=w]::after{width:6px;height:26px}.pm-h:focus-visible::after{outline:2px solid var(--accent);outline-offset:3px}.pm-h[data-h=nw]{left:0;top:0;place-items:start;cursor:nwse-resize}.pm-h[data-h=n]{left:50%;top:0;place-items:start center;translate:-50% 0;cursor:ns-resize}.pm-h[data-h=ne]{left:100%;top:0;place-items:start end;translate:-100% 0;cursor:nesw-resize}.pm-h[data-h=e]{left:100%;top:50%;place-items:center end;translate:-100% -50%;cursor:ew-resize}.pm-h[data-h=se]{left:100%;top:100%;place-items:end;translate:-100% -100%;cursor:nwse-resize}.pm-h[data-h=s]{left:50%;top:100%;place-items:end center;translate:-50% -100%;cursor:ns-resize}.pm-h[data-h=sw]{left:0;top:100%;place-items:end start;translate:0 -100%;cursor:nesw-resize}.pm-h[data-h=w]{left:0;top:50%;place-items:center start;translate:0 -50%;cursor:ew-resize}@media (max-width: 767.98px){.pm-row .pm-btn{min-height:44px}}
