.ph-top{padding-top:4.2em}.ph-card{margin:0 1.5em;color:#212529}@media(max-width:575px){.ph-card{margin:0 16px}}@media(min-width:992px){.ph-card{height:calc(100vh - 5.2em);min-height:560px}.ph-card>.card-body{display:flex;flex-direction:column;min-height:0}.ph-card .ph-main{flex:1;min-height:0;align-items:stretch}.ph-card .ph-stage-col{display:flex;flex-direction:column;min-height:0}.ph-card .ph-stage{flex:1;min-height:0}.ph-card .ph-stage canvas{max-height:100%}.ph-card .ph-side{display:flex;flex-direction:column;min-height:0;overflow-y:auto}.ph-card .ph-panel{flex:1;min-height:140px;max-height:none}}.ph-main{display:flex;gap:20px;align-items:flex-start}.ph-stage-col{flex:1;min-width:0}.ph-side{width:380px;flex-shrink:0}.ph-label{font-weight:600;margin-bottom:6px}.ph-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:320px;padding:16px;border-radius:12px;overflow:hidden;background:#111 repeating-conic-gradient(#1b1b1f 0 25%,#121215 0 50%) 0 0/20px 20px;user-select:none}.ph-stage canvas{display:block;max-width:100%;max-height:70vh}.ph-stage.over{outline:3px dashed #1f9bb5;outline-offset:-3px}.ph-stage.over .ph-drop-hint{display:flex}.ph-stage-msg{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;text-align:center;color:#ddd;background:rgba(0,0,0,0.45)}.ph-drop-hint{display:none;position:absolute;inset:0;z-index:5;align-items:center;justify-content:center;font-size:1.3rem;font-weight:700;color:#fff;background:rgba(31,155,181,0.6)}.ph-overlay{position:absolute;touch-action:none;cursor:crosshair}.ph-box{position:absolute;border:1px solid rgba(255,255,255,0.9);cursor:move;box-shadow:0 0 0 1px rgba(0,0,0,0.4)}.ph-box.ph-box-crop{box-shadow:0 0 0 9999px rgba(0,0,0,0.55),0 0 0 1px rgba(0,0,0,0.4);background-image:linear-gradient(rgba(255,255,255,0.35),rgba(255,255,255,0.35)),linear-gradient(rgba(255,255,255,0.35),rgba(255,255,255,0.35)),linear-gradient(90deg,rgba(255,255,255,0.35),rgba(255,255,255,0.35)),linear-gradient(90deg,rgba(255,255,255,0.35),rgba(255,255,255,0.35));background-size:100% 1px,100% 1px,1px 100%,1px 100%;background-position:0 33.33%,0 66.67%,33.33% 0,66.67% 0;background-repeat:no-repeat}.ph-box.ph-box-censor{border-style:dashed}.ph-box.ph-box-censor.ellipse{border-radius:50%}.ph-box.ph-box-censor:not(.active) .ph-h{display:none}.ph-box.ph-box-censor.active{border-style:solid;border-color:#3fd0ef}.ph-h{position:absolute;width:12px;height:12px;margin:-6px 0 0 -6px;border:1px solid rgba(0,0,0,0.5);border-radius:2px;background:#fff}.ph-h-n{left:50%;top:0;cursor:ns-resize}.ph-h-s{left:50%;top:100%;cursor:ns-resize}.ph-h-e{left:100%;top:50%;cursor:ew-resize}.ph-h-w{left:0;top:50%;cursor:ew-resize}.ph-h-ne{left:100%;top:0;cursor:nesw-resize}.ph-h-sw{left:0;top:100%;cursor:nesw-resize}.ph-h-nw{left:0;top:0;cursor:nwse-resize}.ph-h-se{left:100%;top:100%;cursor:nwse-resize}.ph-anim{position:absolute;left:0;right:0;bottom:0;z-index:6;display:flex;align-items:center;gap:10px;padding:18px 14px 8px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,0.6))}.ph-anim.d-none{display:none !important}.ph-anim select{padding:1px 4px;font-size:.75rem;color:#fff;background:rgba(0,0,0,0.45);border:1px solid rgba(255,255,255,0.3);border-radius:4px}.ph-anim select.d-none{display:none}.ph-anim select option{color:#222}.ph-stage.editing .ph-anim{display:none !important}.ph-play{width:22px;text-align:center;font-size:.9rem;cursor:pointer}.ph-seek{flex:1;min-width:0;accent-color:#3fd0ef}.ph-time{font-size:.75rem;font-variant-numeric:tabular-nums;white-space:nowrap}.ph-crop-bar{position:absolute;top:10px;left:10px;z-index:6;display:flex;align-items:center;gap:6px;padding:4px 6px 4px 10px;border-radius:8px;font-size:.8rem;color:#fff;background:rgba(0,0,0,0.6)}.ph-crop-bar.d-none{display:none !important}.ph-crop-bar select{font-size:.8rem;padding:2px 4px;border-radius:4px}[ld=hold].active{background:#1f9bb5;color:#fff}.ph-files{display:flex;gap:8px;margin-top:10px;padding-bottom:4px;overflow-x:auto}.ph-file,.ph-file-add{position:relative;flex-shrink:0;width:64px;height:64px;border:2px solid transparent;border-radius:8px;background:#eef2f4 center/cover no-repeat;cursor:pointer}.ph-file.active{border-color:#1f9bb5}.ph-file:hover .ph-file-x{display:flex}.ph-file-x{display:none;position:absolute;top:-2px;right:-2px;width:18px;height:18px;align-items:center;justify-content:center;border-radius:50%;font-size:12px;line-height:1;color:#fff;background:rgba(0,0,0,0.65)}.ph-file-tag{position:absolute;left:2px;bottom:2px;padding:0 4px;border-radius:3px;font-size:9px;font-weight:700;color:#fff;background:rgba(0,0,0,0.6)}.ph-file-add{display:flex;align-items:center;justify-content:center;font-size:1.6rem;color:#789;border:2px dashed #cdd6db;background:0}.ph-file-add input{display:none}.ph-sources{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px}.ph-sources .ph-label{margin:0 4px 0 0}.ph-chip{padding:3px 12px;border:1px solid #d3e3e8;border-radius:999px;font-size:.85rem;cursor:pointer}.ph-chip b{margin-left:4px;font-weight:400;color:#99a}.ph-chip b:hover{color:#d33}.ph-chip:hover{border-color:#8cc9d6}.ph-chip.active{border-color:#1f9bb5;background:#eaf7fa;color:#126a7c}.ph-upload{margin-left:auto}.ph-upload input{display:none}.ph-hist{display:block;width:100%;height:70px;margin-bottom:8px;border-radius:6px;background:#1a1d21}.ph-panel{overflow-y:auto;margin:0 -4px;padding:0 4px}.ph-sec{border-top:1px solid #eee}.ph-sec.closed .ph-sec-body{display:none}.ph-sec.closed .ph-sec-head i{transform:rotate(-90deg)}.ph-sec-head{display:flex;align-items:center;justify-content:space-between;padding:8px 0;font-weight:600;font-size:.9rem;cursor:pointer}.ph-sec-head i{width:0;height:0;border:5px solid transparent;border-top-color:#889;margin-top:4px;transition:transform .15s}.ph-sec-body{padding-bottom:10px}.ph-row{margin-bottom:4px}.ph-row input[type=range]{display:block;width:100%}.ph-row.changed .ph-row-name{color:#126a7c;font-weight:600}.ph-row-head{display:flex;justify-content:space-between;font-size:.82rem}.ph-row-name{cursor:default}.ph-row-v{font-variant-numeric:tabular-nums;color:#778}.ph-btns,.ph-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.ph-btns .btn.active,.ph-chips .btn.active{background:#1f9bb5;color:#fff}.ph-seg{display:flex;margin-bottom:8px}.ph-seg .btn{flex:1}.ph-resize{display:flex;align-items:center;gap:6px;margin-bottom:8px}.ph-resize input[type=number]{width:84px}.ph-resize label{white-space:nowrap}.ph-panel-foot{padding-top:6px;border-top:1px solid #eee;text-align:right}.ph-focus{padding:12px;margin-bottom:12px;border-radius:10px;background:#f1f8fa}.ph-focus .ph-row.big .ph-row-head{font-size:1.05rem;font-weight:700;margin-bottom:6px}.ph-focus .ph-row.big .ph-row-v{color:#126a7c}.ph-alts{display:flex;gap:8px}.ph-alt{flex:1;min-width:0;border:2px solid transparent;border-radius:8px;cursor:pointer}.ph-alt canvas{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;border-radius:6px;background:#16161a}.ph-alt:hover{border-color:#8cc9d6}.ph-alt.disabled{opacity:.4;cursor:default}.ph-alt-cap{display:flex;justify-content:space-between;padding:3px 2px 0;font-size:.75rem}.ph-alt-v{color:#778;font-variant-numeric:tabular-nums}.ph-more-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:4px;font-weight:600;font-size:.9rem;color:#889}.ph-focus-page .ph-panel{opacity:.6;transition:opacity .2s}.ph-focus-page .ph-panel:hover,.ph-focus-page .ph-panel:focus-within{opacity:1}.ph-export{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:10px;padding-top:10px;border-top:1px solid #eee}.ph-opts{display:flex;align-items:center;gap:6px}.ph-opts>span:first-child{white-space:nowrap;color:#667}.ph-opts select{width:auto}.ph-opts.d-none{display:none !important}.ph-dropup .dropdown-toggle{white-space:nowrap}.ph-dropup .dropdown-menu{font-size:.875em;max-height:60vh;overflow-y:auto}.ph-dropup .dropdown-header{font-size:.75em}.ph-quality input{width:90px}.ph-go{display:flex;gap:8px;margin-left:auto}.ph-go .btn{white-space:nowrap}.ph-fps{width:auto}.ph-export-foot{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:4px}.ph-q{width:36px;text-align:right}[ld=export].disabled,[ld=export-all].disabled{pointer-events:none;opacity:.6}[ld=export].ph-pro::after{content:"Pro";font-size:.7em;font-weight:bold;margin-left:.5em;padding:.05em .4em;border-radius:.3em;background:#ffc83d;color:#4a3500;vertical-align:middle}.ph-prog{height:4px;margin-top:6px;border-radius:2px;background:#eee;overflow:hidden}.ph-prog div{height:100%;width:0;background:#1f9bb5;transition:width .2s}.ph-ad{margin-top:2em}.ph-all-list{display:flex;flex-wrap:wrap;gap:6px 18px}@media(max-width:991px){.ph-main{flex-direction:column;align-items:stretch}.ph-side{width:auto}.ph-panel{max-height:60vh}}.ph-fx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:260px;overflow-y:auto;padding:2px}.ph-fx{border:2px solid transparent;border-radius:8px;cursor:pointer;text-align:center;font-size:.72rem;line-height:1.2}.ph-fx canvas{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;border-radius:6px;background:#16161a}.ph-fx span{display:block;padding:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ph-fx:hover{border-color:#8cc9d6}.ph-fx.active{border-color:#1f9bb5}.ph-fx.active span{font-weight:700;color:#126a7c}.ph-row-color{display:flex;align-items:center;justify-content:space-between;font-size:.82rem}.ph-row-color input{width:44px;height:24px;padding:0;border:1px solid #ccc;border-radius:4px}.ph-fx{position:relative}.ph-fx.filtered{display:none}.ph-fx-anim{position:absolute;top:4px;right:5px;font-size:8px;font-style:normal;line-height:1;padding:2px 3px;border-radius:3px;color:#fff;background:rgba(0,0,0,0.55)}.ph-fx-tabs{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:6px}.ph-fx-tabs .ph-chip{padding:1px 9px;font-size:.75rem}.ph-fx-focus .big{font-size:1.05rem}.ph-fx-focus .big b{color:#126a7c}.ph-tabs{display:flex;margin-bottom:4px;border-bottom:1px solid #e3e8ea}.ph-tab{flex:1;padding:7px 4px;text-align:center;font-size:.85rem;font-weight:600;color:#889;cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}.ph-tab:hover{color:#126a7c}.ph-tab.active{color:#126a7c;border-bottom-color:#1f9bb5}.ph-pair.two{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.ph-labeled{align-items:center}.ph-labeled>span{width:52px;font-size:.8rem;color:#778}.ph-fx.sel{box-shadow:0 0 0 2px #1f9bb5}.ph-fx[data-order]:not([data-order=""])::after{content:attr(data-order);position:absolute;left:4px;top:4px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;font-size:10px;font-weight:700;line-height:16px;color:#fff;background:#1f9bb5}.ph-stack{align-items:center;margin-top:8px}.ph-stack .ph-chip{font-size:.78rem;padding:1px 9px}.ph-stack b.nm{margin:0;font-weight:600;color:inherit}.ph-head{display:flex;align-items:flex-end;gap:12px;margin-bottom:10px}.ph-title{flex:1;min-width:0}.ph-title h1{margin:-3px 0 2px;font-size:1.3rem;font-weight:700;line-height:1.1}.ph-title p{margin:0;font-size:.82rem;line-height:1.35;color:#667;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ph-samples{display:flex;align-items:center;gap:6px;flex-shrink:0}.ph-samples .ph-label{margin:0 2px 0 0;font-size:.8rem;color:#889}.ph-sample{width:40px;height:40px;border-radius:6px;border:2px solid transparent;background:#eef2f4 center/cover no-repeat;cursor:pointer}.ph-sample:hover{border-color:#8cc9d6}.ph-sample.active{border-color:#1f9bb5}.ph-stage-tools{position:absolute;top:10px;right:10px;z-index:6;display:flex;gap:6px}.ph-stage-tools input{display:none}.ph-stage-tools [ld=hold]{color:#fff;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.35)}.ph-stage-tools [ld=hold].active{background:#1f9bb5}[ld=fx-params]{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}[ld=fx-params]>.ph-row-head,[ld=fx-params]>.ph-stack{grid-column:1/-1}@media(max-width:991px){.ph-head{flex-wrap:wrap;align-items:flex-start}.ph-samples{flex-wrap:wrap}}.ph-speed{width:auto;flex-shrink:0}.ph-split{position:absolute;z-index:5;width:24px;margin-left:-12px;cursor:ew-resize;touch-action:none}.ph-split.d-none{display:none !important}.ph-split::before{content:"";position:absolute;left:11px;top:0;bottom:0;width:2px;background:#fff;box-shadow:0 0 4px rgba(0,0,0,0.5)}.ph-split i{position:absolute;left:0;top:50%;width:24px;height:24px;margin-top:-12px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,0.4)}.ph-split i::before{content:"‹ ›";position:absolute;inset:0;font-size:12px;font-style:normal;font-weight:700;line-height:24px;text-align:center;color:#126a7c}.ph-split-tag{position:absolute;top:8px;padding:1px 6px;border-radius:3px;font-size:.7rem;white-space:nowrap;color:#fff;background:rgba(0,0,0,0.5);pointer-events:none}.ph-split-tag.l{right:18px}.ph-split-tag.r{left:18px}.ph-stage-tools [ld=split-btn]{display:flex;align-items:center;color:#fff;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.35)}.ph-stage-tools [ld=split-btn] svg{display:block}.ph-stage-tools [ld=split-btn].active{background:#1f9bb5}.ph-src-info{position:absolute;top:10px;left:10px;z-index:6;max-width:45%;padding:3px 8px;border-radius:6px;font-size:.68rem;line-height:1.3;color:rgba(255,255,255,0.9);background:rgba(0,0,0,0.45);cursor:pointer}.ph-src-info b,.ph-src-info span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ph-src-info b{font-weight:600}.ph-src-info:empty{display:none}.ph-src-info.collapsed{width:22px;height:22px;padding:0;border-radius:50%}.ph-src-info.collapsed b,.ph-src-info.collapsed span{display:none}.ph-src-info.collapsed::before{content:"i";display:block;font:italic 700 .75rem/22px Georgia,serif;text-align:center}.ph-stage.cropping .ph-src-info{display:none}.ph-intro{margin-top:3em}.ph-intro h2{font-size:1.6rem;font-weight:700;margin-bottom:.6em}.ph-intro p{color:#556;line-height:1.7}.ph-tools{margin:3em auto 2em}.ph-tools-cat{margin-bottom:1.6em}.ph-tools-head{display:flex;align-items:baseline;gap:10px;margin-bottom:8px}.ph-tools-head b{font-size:1.05rem}.ph-tools-head span{font-size:.85rem;color:#889}.ph-tools-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.ph-tool{display:block;color:inherit;text-decoration:none}.ph-tool:hover{color:inherit;text-decoration:none}.ph-tool:hover .ph-tool-thumb{transform:translateY(-2px);box-shadow:0 6px 14px rgba(0,0,0,0.15)}.ph-tool.soon{opacity:.55}.ph-tool-thumb{position:relative;aspect-ratio:3/2;margin-bottom:6px;border-radius:8px;background-color:#dfe9ec;background-size:cover;background-position:center;transition:transform .15s,box-shadow .15s}.ph-tool-thumb span{position:absolute;right:6px;top:6px;padding:0 6px;border-radius:3px;font-size:.65rem;color:#fff;background:rgba(0,0,0,0.5)}.ph-tool-name{font-weight:600;font-size:.9rem}.ph-tool-desc{font-size:.78rem;color:#889}.ph-index-hero{padding:5.5em 0 1.5em}.ph-index-editor{margin:1.5em 0 2em;padding:2em;border-radius:14px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,0.12)}.ph-variants{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-bottom:1em;font-size:.85rem}.ph-variants span{color:#889}.ph-variants b{color:#126a7c}.ph-focus-btns .btn{padding:4px 12px;font-size:.9rem}.ph-focus .ph-row-head.big{font-size:1.05rem;margin-bottom:6px}.ph-focus .ph-row-head.big b{color:#126a7c}