.hv2-imgws.hv2-tools{height:100%}.hv2-tools>*{flex-shrink:0}.hv2-tools>.hv2c-top{max-width:1280px}.hv2 .hv2c-tasks a.is-dim{opacity:.55;cursor:default}.hv2 .hv2c-tasks a.is-dim:hover{color:#9c90ad}.hv2t-card{width:100%;padding:0;border-radius:24px;background:transparent}.hv2t-item+.hv2t-item{margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.06)}.hv2t-row{--hv2t-h:clamp(520px,64vh,720px);display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:16px;align-items:stretch}.hv2t-stage{position:relative;height:var(--hv2t-h);padding:20px;border-radius:24px;background:#1a1622;overflow:hidden}.hv2t-stage,.hv2t-stage>div{display:flex;align-items:center;justify-content:center}.hv2t-stage>div{width:100%!important;height:100%}.hv2t-stage img{max-width:100%!important;max-height:calc(var(--hv2t-h) - 40px)!important;width:auto;height:auto;object-fit:contain}.hv2t-stage .ReactCrop{width:auto!important;height:auto!important;max-height:calc(var(--hv2t-h) - 40px)}.hv2t-side{max-height:var(--hv2t-h);overflow-y:auto;padding:16px 14px;border-radius:24px;background:#1a1622;display:flex;flex-direction:column;gap:14px}.hv2t-side>*{width:100%}.hv2t-side h3{margin:0;color:#fff;font:600 15px/22px var(--font-sans)}.hv2t-side label{color:#9c90ad!important}.hv2t-side button{border-radius:10px}.hv2t-opts{display:grid;gap:6px}.hv2t-opts.c2{grid-template-columns:repeat(2,minmax(0,1fr))}.hv2t-opts.c3{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:10px}.hv2t-opts.c4{grid-template-columns:repeat(4,minmax(0,1fr))}.hv2t-opts button{min-height:34px;padding:6px 4px;border:1px solid transparent;border-radius:9px!important;background:#25202f;color:#c9c0d6;font:500 12px/16px var(--font-sans);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;text-align:center}.hv2t-opts button small{font-size:10px;color:rgba(255,255,255,.16)}.hv2t-opts button:hover{background:#322b3e;color:#fff}.hv2t-opts button.is-on{border-color:transparent;background:#3a3148;color:#fff}.hv2t-opts button.is-on small{color:#d58cff}.hv2t-presets{margin-bottom:12px}@media (max-width:767px){.hv2-tools .hv2c-tasks{max-width:100%;overflow-x:auto;scrollbar-width:none}.hv2 .hv2-tools .hv2c-tasks a{flex:none;padding:0 12px;white-space:nowrap}}@media (min-width:901px){.hv2t-image-editor .hv2t-row{--hv2t-h:600px}}@media (max-width:900px){.hv2t-row{--hv2t-h:360px;grid-template-columns:1fr}.hv2t-side{max-height:none}}.hv2t-stage .min-h-\[300px\]{width:100%;height:100%;min-height:0!important}.hv2t-drop{position:relative;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1.5px solid transparent;border-radius:24px;cursor:pointer;text-align:center;transition:border-color .15s,background .15s}.hv2t-drop.is-over{border-color:#aa00ff;background:rgba(170,0,255,.05)}.hv2t-drop__ico{width:52px;height:52px;margin-bottom:16px;border-radius:16px;background:rgba(170,0,255,.14);display:grid;place-items:center}.hv2t-drop__ico svg{width:26px;height:26px;fill:none;stroke:#d58cff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hv2t-drop b{color:#fff;font:600 17px/26px var(--font-sans)}.hv2t-drop__sub{margin-top:4px;color:#9c90ad;font:400 13px/20px var(--font-sans)}.hv2t-drop__btn{margin-top:18px;height:40px;padding:0 20px;border-radius:12px;background:#aa00ff;color:#fff;display:inline-flex;align-items:center;font:600 14px/1 var(--font-sans)}.hv2t-samples{margin-top:28px;display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;border-radius:14px;background:transparent;color:#c9c0d6;font:400 13px/20px var(--font-sans);cursor:default}.hv2t-samples button{width:40px;height:40px;padding:0;border:0;border-radius:10px;overflow:hidden;cursor:pointer;position:relative}.hv2t-samples button:hover:after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.08);pointer-events:none}.hv2t-samples button:focus-visible{outline:2px solid #d58cff;outline-offset:2px}.hv2t-samples img{width:40px;height:40px;object-fit:cover;display:block}.hv2t-drop__terms{position:absolute;left:0;right:0;bottom:16px;color:#5f5572;font:400 11px/16px var(--font-sans)}.hv2t-side{padding:18px 16px;gap:0}.hv2t-side>div{display:flex;flex-direction:column;gap:18px}.hv2t-side h3,.hv2t-side>div>*{margin:0!important}.hv2t-side h3{text-align:left!important;color:#fff!important;font:600 16px/24px var(--font-sans)!important}.hv2t-side .text-xs,.hv2t-side label{color:#9c90ad!important;font-size:12px!important;line-height:16px!important}.hv2t-side label{display:flex!important;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px!important}.hv2t-side label span{font-size:11px;color:#6f6482!important}.hv2t-side p.text-xs{margin-top:6px!important;line-height:18px!important}.hv2t-side .grid>button:not([class*=rounded-full]),.hv2t-side .grid>div>button:not([class*=rounded-full]){height:34px;padding:0 6px!important;border:1px solid transparent!important;border-radius:10px!important;background:#25202f!important;color:#c9c0d6!important;font:500 13px/1 var(--font-sans)!important}.hv2t-side .grid>button:not([class*=rounded-full]):hover{background:#322b3e!important;color:#fff!important}.hv2t-side .grid>button[class*="bg-[#AA00FF]"]:not([class*=rounded-full]),.hv2t-side .grid>button[class*=bg-primary]:not([class*=rounded-full]){border-color:transparent!important;background:#3a3148!important;color:#fff!important}.hv2t-side input[type=number],.hv2t-side input[type=text]{height:36px!important;padding:0 12px!important;border:1px solid transparent!important;border-radius:10px!important;background:#25202f!important;color:#fff!important;font:500 13px/1 var(--font-sans)!important;text-align:left}.hv2t-side div[class*="bg-[#2E2A43]"].rounded-md{padding:0 12px!important;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:10px!important;background:#25202f!important}.hv2t-side div[class*="bg-[#2E2A43]"].rounded-md>div{width:100%}.hv2t-side div[class*="bg-[#2E2A43]"].rounded-md span{font-size:13px!important;font-weight:600;min-width:36px;text-align:right}.hv2t-side .flex:has(>input[aria-label=target-size]){height:36px;border:1px solid transparent;border-radius:10px;background:#25202f;overflow:hidden}.hv2t-side input[aria-label=target-size]{border:0!important;border-radius:0!important;background:transparent!important;height:34px!important}.hv2t-side .flex:has(>input[aria-label=target-size])>div{min-width:64px!important;border-left:1px solid rgba(255,255,255,.08);display:flex;align-items:center}.hv2t-side .flex:has(>input[aria-label=target-size]) button{font-size:12px!important;color:#c9c0d6!important}.hv2t-side button[class*=rounded-full]{height:40px!important;font:600 14px/1 var(--font-sans)!important}.hv2t-side p[class*="text-[#CCCCCC]"]{margin-top:-6px!important;color:#9c90ad!important;font-size:12px!important;text-align:center}.hv2t-side .grid-cols-3>button.rounded-md{height:34px;padding:0!important;font-size:12px!important}.hv2t-stage>div>div:has(.hv2t-drop){height:100%}.hv2t-stage>div:has(.hv2t-drop){height:100%!important}.hv2t-side .h-\[130px\]{height:auto!important}.hv2t-side .grid>button[class*=rounded-full][class~="bg-[#9903CF]"],.hv2t-side .grid>button[class*=rounded-full][class~="bg-[#AA00FF]"]{background:#aa00ff!important;border:0!important;color:#fff!important}.hv2t-side .grid:not(.justify-items-center)>button[class*=rounded-full]:not([class~="bg-[#AA00FF]"]):not([class~="bg-[#9903CF]"]){background:#322b3e!important;border:0!important;color:#fff!important}.hv2t-side .grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:6px!important}.hv2t-side .grid-cols-6>button.hv2t-ratio{height:52px!important;padding:0!important;display:grid;grid-template-rows:22px auto;place-items:center;align-content:center;row-gap:5px;border:1px solid transparent!important;border-radius:10px!important;background:#25202f!important;color:#c9c0d6!important;cursor:pointer}.hv2t-side .grid-cols-6>button.hv2t-ratio:hover{background:#322b3e!important;color:#fff!important}.hv2t-side .grid-cols-6>button.hv2t-ratio.is-on{border-color:transparent!important;background:#3a3148!important;color:#fff!important}.hv2t-ratio__shape{flex:none;display:block;border:1.5px solid;border-radius:2px;opacity:.85}.hv2t-ratio__shape.is-free{width:18px;height:14px;border-style:dashed}.hv2t-ratio__label{font:500 10px/12px var(--font-sans);white-space:nowrap}.hv2t-side .justify-items-center{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.hv2t-side .justify-items-center>button{width:100%!important;min-width:0!important;height:44px!important;border:1px solid transparent!important;border-radius:10px!important;background:#25202f!important;color:#c9c0d6!important;font:500 13px/1 var(--font-sans)!important}.hv2t-side .justify-items-center>button:hover{border-color:transparent!important;background:#322b3e!important;color:#fff!important}.hv2t-ai .hv2t-stage.is-checker{background-color:#1a1626;background-image:linear-gradient(45deg,#2a2438 25%,transparent 0),linear-gradient(-45deg,#2a2438 25%,transparent 0),linear-gradient(45deg,transparent 75%,#2a2438 0),linear-gradient(-45deg,transparent 75%,#2a2438 0);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.hv2t-ai .hv2t-drop{border-radius:24px;background:transparent;color:inherit;font:inherit}.hv2t-ai__view{position:relative;width:100%;height:100%}.hv2t-ai__busy,.hv2t-ai__view{display:flex;align-items:center;justify-content:center}.hv2t-ai__busy{position:absolute;inset:0;flex-direction:column;gap:8px;border-radius:12px;background:rgba(14,11,20,.62);backdrop-filter:blur(2px);text-align:center}.hv2t-ai__busy b{color:#fff;font:600 15px/22px var(--font-sans)}.hv2t-ai__busy small{color:#c9c0d6;font:400 12px/18px var(--font-sans)}.hv2t-ai__spin{width:36px;height:36px;border-radius:50%;border:3px solid rgba(255,255,255,.18);border-top-color:#d58cff;animation:hv2t-spin .9s linear infinite}@keyframes hv2t-spin{to{transform:rotate(1turn)}}.hv2t-stage>.hv2t-ai__switch{width:auto!important;height:auto}.hv2t-ai__switch{position:absolute;top:14px;left:50%;transform:translateX(-50%);display:flex;padding:3px;border-radius:999px;background:rgba(14,11,20,.78);border:1px solid rgba(255,255,255,.08)}.hv2t-ai__switch button{height:30px;padding:0 16px;border:0;border-radius:999px;background:transparent;color:#c9c0d6;font:600 13px/1 var(--font-sans);cursor:pointer}.hv2t-ai__switch button.is-on{background:#aa00ff;color:#fff}.hv2t-ai__side>div{gap:14px!important}.hv2t-ai__desc{margin:0;color:#c9c0d6}.hv2t-ai__cost,.hv2t-ai__desc{font:400 13px/20px var(--font-sans)}.hv2t-ai__cost{display:flex;align-items:baseline;justify-content:space-between;padding:10px 0;border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06);color:#9c90ad}.hv2t-ai__cost b{color:#fff;font-size:15px}.hv2t-ai__err{margin:0;color:#ff8a8f;font:400 12px/18px var(--font-sans)}.hv2t-ai__err a{color:#d58cff;text-decoration:underline}.hv2t-ai__actions{display:flex;flex-direction:column;gap:8px;margin-top:auto}.hv2t-ai__actions .h-btn{height:42px;border-radius:12px!important}.hv2t-ai__actions .h-btn[disabled]{cursor:not-allowed}.hv2p-operation{display:block;flex:none;width:132px;max-width:100%;height:66px;overflow:hidden;border-radius:12px}.hv2t-drop .hv2p-operation{margin-bottom:12px}.hv2p-operation-head{display:flex;align-items:center;gap:10px}.hv2p-operation-head .hv2p-operation{width:88px;height:58px}.hv2p-operation-head>div{min-width:0;overflow-wrap:anywhere}.hv2p-operation-head .hv2t-ai__desc{margin-top:4px}.hv2p-field label{margin-bottom:8px}.hv2p-local{margin:4px 0 0;color:#6f6482;font:400 11px/16px var(--font-sans);text-align:center}.hv2p-count{margin:-8px 0 0!important;color:#9c90ad;font:400 12px/18px var(--font-sans)}.hv2t-opts button:disabled{opacity:.5;cursor:not-allowed}.hv2t-stage>.hv2p-file{flex-direction:column;gap:10px;text-align:center}.hv2p-file img{max-height:calc(var(--hv2t-h) - 140px)!important;border-radius:6px;background:#fff;box-shadow:0 12px 32px rgba(0,0,0,.45)}.hv2p-file>b{max-width:100%;color:#fff;font:600 15px/22px var(--font-sans);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hv2p-file>small{color:#9c90ad;font:400 13px/20px var(--font-sans)}.hv2t-stage:has(>.hv2p-grid){align-items:stretch}.hv2t-stage>.hv2p-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));align-content:start;gap:12px;overflow-y:auto}.hv2p-thumb{position:relative;margin:0;aspect-ratio:3/4;padding:10px 10px 30px;border-radius:12px;background:#25202f;border:1px solid transparent;display:flex;align-items:center;justify-content:center}.hv2p-thumb img{width:100%;height:100%;max-height:none!important;object-fit:contain;border-radius:4px}.hv2p-thumb figcaption{position:absolute;left:10px;bottom:7px;color:#9c90ad;font:500 12px/16px var(--font-sans)}.hv2p-thumb__fmt{color:#c9c0d6;font:700 15px/20px var(--font-sans);padding:6px 12px;border-radius:8px;background:#322b3e}.hv2p-thumb button{position:absolute;width:28px;height:28px;padding:0;border:0;border-radius:8px!important;background:rgba(14,11,20,.78);color:#fff;display:grid;place-items:center;cursor:pointer}.hv2p-thumb button:hover{background:#aa00ff}.hv2p-thumb button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.hv2p-thumb__dl{right:6px;bottom:4px}.hv2p-thumb__x{top:6px;right:6px}.hv2p-thumb.is-sortable{cursor:grab}.hv2p-thumb.is-sortable:active{cursor:grabbing}.hv2p-add{aspect-ratio:3/4;border:1.5px solid transparent;border-radius:12px;background:#25202f;color:#9c90ad;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font:500 13px/18px var(--font-sans);cursor:pointer}.hv2p-add:hover{border-color:transparent;color:#fff;background:#322b3e}.hv2p-add svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.hv2t-stage.hv2p-textstage{padding:12px;align-items:stretch}.hv2p-text{width:100%;height:100%;resize:none;padding:16px;border:1.5px solid transparent;border-radius:12px;background:#25202f;color:#fff;font:400 14px/22px var(--font-sans);outline:none}.hv2p-text:focus{border-color:#aa00ff}.hv2p-text::placeholder{color:#6f6482}@media (max-width:900px){.hv2t-stage>.hv2p-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}}.hv2t-stage>.hv2w{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px}.hv2w-one,.hv2w-pair{flex:1;min-height:0;margin:0}.hv2w-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hv2w-one,.hv2w-pair figure{position:relative;margin:0;min-height:0;border-radius:12px;background:#0e0b14;display:flex;align-items:center;justify-content:center;overflow:hidden}.hv2t-stage .hv2w-one img,.hv2t-stage .hv2w-pair img{width:100%;height:100%;max-height:none!important;object-fit:contain}.hv2w figcaption{position:absolute;left:10px;top:10px;padding:3px 10px;border-radius:999px;background:rgba(14,11,20,.78);color:#fff;font:600 12px/18px var(--font-sans)}.hv2w-strip{flex:none;display:flex;gap:10px;overflow-x:auto;padding:2px;scrollbar-width:thin}.hv2w-th{position:relative;flex:none;width:84px;height:60px;padding:0;border:1px solid rgba(255,255,255,.08);border-radius:10px;overflow:hidden;background:#0e0b14;cursor:pointer}.hv2w-th.is-on{border:2px solid #aa00ff}.hv2t-stage .hv2w-th img{width:100%;height:100%;max-height:none!important;object-fit:cover}.hv2w-th i{position:absolute;right:4px;bottom:4px;width:16px;height:16px;border-radius:50%;background:#50d6a0;color:#0e0b14;font:700 10px/16px var(--font-sans);font-style:normal;text-align:center}.hv2w-th i.is-err{background:#ff8297}.hv2w-th b{position:absolute;left:0;bottom:0;padding:1px 6px;border-radius:0 6px 0 0;background:rgba(14,11,20,.85);color:#c9c0d6;font:600 10px/14px var(--font-sans)}.hv2w-add{flex:none;width:84px;height:60px;border:1px solid transparent;border-radius:10px;background:#25202f;color:#9c90ad;font:500 12px/1 var(--font-sans);cursor:pointer}.hv2w-add:hover{background:#322b3e;color:#fff}@media (max-width:767px){.hv2w-pair{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.hv2w-add,.hv2w-th{width:64px;height:48px}}.hv2t-stage:has(.hv2t-drop){padding:0;background:transparent}.hv2t-stage .hv2t-drop{background:#1a1622;border:0;border-radius:inherit}.hv2t-stage .hv2t-drop:hover{background:#201c27}.hv2t-stage .hv2t-drop.is-over{background:linear-gradient(rgba(170,0,255,.06),rgba(170,0,255,.06)),#1a1622}.hv2t-side,.hv2t-stage{border:1px solid rgba(255,255,255,.08);transition:border-color .15s}.hv2t-stage:has(.hv2t-drop.is-over),.hv2t-stage:has(.hv2t-drop:focus-visible){border-color:#aa00ff}.hv2t-side input[type=number]:focus,.hv2t-side input[type=text]:focus{border-color:#aa00ff!important}.hv2t-ai__actions .h-btn:disabled,.hv2t-ai__actions .h-btn[disabled]{background:rgba(255,255,255,.08)!important;color:#6f6580!important}.hv2t-side h3+.hv2wm-modes{margin-top:12px}.hv2wm-modes{display:grid;gap:5px}.hv2wm-modes a{display:flex;align-items:center;gap:8px;min-height:42px;padding:6px 10px;border-radius:9px;background:#211d29;color:#c9c0d6;font:500 13px/18px var(--font-sans)}.hv2wm-modes a:hover{background:#292431;color:white}.hv2wm-modes a.is-on{background:#322b3e;color:white}.hv2wm-modes a:before{content:"";flex:none;width:13px;height:13px;border:1px solid #736b7f;border-radius:50%}.hv2wm-modes a.is-on:before{border:4px solid #d6a6f2}.hv2wm-modes small{margin-inline-start:auto;padding:1px 6px;border-radius:6px;background:rgba(80,214,160,.14);color:#50d6a0;font:600 10px/16px var(--font-sans)}.hv2wm-modes+.hv2t-ai__desc{margin:12px 0 16px}.hv2t-face .face-pair{gap:10px}.hv2t-face .face-pair img{max-width:calc(50% - 5px)!important}.hv2t-face .face-sample{position:absolute;bottom:12px;inset-inline-start:14px;background:#211a28;color:#eee;border-radius:6px;padding:3px 8px}@media(max-width:767px){.hv2t-face .face-pair .face-before,.hv2t-face .view-compare{display:none}.hv2t-face .face-pair img{max-width:100%!important}.hv2t-face .hv2t-ai__switch:has(.view-compare.is-on) .view-after{background:#aa00ff;color:white}}.hv2t-ai__upload,.hv2t-stage>.hv2t-ai__empty{flex-direction:column}.hv2t-ai__upload{display:flex;align-items:center;color:inherit;cursor:pointer}.hv2t-ai__upload:after{content:"";position:absolute;inset:0;border-radius:inherit}.hv2t-ai__empty .hv2t-samples{position:relative}.hv2t-ai__empty .hv2t-samples img{width:40px;height:40px;object-fit:cover}.hv2-tools .faceswap-editor{padding:0}.hv2-tools .ws-face-example-art{width:min(92%,475px);aspect-ratio:1.3;overflow:hidden;position:relative}.hv2-tools .ws-face-stage .ws-face-example-img{max-height:none!important;position:absolute;width:100%;height:auto;top:50%;transform:translateY(-52%)}.hv2-tools .ws-face-example-caption{flex:none;padding:8px 12px 0;text-align:center}.hv2-tools .ws-face-example-caption h3{font-size:14px;line-height:20px}.hv2-tools .ws-face-example-caption p{font-size:12px;line-height:18px;margin-top:2px}.ws-face-side .space-y-3>button:disabled{background:#25202f;color:#9c90ad}