#enhancer-action-mask{display:flex;transition:all .2s ease;margin-top:var(--spacing-xsmall);width:80%;min-width:900px;border-radius:var(--border-radius);overflow:hidden;z-index:1;box-shadow:0 4px 6px -1px rgba(37,99,235,.08),0 2px 4px -2px rgba(37,99,235,.04),0 0 0 1px rgba(37,99,235,.06);background-color:var(--background-color-regular, #FFFFFF)}#enhancer-action-mask[data-show=false]{display:none}#enhancer-action-mask #enhancer-action-container{position:relative;display:flex;flex-direction:column;width:100%}#enhancer-action-mask #enhancer-action-container[data-status=""] .compare-panels{background:rgba(0,0,0,0);height:auto;padding:1rem}#enhancer-action-mask #enhancer-action-container[data-status=""] .compare-panels .panel-before{flex:1;height:auto;background:rgba(0,0,0,0);border:none;box-shadow:none}#enhancer-action-mask #enhancer-action-container[data-status=""] .compare-panels .panel-before .preview-container{width:100%;max-width:600px;height:280px;margin:0 auto;background-color:rgba(0,0,0,0);border:2px dashed rgba(37,99,235,.3);border-radius:12px}#enhancer-action-mask #enhancer-action-container[data-status=""] .compare-panels .panel-before .preview-container .icon{display:none}#enhancer-action-mask #enhancer-action-container[data-status=""] .compare-panels .panel-after{display:none}#enhancer-action-mask #enhancer-action-container[data-status=""] .compare-panels .panel-label{display:none}#enhancer-action-mask #enhancer-action-container[data-status=""] .action-bar{display:none}#enhancer-action-mask #enhancer-action-container[data-status=""] .upload-btn-center{display:flex !important}#enhancer-action-mask #enhancer-action-container:not([data-status=""]) .upload-btn-center{display:none !important}#enhancer-action-mask #enhancer-action-container:not([data-status=""]) .compare-panels .panel-label{display:block}#enhancer-action-mask #enhancer-action-container:not([data-status=""]) .action-bar{display:flex}#enhancer-action-mask #enhancer-action-container[data-status=uploading] .action-buttons .reupload,#enhancer-action-mask #enhancer-action-container[data-status=pending] .action-buttons .reupload{display:flex}#enhancer-action-mask #enhancer-action-container[data-status=uploading] .action-buttons .swap,#enhancer-action-mask #enhancer-action-container[data-status=pending] .action-buttons .swap{display:flex}#enhancer-action-mask #enhancer-action-container[data-status=uploading] .preview-container,#enhancer-action-mask #enhancer-action-container[data-status=uploading] .action-buttons .reupload{pointer-events:none}#enhancer-action-mask #enhancer-action-container[data-status=running] .action-buttons .speed-up{display:flex}#enhancer-action-mask #enhancer-action-container[data-status=running] .preview-container{pointer-events:none}#enhancer-action-mask #enhancer-action-container[data-status=done] .action-buttons .reupload,#enhancer-action-mask #enhancer-action-container[data-status=done] .action-buttons .download{display:flex}#enhancer-action-mask #enhancer-action-container[data-status=done] .action-buttons .swap{display:none !important}#enhancer-action-mask #enhancer-action-container[data-status=done] .show-modal-btn{display:flex !important}#enhancer-action-mask #enhancer-action-container[data-status=done] .tip{visibility:visible !important}#enhancer-action-mask #enhancer-action-container .icon{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-to-image-action-previce-icon-color, #9da2ad);z-index:0}#enhancer-action-mask #enhancer-action-container .icon span{white-space:nowrap;margin-top:.5rem;font-size:.85rem}#enhancer-action-mask #enhancer-action-container .icon svg{width:2rem;height:2rem}#enhancer-action-mask #enhancer-action-container .upload-btn-center{display:none;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;background:var(--primary-button-bgcolor);color:var(--primary-button-color);border:none;border-radius:2rem;font-size:.9rem;font-weight:600;cursor:pointer;z-index:10;transition:all .2s ease}#enhancer-action-mask #enhancer-action-container .upload-btn-center:hover{background:var(--primary-button-hover-bgcolor);transform:translate(-50%, -50%) scale(1.02)}#enhancer-action-mask #enhancer-action-container .upload-btn-center svg{width:1.1rem;height:1.1rem}.compare-panels{display:flex;flex-direction:row;gap:1px;background:rgba(0,0,0,.05);height:320px}.panel{position:relative;flex:1;display:flex;flex-direction:column;background:var(--background-color-regular, #ffffff)}.panel .panel-label{display:none;position:absolute;top:.75rem;left:.75rem;padding:.25rem .75rem;background:rgba(0,0,0,.5);color:#fff;font-size:.75rem;font-weight:600;border-radius:1rem;z-index:5;text-transform:uppercase;letter-spacing:.5px}.preview-container{position:relative;width:100%;height:100%;background-color:var(--background-color, #f5f9fe);overflow:hidden;cursor:pointer}.preview-container .preview-mask{display:none}.preview-container video,.preview-container img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;z-index:2}.preview-container video:not([src]),.preview-container img:not([src]){opacity:0}.output-container{position:relative;width:100%;height:100%;background-color:var(--background-color, #f5f9fe);overflow:hidden}.output-container>img,.output-container>video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;z-index:2}.output-container>img:not([src]),.output-container>img[src=""],.output-container>video:not([src]),.output-container>video[src=""]{opacity:0}.output-container .output-tip{font-size:.85rem}.output-container .show-modal-btn{position:absolute;right:.75rem;bottom:.75rem;display:none;align-items:center;justify-content:center;width:2rem;height:2rem;background-color:rgba(0,0,0,.4);backdrop-filter:blur(4px);border-radius:.5rem;cursor:pointer;z-index:10;transition:all .2s ease}.output-container .show-modal-btn img{width:1rem;height:1rem;filter:brightness(0) invert(1)}.output-container .show-modal-btn:hover{background-color:rgba(0,0,0,.6);transform:scale(1.05)}.action-bar{display:none;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1rem;background:var(--background-color-regular, #ffffff);border-top:1px solid rgba(0,0,0,.05)}.action-buttons{display:flex;align-items:center;justify-content:center;gap:.5rem}.action-buttons button,.action-buttons a{display:none;align-items:center;justify-content:center;gap:.4rem;height:2.5rem;padding:0 1.25rem;border-radius:1.25rem;font-size:.875rem;font-weight:600;text-decoration:none;cursor:pointer;transition:all .2s ease}.action-buttons button svg,.action-buttons a svg{width:1.1rem;height:1.1rem}.action-buttons button:hover,.action-buttons a:hover{transform:translateY(-1px)}.action-buttons button:active,.action-buttons a:active{transform:translateY(0)}.action-buttons .reupload{width:2.5rem;padding:0;background:var(--background-color, #f5f9fe);color:var(--color-light, #6b7280);border:1px solid rgba(0,0,0,.1)}.action-buttons .reupload:hover{background:rgba(0,0,0,.05)}.action-buttons .swap,.action-buttons .download{background:var(--primary-button-bgcolor);color:var(--primary-button-color);border:none}.action-buttons .swap:hover,.action-buttons .download:hover{background:var(--primary-button-hover-bgcolor);box-shadow:0 4px 12px rgba(37,99,235,.25)}.action-buttons .speed-up{background:linear-gradient(135deg, #f59e0b, #fbbf24);color:#fff;border:none}.action-buttons .speed-up:hover{box-shadow:0 4px 12px rgba(245,158,11,.35)}.tip{visibility:hidden;color:var(--color-info);font-size:.75rem}@media screen and (max-width: 600px){#enhancer-action-mask{width:calc(100vw - 32px);min-width:auto;margin-top:var(--spacing-small);background-color:var(--background-color-regular, #ffffff);border-radius:16px;box-shadow:0 2px 12px rgba(0,0,0,.08)}#enhancer-action-mask #enhancer-action-container{background-color:rgba(0,0,0,0);border-radius:16px;overflow:hidden}#enhancer-action-mask #enhancer-action-container[data-status=""] .compare-panels{padding:16px;background:rgba(0,0,0,0)}#enhancer-action-mask #enhancer-action-container[data-status=""] .compare-panels .panel-before .preview-container{height:200px;max-width:none;border:2px dashed rgba(37,99,235,.25);border-radius:12px;background-color:rgba(37,99,235,.02)}#enhancer-action-mask #enhancer-action-container[data-status=uploading] .compare-panels,#enhancer-action-mask #enhancer-action-container[data-status=pending] .compare-panels{height:auto;padding:0}#enhancer-action-mask #enhancer-action-container[data-status=uploading] .compare-panels .panel-before,#enhancer-action-mask #enhancer-action-container[data-status=pending] .compare-panels .panel-before{display:block !important;height:220px}#enhancer-action-mask #enhancer-action-container[data-status=uploading] .compare-panels .panel-before .preview-container,#enhancer-action-mask #enhancer-action-container[data-status=pending] .compare-panels .panel-before .preview-container{height:100%;border-radius:12px;background-color:var(--background-color, #f5f9fe)}#enhancer-action-mask #enhancer-action-container[data-status=uploading] .compare-panels .panel-before .panel-label,#enhancer-action-mask #enhancer-action-container[data-status=pending] .compare-panels .panel-before .panel-label{display:block !important}#enhancer-action-mask #enhancer-action-container[data-status=uploading] .compare-panels .panel-after,#enhancer-action-mask #enhancer-action-container[data-status=pending] .compare-panels .panel-after{display:none !important}#enhancer-action-mask #enhancer-action-container[data-status=uploading] .action-bar .tip,#enhancer-action-mask #enhancer-action-container[data-status=pending] .action-bar .tip{display:none}#enhancer-action-mask #enhancer-action-container[data-status=running] .compare-panels{padding:0;position:relative;height:200px;overflow:hidden;border-radius:12px 12px 0 0}#enhancer-action-mask #enhancer-action-container[data-status=running] .compare-panels .panel-before{display:block !important;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;z-index:1}#enhancer-action-mask #enhancer-action-container[data-status=running] .compare-panels .panel-before .preview-container{height:100%;border-radius:0}#enhancer-action-mask #enhancer-action-container[data-status=running] .compare-panels .panel-before .panel-label{display:block;z-index:5;background:rgba(0,0,0,.6)}#enhancer-action-mask #enhancer-action-container[data-status=running] .compare-panels .panel-after{position:absolute !important;top:0;left:0;right:0;bottom:0;height:100% !important;z-index:10;background:rgba(0,0,0,.5) !important;backdrop-filter:blur(3px)}#enhancer-action-mask #enhancer-action-container[data-status=running] .compare-panels .panel-after .panel-label{display:none !important}#enhancer-action-mask #enhancer-action-container[data-status=running] .compare-panels .panel-after .output-container{height:100%;background:rgba(0,0,0,0) !important;display:flex;flex-direction:column;align-items:center;justify-content:center}#enhancer-action-mask #enhancer-action-container[data-status=running] .compare-panels .panel-after .output-container>.icon{display:none}#enhancer-action-mask #enhancer-action-container[data-status=running] .compare-panels .panel-after .output-container .output-tip{display:none !important}#enhancer-action-mask #enhancer-action-container[data-status=running] .compare-panels .panel-after .output-container .show-modal-btn{display:none !important}#enhancer-action-mask #enhancer-action-container[data-status=running] .action-bar{padding:10px 16px;border-top:none;background:var(--background-color-regular, #fff)}#enhancer-action-mask #enhancer-action-container[data-status=running] .action-bar .action-buttons{gap:10px}#enhancer-action-mask #enhancer-action-container[data-status=running] .action-bar .action-buttons .speed-up{height:36px;font-size:13px;padding:0 20px}#enhancer-action-mask #enhancer-action-container[data-status=running] .action-bar .tip{display:none}#enhancer-action-mask #enhancer-action-container[data-status=done] .compare-panels{position:relative;height:280px;padding:0;background:var(--background-color, #f5f9fe)}#enhancer-action-mask #enhancer-action-container[data-status=done] .compare-panels .panel-before,#enhancer-action-mask #enhancer-action-container[data-status=done] .compare-panels .panel-after{display:none !important}#enhancer-action-mask #enhancer-action-container[data-status=done] .compare-panels .slider-compare-container{position:absolute;top:0;left:0;width:100%;height:100%}#enhancer-action-mask #enhancer-action-container .icon svg{width:28px;height:28px;opacity:.5}#enhancer-action-mask #enhancer-action-container .icon span{font-size:13px;color:var(--color-light, #9ca3af);margin-top:8px}#enhancer-action-mask #enhancer-action-container .upload-btn-center{bottom:20px;padding:12px 24px;font-size:14px;font-weight:600;border-radius:24px;box-shadow:0 4px 12px rgba(37,99,235,.25)}.compare-panels{flex-direction:column;height:auto;gap:0;background:rgba(0,0,0,0)}.panel{height:160px}.panel .panel-label{top:8px;left:8px;padding:4px 10px;font-size:10px;background:rgba(0,0,0,.6);backdrop-filter:blur(4px)}.action-bar{padding:12px 16px;background:var(--background-color-regular, #ffffff);border-top:1px solid rgba(0,0,0,.06)}.action-buttons{gap:8px;width:100%;justify-content:center}.action-buttons button,.action-buttons a{height:40px;padding:0 16px;font-size:13px;font-weight:600;border-radius:20px}.action-buttons .reupload{width:40px;padding:0}.action-buttons .swap,.action-buttons .download,.action-buttons .speed-up{flex:1;max-width:180px}.tip{font-size:11px;margin-top:8px}.output-container .icon span:empty,.output-container .icon span[data-empty=true]{display:none}.output-container .output-tip:empty{display:none}.slider-compare-container{position:relative;width:100%;height:100%;overflow:hidden;touch-action:none;user-select:none}.slider-compare-container .slider-layer{position:absolute;top:0;left:0;width:100%;height:100%}.slider-compare-container .slider-layer img,.slider-compare-container .slider-layer video{width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-drag:none}.slider-compare-container .slider-before{z-index:2;clip-path:inset(0 50% 0 0)}.slider-compare-container .slider-after{z-index:1}.slider-compare-container .slider-handle{position:absolute;top:0;left:50%;width:4px;height:100%;transform:translateX(-50%);z-index:10;cursor:ew-resize;touch-action:none}.slider-compare-container .slider-handle .slider-line{position:absolute;top:0;left:50%;transform:translateX(-50%);width:2px;height:100%;background:hsla(0,0%,100%,.9);box-shadow:0 0 8px rgba(0,0,0,.3)}.slider-compare-container .slider-handle .slider-circle{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:44px;height:44px;background:hsla(0,0%,100%,.95);border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 12px rgba(0,0,0,.3)}.slider-compare-container .slider-handle .slider-circle svg{width:16px;height:16px;color:#333}.slider-compare-container .slider-label{position:absolute;top:.75rem;padding:.3rem .6rem;background-color:rgba(0,0,0,.6);backdrop-filter:blur(8px);color:#fff;font-size:10px;font-weight:600;letter-spacing:.5px;border-radius:4px;z-index:5;text-transform:uppercase}.slider-compare-container .label-before{left:.75rem}.slider-compare-container .label-after{right:.75rem}}