:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f5efff;background:#0b0915;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(circle at top left,#24123a 0,#0b0915 30%);overflow:hidden}button,input,select{font:inherit}.app{height:100vh;display:flex;flex-direction:column}.topbar{height:86px;flex:0 0 86px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:10px 18px;border-bottom:1px solid #302842;background:#0a0812ed}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand img{width:60px;height:60px;border-radius:50%;-o-object-fit:cover;object-fit:cover}.brand div{min-width:0}.brand strong{display:block;color:#c89aff;font-size:24px;white-space:nowrap}.brand small{display:block;color:#ddd5ea;margin-top:3px}.brand>b{background:#292334;border:1px solid #554c64;border-radius:7px;padding:3px 7px;font-size:11px}.toolbar{display:flex;gap:5px}.tool{border:0;background:transparent;color:#ddd5ea;display:grid;place-items:center;gap:3px;min-width:58px;padding:7px;border-radius:9px;cursor:pointer}.tool:hover{background:#211a2e}.tool:disabled{opacity:.3;cursor:not-allowed}.tool span{font-size:11px}.export{justify-self:end;border:1px solid #8753c4;background:#6834a8;color:#fff;border-radius:9px;padding:13px 25px;display:flex;align-items:center;gap:8px;font-weight:800;cursor:pointer}.export:disabled{opacity:.4}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:300px 1fr;gap:10px;padding:10px}.sidebar{overflow:auto;border:1px solid #302842;border-radius:9px;background:#12101c}.panel+.panel{border-top:1px solid #302842}.panelTitle{width:100%;height:43px;border:0;background:#1a1724;color:#cba7f7;display:flex;justify-content:space-between;align-items:center;padding:0 13px;text-transform:uppercase;font-size:12px;font-weight:900;cursor:pointer}.panelTitle svg{width:17px;transition:.2s}.panelTitle svg.open{transform:rotate(180deg)}.panelBody{padding:11px}.field,.select,.color{display:block;margin:10px 0}.field>span,.select>span,.color>span{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:700;margin-bottom:6px}.field b{background:#24202f;padding:2px 6px;border-radius:5px}.field input{width:100%;accent-color:#9d5de0}.toggle{display:flex;align-items:center;justify-content:space-between;margin:8px 0;font-size:12px;font-weight:700;cursor:pointer}.toggle input{display:none}.toggle i{width:34px;height:19px;border-radius:999px;background:#514b5d;position:relative}.toggle i:after{content:"";position:absolute;top:2px;left:2px;width:15px;height:15px;border-radius:50%;background:#fff;transition:.2s}.toggle input:checked+i{background:#8d4ed2}.toggle input:checked+i:after{left:17px}.color input{width:42px;height:28px;border:1px solid #4c435b;background:none}.select select{width:100%;height:34px;border:1px solid #433a52;border-radius:6px;background:#201c2b;color:#fff;padding:0 8px}.xy{display:grid;grid-template-columns:1fr 1fr;gap:10px}.selectedTexture{width:100%;display:grid;grid-template-columns:52px 1fr;gap:9px;align-items:center;text-align:left;border:1px solid #4a4059;background:#1a1724;color:#fff;border-radius:7px;padding:6px;cursor:pointer}.selectedTexture span b,.selectedTexture span small{display:block}.selectedTexture span small{color:#aaa2b6;margin-top:3px}.secondary{width:100%;border:1px solid #51455f;background:#24202f;color:#fff;border-radius:7px;padding:9px;font-weight:800}.content{min-width:0;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:10px}.triptych{height:510px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.previewCard{min-width:0;border:1px solid #3d344a;border-radius:8px;background:#12101b;display:flex;flex-direction:column;overflow:hidden}.previewCard h3{height:40px;display:grid;place-items:center;margin:0;text-transform:uppercase;font-size:12px;color:#e9e1f3}.previewBody{position:relative;flex:1;min-height:0;padding:10px;display:flex;align-items:center;justify-content:center}.previewBody>img{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain;background:#fff;border-radius:5px}.empty{width:100%;height:100%;border:1px dashed #51445f;background:#17131f;color:#c2b8ce;border-radius:7px;display:grid;place-items:center;align-content:center;gap:8px;cursor:pointer}.empty svg{width:34px;height:34px}.empty small{color:#82798e}.canvasStage{width:100%;height:100%;overflow:hidden;display:flex;align-items:center;justify-content:center;touch-action:none;cursor:grab;border-radius:5px}.canvasStage canvas{max-width:90%;max-height:90%;transform-origin:center;filter:drop-shadow(0 6px 12px rgba(0,0,0,.35));pointer-events:none}.canvasStage.checker{background-color:#eee;background-image:linear-gradient(45deg,#c8c8c8 25%,transparent 25%),linear-gradient(-45deg,#c8c8c8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#c8c8c8 75%),linear-gradient(-45deg,transparent 75%,#c8c8c8 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.canvasStage.black{background:#080808}.miniEmpty{color:#7b7286;font-size:12px}.canvasTools{position:absolute;left:18px;bottom:16px;display:flex;align-items:center;gap:5px;background:#17131f;border:1px solid #44394f;padding:5px 8px;border-radius:7px}.canvasTools button{border:0;background:transparent;color:#fff;padding:2px}.canvasTools svg{width:16px;height:16px}.canvasTools span{font-size:11px;min-width:42px;text-align:center}.trueBadge{position:absolute;right:18px;bottom:16px;background:#1a6538;color:#caffd8;border-radius:7px;padding:6px 9px;display:flex;gap:5px;align-items:center;font-size:11px;font-weight:800}.trueBadge svg{width:15px}.transparencyNote{display:flex;align-items:center;gap:11px;border:1px solid #5d3b80;background:#1e1530;border-radius:8px;padding:10px 14px;color:#d7b9ff}.transparencyNote svg{width:26px;height:26px}.transparencyNote b,.transparencyNote span{display:block}.transparencyNote b{text-transform:uppercase;font-size:12px}.transparencyNote span{font-size:11px;color:#c0b3ce;margin-top:2px}.library{border:1px solid #302842;border-radius:9px;background:#111019;padding:8px}.libraryTop{display:flex;align-items:center;justify-content:space-between;gap:12px}.harshTabs{display:flex;gap:8px}.harshTabs button,.catTabs button{border:1px solid #493f57;background:#1c1825;color:#d8cfdf;border-radius:8px;padding:7px 16px;font-size:12px;font-weight:800;cursor:pointer}.harshTabs button.active{border-color:#2bb961;background:#163d24;color:#7ff7a5}.search{display:flex;align-items:center;gap:7px;border:1px solid #3d3547;background:#1b1723;border-radius:8px;padding:0 10px;height:35px;width:230px}.search svg{width:15px}.search input{width:100%;border:0;outline:0;background:transparent;color:#fff}.catTabs{display:flex;gap:5px;overflow-x:auto;padding:7px 0}.catTabs button{white-space:nowrap;padding:7px 13px}.catTabs button.active{background:#603296;border-color:#9a62d8;color:#fff}.textureGrid{display:grid;grid-template-columns:repeat(10,minmax(74px,1fr));gap:6px;max-height:190px;overflow-y:auto;padding-right:3px}.textureGrid button{min-width:0;border:1px solid #403748;background:#17141d;color:#fff;border-radius:6px;padding:3px;text-align:left;cursor:pointer}.textureGrid button.active{border:2px solid #a65bea;padding:2px;box-shadow:0 0 0 1px #6e399a}.textureThumb{display:block;width:100%;height:52px;-o-object-fit:cover;object-fit:cover;border-radius:4px;background:#050505}.selectedTexture .textureThumb{width:52px;height:52px}.textureGrid span{display:block;margin-top:3px}.textureGrid b{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.textureGrid small{display:none}.textureGrid small.light{background:#153d25;color:#77ee9d}.textureGrid small.medium{background:#3f3014;color:#ffc95c}.textureGrid small.harsh{background:#451d20;color:#ff858d}.textureThumb.generated{background-color:#050505}.textureThumb.generated.none{background:#222}.textureThumb.generated.grain{background-image:radial-gradient(#fff 1px,transparent 1px);background-size:4px 4px}.textureThumb.generated.worn{background-image:radial-gradient(ellipse at 20% 30%,#fff 0 8%,transparent 9%),radial-gradient(ellipse at 70% 65%,#fff 0 11%,transparent 12%)}.textureThumb.generated.scratches{background-image:repeating-linear-gradient(105deg,transparent 0 8px,#fff 9px 10px,transparent 11px 18px)}.textureThumb.generated.crackle{background-image:linear-gradient(35deg,transparent 45%,#fff 46% 49%,transparent 50%),linear-gradient(-28deg,transparent 45%,#fff 46% 49%,transparent 50%);background-size:18px 18px}.textureThumb.generated.halftone{background-image:radial-gradient(circle,#fff 0 2px,transparent 2.5px);background-size:10px 10px}.textureThumb.generated.splatter{background-image:radial-gradient(circle at 20% 25%,#fff 0 8%,transparent 9%),radial-gradient(circle at 72% 62%,#fff 0 13%,transparent 14%)}footer{height:33px;flex:0 0 33px;display:flex;justify-content:space-between;align-items:center;padding:0 16px;border-top:1px solid #302842;color:#9c93a8;font-size:11px;background:#0c0a13}.status{color:#a2d9ad;max-width:55%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width:1200px){.textureGrid{grid-template-columns:repeat(8,1fr)}.triptych{height:440px}.brand strong{font-size:20px}}@media (max-width:900px){body{overflow:auto}.app{height:auto;min-height:100vh}.topbar{grid-template-columns:1fr auto}.toolbar{display:none}.workspace{grid-template-columns:1fr}.sidebar{max-height:none}.triptych{height:auto;grid-template-columns:1fr}.previewCard{height:380px}.textureGrid{grid-template-columns:repeat(5,1fr);max-height:260px}}.workspace{grid-template-columns:360px 1fr}.sidebar{display:flex;flex-direction:column;overflow:hidden}.sidebar>.panel{flex:0 0 auto}.sidebarLibrary{margin:0;border-left:0;border-right:0;border-radius:0;padding:9px;display:flex;flex-direction:column;min-height:230px;flex:1 1 340px;overflow:hidden;background:#111019}.sidebarLibraryTitle{display:flex;align-items:center;justify-content:space-between;color:#cba7f7;text-transform:uppercase;font-size:11px;font-weight:900;margin-bottom:7px}.sidebarLibraryTitle b{color:#9f95aa;background:#24202f;border-radius:5px;padding:2px 6px;font-size:10px}.sidebarLibrary .harshTabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.sidebarLibrary .harshTabs button{padding:6px 4px;font-size:10px}.sidebarLibrary .catTabs{padding:6px 0 5px;gap:4px;flex:0 0 auto}.sidebarLibrary .catTabs button{padding:5px 8px;font-size:9px;border-radius:6px}.sidebarLibrary .search{width:100%;height:30px;margin-bottom:6px;flex:0 0 auto}.sidebarLibrary .search input{font-size:11px}.sidebarLibrary .textureGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:none;min-height:0;flex:1;overflow-y:auto;padding-right:3px;align-content:start}.sidebarLibrary .textureGrid button{padding:3px;border-radius:6px}.sidebarLibrary .textureThumb{height:86px}.sidebarLibrary .textureGrid b{font-size:9px;text-align:center;margin:2px 1px 0}.sidebarLibrary .textureGrid span{margin-top:1px}.sidebarLibrary .textureGrid small{display:none}.selectedTexture{cursor:default}.content{overflow:hidden}.triptych{height:calc(100vh - 184px)}.transparencyNote{flex:0 0 auto}@media (max-width:1200px){.workspace{grid-template-columns:330px 1fr}.sidebarLibrary .textureGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebarLibrary .textureThumb{height:76px}.triptych{height:calc(100vh - 184px)}}@media (max-width:900px){.workspace{grid-template-columns:1fr}.sidebar{overflow:visible}.sidebarLibrary{min-height:360px;flex-basis:360px}.content{overflow:visible}.triptych{height:auto}.sidebarLibrary .textureGrid{grid-template-columns:repeat(5,1fr)}}.triptych{height:calc(100vh - 184px);display:grid;grid-template-columns:240px minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:stretch;gap:12px}.beforeCard{width:240px;height:286px;align-self:start;justify-self:start}.beforeCard .previewBody{padding:8px;flex-direction:column;gap:7px}.beforeCard .previewBody>img{width:100%;height:214px;max-width:100%;max-height:214px;-o-object-fit:contain;object-fit:contain}.beforeCard .empty{min-height:214px}.beforeFilename{display:block;width:100%;padding:0 3px;color:#aaa2b6;font-size:10px;line-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}.resultCard{min-width:0;width:100%;height:100%}.resultCard .previewBody{padding:10px}@media (max-width:1200px){.triptych{grid-template-columns:210px minmax(0,1fr)}.beforeCard{width:210px;height:256px}.beforeCard .previewBody>img{height:184px;max-height:184px}.beforeCard .empty{min-height:184px}}@media (max-width:900px){.triptych{height:auto;grid-template-columns:1fr;grid-template-rows:auto 520px}.beforeCard{width:220px;height:266px}.beforeCard .previewBody>img{height:194px;max-height:194px}.resultCard{height:520px}}.sidebarLibrary .harshTabs{gap:7px;margin:2px 0 5px}.sidebarLibrary .harshTabs button{min-height:42px;padding:9px 8px;border-radius:9px;font-size:12px;font-weight:900}.sidebarLibrary .catTabs{gap:5px;padding:6px 0 7px}.sidebarLibrary .catTabs button{min-height:32px;padding:7px 10px;border-radius:7px;font-size:10px;font-weight:900}.sidebarLibrary .search{height:36px;margin-bottom:8px}.sidebarLibrary .search input{font-size:12px}.workspace{grid-template-columns:390px minmax(0,1fr)}.sidebarLibrary{min-height:310px;flex:1 1 470px;padding:9px 10px 10px}.sidebarLibrary .textureGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow-y:auto;align-content:start;padding:1px 5px 8px 1px}.sidebarLibrary .textureGrid button{position:relative;aspect-ratio:1 / 1;overflow:hidden;padding:3px;border-radius:8px}.sidebarLibrary .textureThumb{width:100%;height:100%;min-height:0;-o-object-fit:cover;object-fit:cover;border-radius:5px}.sidebarLibrary .textureGrid span{position:absolute;left:3px;right:3px;bottom:3px;margin:0;padding:12px 4px 4px;border-radius:0 0 5px 5px;background:linear-gradient(transparent,#05040aeb);pointer-events:none}.sidebarLibrary .textureGrid b{margin:0;color:#fff;font-size:9px;line-height:12px;text-align:center;text-shadow:0 1px 2px #000}.sidebarLibrary .textureGrid button.active span{background:linear-gradient(transparent,#4d1b77f5)}@media (max-width:1200px){.workspace{grid-template-columns:360px minmax(0,1fr)}.sidebarLibrary .textureGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}}@media (max-width:900px){.workspace{grid-template-columns:1fr}.sidebarLibrary .textureGrid{grid-template-columns:repeat(5,minmax(0,1fr))}}.workspace{grid-template-columns:400px minmax(0,1fr)}.sidebarLibrary{flex-basis:500px}.sidebarLibrary .textureGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sidebarLibrary .textureGrid button{aspect-ratio:4 / 3;min-height:96px}.sidebarLibrary .textureGrid b{font-size:10px;line-height:13px}@media (max-width:1200px){.workspace{grid-template-columns:375px minmax(0,1fr)}.sidebarLibrary .textureGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebarLibrary .textureGrid button{min-height:90px}}@media (max-width:900px){.workspace{grid-template-columns:1fr}.sidebarLibrary .textureGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}.workspace{grid-template-columns:300px minmax(0,1fr) 410px}.sidebar{overflow:auto;display:block}.textureSidebar{min-width:0;min-height:0;overflow:hidden;border:1px solid #302842;border-radius:9px;background:#12101c}.textureSidebar .sidebarLibrary{height:100%;min-height:0;display:flex;flex-direction:column;border:0;border-radius:9px;padding:12px;overflow:hidden}.textureSidebar .sidebarLibraryTitle{font-size:12px;margin-bottom:10px}.textureSidebar .harshTabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.textureSidebar .harshTabs button{padding:10px 5px;font-size:11px}.textureSidebar .catTabs{padding:8px 0;gap:5px;flex:0 0 auto}.textureSidebar .catTabs button{padding:7px 10px;font-size:10px}.textureSidebar .search{width:100%;height:36px;margin-bottom:8px;flex:0 0 auto}.textureSidebar .textureGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:none;min-height:0;flex:1;overflow-y:auto;align-content:start;padding:2px 5px 10px 1px}.textureSidebar .textureGrid button{position:relative;aspect-ratio:4 / 3;min-height:100px;overflow:hidden;padding:3px;border-radius:8px}.textureSidebar .textureThumb{width:100%;height:100%;min-height:0;-o-object-fit:cover;object-fit:cover;border-radius:5px}.textureSidebar .textureGrid span{position:absolute;left:3px;right:3px;bottom:3px;margin:0;padding:14px 4px 4px;border-radius:0 0 5px 5px;background:linear-gradient(transparent,#05040aeb);pointer-events:none}.textureSidebar .textureGrid b{font-size:10px;line-height:13px;text-align:center;color:#fff;text-shadow:0 1px 2px #000}@media (max-width:1250px){.workspace{grid-template-columns:280px minmax(0,1fr) 360px}.textureSidebar .textureGrid button{min-height:88px}}@media (max-width:1000px){body{overflow:auto}.app{height:auto;min-height:100vh}.workspace{grid-template-columns:1fr}.textureSidebar{min-height:520px}.textureSidebar .textureGrid{grid-template-columns:repeat(4,minmax(0,1fr))}}.bgPreviewBar{display:flex;align-items:center;gap:7px;min-height:38px;padding:6px 9px;border-bottom:1px solid #302842;background:#0f0d17;flex:0 0 auto}.bgPreviewBar>span{margin-right:2px;color:#aaa2b6;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.bgSwatch{position:relative;width:27px;height:27px;padding:0;border:2px solid #4a4258;border-radius:7px;box-shadow:inset 0 0 0 1px #ffffff14;cursor:pointer;overflow:hidden}.bgSwatch:hover{transform:translateY(-1px);border-color:#a86be3}.bgSwatch.active{border-color:#d19cff;box-shadow:0 0 0 2px #a452e647}.bgSwatch.checker{background-color:#fff;background-image:linear-gradient(45deg,#c8c8c8 25%,transparent 25%),linear-gradient(-45deg,#c8c8c8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#c8c8c8 75%),linear-gradient(-45deg,transparent 75%,#c8c8c8 75%);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.bgSwatch.white{background:#fff}.bgSwatch.black{background:#050505}.bgSwatch.gray{background:#777}.bgSwatch.cream{background:#f2ead8}.bgSwatch.custom input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.bgSwatch.custom i{position:absolute;top:0;right:0;bottom:0;left:0;display:block}.bgSwatch.custom:after{content:"+";position:absolute;right:1px;bottom:-2px;color:#fff;font-size:12px;font-weight:900;text-shadow:0 1px 2px #000;pointer-events:none}.canvasStage.white{background:#fff}.canvasStage.black{background:#050505}.canvasStage.gray{background:#777}.canvasStage.cream{background:#f2ead8}.canvasStage.custom{background-image:none}.resultCard .previewBody{position:relative;display:flex;flex-direction:column}.resultCard .canvasStage{flex:1;min-height:0}.exportOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:grid;place-items:center;padding:24px;background:#08060db8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.exportCard{position:relative;width:min(440px,100%);padding:34px;border:1px solid #e8e3ed;border-radius:20px;background:#fff;color:#201927;text-align:center;box-shadow:0 28px 80px #0000006b}.exportCard h2{margin:12px 0 7px;font-size:25px}.exportCard p{margin:0 0 22px;color:#675d6e}.exportCard small{display:block;margin:-8px 0 18px;color:#877d8e;word-break:break-all}.exportClose{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#f2eef5;color:#5c5263}.exportClose svg{width:18px}.exportIcon{display:grid;place-items:center;width:66px;height:66px;margin:0 auto;border-radius:18px;background:#f1e7fb;color:#7b2db8}.exportIcon svg{width:34px;height:34px}.exportIcon.success{background:#e8f8ee;color:#168447}.exportIcon.error{background:#fdecec;color:#c83535}.formatChoices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.formatChoices button{padding:20px 12px;border:2px solid #e7ddeb;border-radius:14px;background:#fff;color:#251b2c;cursor:pointer}.formatChoices button:hover{border-color:#8a3bc0;background:#faf6fd;transform:translateY(-1px)}.formatChoices b{display:block;font-size:22px}.formatChoices span{display:block;margin-top:4px;color:#766c7d;font-size:12px}.exportDone{min-width:130px;padding:12px 20px;border:0;border-radius:11px;background:#7b2db8;color:#fff;font-weight:900;cursor:pointer}.exportSpinner{width:56px;height:56px;margin:4px auto 18px;border:5px solid #eee7f2;border-top-color:#7b2db8;border-radius:50%;animation:exportSpin .75s linear infinite}@keyframes exportSpin{to{transform:rotate(360deg)}}.customTextureUpload{display:flex;align-items:center;gap:10px;width:100%;margin-bottom:9px;padding:11px 12px;border:1px dashed #8550ae;border-radius:9px;background:#21152d;color:#fff;text-align:left;cursor:pointer}.customTextureUpload:hover{border-color:#c58cf0;background:#2b193a}.customTextureUpload svg{width:20px;height:20px;color:#c58cf0}.customTextureUpload span{display:flex;flex-direction:column}.customTextureUpload b{font-size:12px}.customTextureUpload small{margin-top:2px;color:#a99db2;font-size:10px}.customTextureCard{position:relative;display:flex;align-items:center;gap:10px;width:100%;margin-bottom:9px;padding:6px 42px 6px 6px;border:2px solid #3b3047;border-radius:9px;background:#17121f;color:#fff;text-align:left;cursor:pointer;overflow:hidden}.customTextureCard.active{border-color:#b766ea;box-shadow:0 0 0 2px #b766ea2e}.customTextureCard .textureThumb{width:62px;height:52px;flex:0 0 62px;-o-object-fit:cover;object-fit:cover;border-radius:6px}.customTextureCard>span{min-width:0;display:flex;flex-direction:column}.customTextureCard b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.customTextureCard small{margin-top:3px;color:#aaa0b2;font-size:10px}.customTextureCard>i{position:absolute;right:8px;top:50%;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#33293d;color:#cfc5d5;transform:translateY(-50%)}.customTextureCard>i:hover{background:#552b61;color:#fff}.customTextureCard>i svg{width:15px;height:15px}.beforeRail{min-width:0;width:240px;height:100%;display:flex;flex-direction:column;gap:10px;overflow:hidden}.beforeRail .beforeCard{flex:0 0 auto}.verticalBulkBar{min-height:0;flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden;border:1px solid #302842;border-radius:9px;background:#12101c}.verticalBulkHeader{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 9px;border-bottom:1px solid #302842;background:#171320}.verticalBulkHeader>span{display:flex;align-items:center;gap:6px}.verticalBulkHeader b{font-size:11px;text-transform:uppercase;letter-spacing:.04em}.verticalBulkHeader small{padding:2px 6px;border-radius:10px;background:#2a2234;color:#c8b8d2;font-size:9px;font-weight:900}.verticalBulkHeader button{display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #6f3b90;border-radius:7px;background:#261633;color:#fff;cursor:pointer}.verticalBulkHeader button:hover{background:#351d47;border-color:#b26ee1}.verticalBulkHeader button svg{width:14px;height:14px}.verticalBulkScroller{min-height:0;flex:1 1 auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:7px;padding:8px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}.verticalBulkItem,.verticalBulkAdd{position:relative;min-width:0;aspect-ratio:1/1;padding:3px;overflow:hidden;border:2px solid #3a3045;border-radius:8px;background:#0d0b12;color:#fff;cursor:pointer}.verticalBulkItem:hover{border-color:#77508f}.verticalBulkItem.active{border-color:#c36bf1;box-shadow:0 0 0 2px #c36bf133}.verticalBulkItem img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;border-radius:4px;background-color:#fff;background-image:linear-gradient(45deg,#d2d2d2 25%,transparent 25%),linear-gradient(-45deg,#d2d2d2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d2d2d2 75%),linear-gradient(-45deg,transparent 75%,#d2d2d2 75%);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.verticalBulkItem>em{position:absolute;left:6px;top:6px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#18111fe0;color:#efe4f7;font-size:8px;font-style:normal;font-weight:900}.verticalBulkItem>i{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#16101ce6;color:#fff;opacity:0;transition:.15s}.verticalBulkItem:hover>i{opacity:1}.verticalBulkItem>i:hover{background:#9c3150}.verticalBulkItem>i svg{width:12px;height:12px}.verticalBulkAdd{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-style:dashed;background:#181020;color:#bfa8cc}.verticalBulkAdd:hover{border-color:#b26ee1;background:#24142f;color:#fff}.verticalBulkAdd svg{width:20px;height:20px}.verticalBulkAdd small{font-size:9px;font-weight:900}@media (max-width:1200px){.beforeRail{width:210px}.verticalBulkScroller{gap:6px;padding:7px}}@media (max-width:900px){.beforeRail{width:100%;height:auto;overflow:visible}.beforeRail .beforeCard{width:220px}.verticalBulkBar{max-height:230px}.verticalBulkScroller{grid-template-columns:repeat(5,minmax(72px,1fr))}}.triptych>.beforeRail{align-self:stretch;justify-self:start}.beforeRail .beforeCard{width:100%;align-self:auto;justify-self:auto}.helpCard{width:min(520px,100%);text-align:left}.helpCard h2{margin:12px 0 20px;text-align:center}.helpIcon{display:grid;place-items:center;width:58px;height:58px;margin:0 auto;border-radius:18px;background:#f3e8fa;color:#7d2fb1}.helpIcon svg{width:30px;height:30px}.helpSteps{display:grid;gap:10px;margin:0 0 16px}.helpSteps>div{display:flex;align-items:flex-start;gap:12px;padding:13px;border:1px solid #ece5f0;border-radius:13px;background:#fcfafd}.helpSteps>div>b{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#7d2fb1;color:#fff;font-size:13px}.helpSteps span{display:grid;gap:3px}.helpSteps strong{color:#2a2130;font-size:14px}.helpSteps small{margin:0;color:#716777;font-size:12px;line-height:1.45;word-break:normal}.helpTip{display:flex;align-items:flex-start;gap:9px;margin:0 0 18px;padding:12px 13px;border-radius:12px;background:#f4faf5;color:#3e6948;font-size:12px;line-height:1.45}.helpTip svg{flex:0 0 auto;width:18px;height:18px;margin-top:1px}.helpCard .exportDone{display:block;min-width:130px;margin:0 auto}@media (max-width:560px){.helpCard{padding:27px 20px}.helpSteps>div{padding:11px}}.projectScreen{min-height:100vh;padding:42px;background:radial-gradient(circle at 18% 0,#30203f 0,transparent 32%),#0d0b13;color:#fff;overflow:auto}.projectHero{display:flex;align-items:center;gap:22px;max-width:1100px;margin:0 auto 34px}.projectHero img{width:88px;height:88px;-o-object-fit:contain;object-fit:contain}.projectHero span{color:#c789ec;font-size:11px;font-weight:900;letter-spacing:.18em}.projectHero h1{margin:5px 0 4px;font-size:38px}.projectHero p{margin:0;color:#aaa1b2;font-size:16px}.projectActions{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:1100px;margin:0 auto 34px}.projectActions>button{display:flex;align-items:center;gap:18px;padding:24px;border:1px solid #3a3046;border-radius:18px;background:#17131f;color:#fff;text-align:left;cursor:pointer;box-shadow:0 16px 45px #0000002e}.projectActions>button:hover{border-color:#a555d7;transform:translateY(-2px)}.projectActions i{display:grid;place-items:center;width:58px;height:58px;border-radius:15px;background:#32203f;color:#d89bfa}.projectActions svg{width:29px;height:29px}.projectActions span{display:flex;flex-direction:column}.projectActions b{font-size:19px}.projectActions small{margin-top:5px;color:#aaa1b2;font-size:12px}.newProjectCard{background:linear-gradient(135deg,#291737,#17131f)!important}.recentProjects{max-width:1100px;margin:auto;padding:24px;border:1px solid #30283a;border-radius:20px;background:#121019}.recentHeader{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.recentHeader h2{margin:0;font-size:21px}.recentHeader p{margin:4px 0 0;color:#91879a;font-size:12px}.recentHeader button{padding:8px 12px;border:1px solid #44384f;border-radius:9px;background:#1d1825;color:#cfc5d5;cursor:pointer}.projectGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.projectCard{position:relative;overflow:hidden;border:1px solid #332a3d;border-radius:14px;background:#18141f}.projectOpenArea{display:block;width:100%;padding:0;border:0;background:transparent;color:#fff;text-align:left;cursor:pointer}.projectThumb{display:grid;place-items:center;width:100%;height:145px;background:#0c0a10;overflow:hidden}.projectThumb img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.projectThumb>svg{width:42px;color:#63576d}.projectOpenArea>span{display:flex;flex-direction:column;padding:13px 78px 14px 14px}.projectOpenArea b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.projectOpenArea small{margin-top:5px;color:#978d9e;font-size:10px}.projectCardTools{position:absolute;right:9px;bottom:10px;display:flex;gap:5px}.projectCardTools button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #45384f;border-radius:8px;background:#241d2d;color:#bbb0c2;cursor:pointer}.projectCardTools button:hover{background:#6e2c91;color:#fff}.projectCardTools svg{width:14px}.emptyProjects{display:grid;place-items:center;min-height:210px;color:#8e8497;text-align:center}.emptyProjects svg{width:42px;height:42px;margin-bottom:10px}.emptyProjects b{color:#d2c9d8}.emptyProjects span{margin-top:5px;font-size:12px}.projectNotice,.studioNotice{padding:10px 14px;border:1px solid #6e4690;border-radius:10px;background:#251833;color:#e8cbfa;font-size:12px}.studioNotice{position:fixed;z-index:1200;top:82px;left:50%;transform:translate(-50%);box-shadow:0 12px 35px #00000059}.projectNameCard{width:min(460px,100%);text-align:left}.projectNameCard h2{text-align:center}.projectNameIcon{background:#f2e8fb;color:#7b2db8}.projectNameField{display:grid;gap:7px;margin:20px 0 0;color:#4b4152;font-size:12px;font-weight:900}.projectNameField input{width:100%;height:46px;border:1px solid #d8ccdf;border-radius:12px;background:#fff;color:#251b2c;padding:0 13px;outline:0}.projectNameField input:focus{border-color:#8a3bc0;box-shadow:0 0 0 3px #8a3bc024}.projectNameError{margin-top:10px;padding:9px 11px;border:1px solid #efb4b4;border-radius:10px;background:#fff2f2;color:#a23030;font-size:12px;font-weight:800}.projectNameActions .primaryName{border-color:#7b2db8;background:#7b2db8;color:#fff}.projectNameActions button:disabled{opacity:.55;cursor:not-allowed}.projectTop{display:flex;align-items:center;gap:8px;margin-left:auto}.projectTop>div{display:flex;flex-direction:column;min-width:130px}.projectTop>div b{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.projectTop>div small{color:#8f8597;font-size:9px}.homeButton,.saveButton,.saveAsButton{display:flex;align-items:center;gap:6px;height:36px;padding:0 11px;border:1px solid #44354f;border-radius:9px;background:#1c1723;color:#ddd3e3;font-weight:800;cursor:pointer}.homeButton{width:36px;padding:0;justify-content:center}.homeButton svg,.saveButton svg{width:16px}.saveButton{background:#6f2c94;border-color:#8c3db6;color:#fff}.saveAsButton{font-size:11px}@media (max-width:1050px){.projectTop>div,.saveAsButton{display:none}.projectGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.projectActions{grid-template-columns:1fr}}@media (max-width:650px){.projectScreen{padding:22px}.projectHero h1{font-size:28px}.projectHero img{width:65px;height:65px}.projectGrid{grid-template-columns:1fr}}.formatChoices.selectable button.selected{border-color:#8a3bc0;background:#f7effc;box-shadow:0 0 0 3px #8a3bc01f}.exportActions{display:grid;gap:10px;margin-top:14px}.exportActions>button{display:flex;align-items:center;gap:13px;width:100%;padding:15px;border:1px solid #e3dae8;border-radius:13px;background:#fff;color:#2b2031;text-align:left;cursor:pointer}.exportActions>button:hover:not(:disabled){border-color:#9348bd;background:#fbf7fd}.exportActions>button:disabled{opacity:.45;cursor:not-allowed}.exportActions svg{flex:0 0 auto;width:23px;height:23px;color:#8738b4}.exportActions span{display:flex;flex-direction:column;min-width:0}.exportActions b{font-size:14px}.exportActions small{margin:4px 0 0;color:#7b7082;font-size:11px;word-break:normal}.exportActions .exportZip{background:#f8f2fb!important}.betaOverlay{z-index:5000;background:#08060bdb;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.betaCard{width:min(560px,100%);text-align:left}.betaCard h2{margin:10px 0 8px;text-align:center}.betaCard>p{text-align:center;line-height:1.55}.betaBadge{width:-moz-max-content;width:max-content;margin:0 auto;padding:6px 11px;border-radius:999px;background:#7e2da8;color:#fff;font-size:11px;font-weight:1000;letter-spacing:.18em}.betaKnown{margin:18px 0;padding:16px;border:1px solid #e8deed;border-radius:14px;background:#faf7fc}.betaKnown h3{margin:0 0 9px;color:#312638;font-size:14px}.betaKnown ul{margin:0;padding-left:20px;color:#6c6172;font-size:12px;line-height:1.65}.dontShow{display:flex;align-items:center;gap:9px;margin:0 0 18px;color:#504657;font-size:12px;cursor:pointer}.dontShow input{width:17px;height:17px;accent-color:#7e2da8}.betaCard .exportDone{display:block;width:100%;margin:0}.autosaveStatus{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #3b2b4a;border-radius:9px;background:#17111d;color:#d8cfe0;font-size:12px;font-weight:700;white-space:nowrap}.autosaveStatus svg{width:16px;height:16px}.autosaveStatus.saving,.autosaveStatus.pending{color:#d8b4fe;border-color:#7e22ce}.autosaveStatus.error{color:#fecaca;border-color:#b91c1c;background:#2a1115}.topbar{grid-template-columns:1fr auto auto}.projectTop{margin-left:0}.projectTop>div{min-width:0}.projectTop>div b{max-width:220px}.exportTool{min-width:66px!important;color:#fff!important;background:#6f2c94!important;border:1px solid #9145bb!important}.exportTool:hover:not(:disabled){background:#8339aa!important}.centerSnap{margin-left:4px!important;border-left:1px solid #44394f!important;padding-left:7px!important}.centerSnap.active{color:#cb8cff!important}.resetConfirmCard{width:min(470px,100%)}.exportIcon.reset{background:#fff1e8;color:#c75a16}.confirmActions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.confirmActions button{padding:12px 16px;border:1px solid #ddd3e2;border-radius:11px;background:#f6f2f8;color:#3c3142;font-weight:900;cursor:pointer}.confirmActions .danger{border-color:#c83f3f;background:#c83f3f;color:#fff}@media (max-width:1050px){.topbar{grid-template-columns:1fr auto}.projectTop{display:none}}.toolbar{align-items:center;gap:7px}.exportTool{position:relative!important;min-width:124px!important;min-height:54px!important;margin-left:10px!important;padding:8px 18px!important;display:flex!important;grid-template-columns:none!important;flex-direction:row!important;gap:9px!important;border:2px solid #d59aff!important;border-radius:13px!important;background:linear-gradient(135deg,#9d3fe0,#7022ae 58%,#531381)!important;color:#fff!important;box-shadow:0 0 0 3px #a749e129,0 8px 24px #6f22ae6b!important;font-weight:1000!important;letter-spacing:.07em!important;overflow:hidden}.exportTool:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(115deg,transparent 25%,rgba(255,255,255,.2) 45%,transparent 65%);transform:translate(-125%);transition:transform .45s ease}.exportTool:hover:not(:disabled){background:linear-gradient(135deg,#b051ef,#842fc4 58%,#64199a)!important;border-color:#f0d7ff!important;transform:translateY(-1px);box-shadow:0 0 0 4px #b55beb33,0 11px 30px #7c2abc8c!important}.exportTool:hover:not(:disabled):before{transform:translate(125%)}.exportTool svg{width:23px!important;height:23px!important;stroke-width:2.5;position:relative;z-index:1}.exportTool span{font-size:13px!important;position:relative;z-index:1}.exportTool:disabled{filter:grayscale(.45);opacity:.42!important;box-shadow:none!important}@media (max-width:1180px){.exportTool{min-width:105px!important;padding:8px 13px!important}.exportTool span{font-size:12px!important}}.manualBrushToggle{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:12px;padding:9px 10px;border:1px solid #44364f;border-radius:9px;background:#17121f;color:#cfc6da;text-align:left;cursor:pointer}.manualBrushToggle:hover{background:#211829;border-color:#6d4b82}.manualBrushToggle.active{background:#2a1737;border-color:#9b5bc1}.manualBrushToggle span{display:flex;align-items:center;gap:7px}.manualBrushToggle svg{width:15px;height:15px}.manualBrushToggle b{font-size:11px}.manualBrushToggle small{font-size:10px;color:#9189a5}.manualBrushPanel{margin-top:8px;padding:10px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:#09070d73}.brushModes{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:10px}.brushModes button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:34px;padding:6px;border:1px solid #41354f;border-radius:8px;background:#17121f;color:#b9b0c9;font-size:10px;font-weight:800;cursor:pointer}.brushModes svg{width:14px;height:14px}.brushModes button.active{background:#6d28d9;border-color:#a855f7;color:#fff;box-shadow:0 0 0 1px #a855f733}.brushModes button.active.remove{background:#9f1239;border-color:#fb7185}.brushModes button.active.restore{background:#047857;border-color:#34d399}.clearBrushEdits{width:100%;padding:8px;border:1px solid #4b4056;border-radius:8px;background:#211a29;color:#d8d0e2;font-size:11px;font-weight:700;cursor:pointer}.clearBrushEdits:hover{background:#2d2338;color:#fff}.canvasStage.brush-remove,.canvasStage.brush-restore{cursor:crosshair;touch-action:none}.canvasStage.brush-pan{cursor:grab}.canvasStage.brush-pan:active{cursor:grabbing}.canvasTools .canvasRandomize{display:flex;align-items:center;gap:6px;margin-left:6px;padding:6px 10px;border-radius:7px;background:#6f35a8;color:#fff;font-weight:900;cursor:pointer}.canvasTools .canvasRandomize:hover{background:#8748c4}.canvasTools .canvasRandomize span{min-width:0;font-size:11px}.canvasTools .canvasRandomize svg{width:15px;height:15px}.canvasStage{position:relative}.objectTransform{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;width:90%;height:90%;max-width:90%;max-height:90%;transform-origin:center;filter:drop-shadow(0 6px 12px rgba(0,0,0,.35));will-change:transform}.objectTransform canvas{display:block;width:auto;height:auto;max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain;filter:none!important;transform:none!important;pointer-events:none}.sidebarRandomize{width:100%;display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:10px 11px;border:1px solid #9b63d3;border-radius:9px;background:#6f35a8;color:#fff;text-align:left;cursor:pointer;box-shadow:0 3px 10px #6f35a840}.sidebarRandomize:hover{background:#8345bd;border-color:#bd8bea;transform:translateY(-1px)}.sidebarRandomize svg{width:18px;height:18px;flex:0 0 auto}.sidebarRandomize span{display:flex;min-width:0;flex-direction:column;line-height:1.15}.sidebarRandomize b{font-size:12px;font-weight:900}.sidebarRandomize small{margin-top:2px;font-size:10px;color:#eadcf8}.brushPanHint{display:flex;align-items:center;justify-content:center;gap:6px;margin:0 0 9px;padding:7px 8px;border:1px solid #43364f;border-radius:8px;background:#17121f;color:#aaa0ba;font-size:10px;font-weight:700}.brushPanHint svg{width:13px;height:13px}.brushPanHint kbd{padding:2px 6px;border:1px solid #5b4b68;border-bottom-width:2px;border-radius:5px;background:#2a2132;color:#fff;font:800 10px/1.2 inherit}.canvasStage.temporary-pan{cursor:grabbing!important}.canvasStage.temporary-pan.brush-remove,.canvasStage.temporary-pan.brush-restore{cursor:grab!important}.smartCleanupPanel{display:grid;gap:12px;margin:10px 0 4px;padding:12px;border:1px solid #ddd6fe;border-radius:12px;background:#faf8ff}.smartCleanupStatus{display:flex;gap:9px;align-items:flex-start}.smartCleanupStatus svg{width:19px;color:#7c3aed;flex:0 0 auto}.smartCleanupStatus span{display:grid;gap:2px}.smartCleanupStatus small,.smartAdvanced small{color:#6b7280;line-height:1.35}.smartAdvanced{border-top:1px solid #e5e7eb;padding-top:8px}.smartAdvanced summary{cursor:pointer;font-weight:700;font-size:12px;color:#4b5563;margin-bottom:10px}.modePickerOverlay{position:fixed;z-index:3000;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#050308d1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.modePicker{position:relative;width:min(1100px,96vw);padding:34px;border:1px solid #493655;border-radius:24px;background:#15111c;color:#fff;box-shadow:0 35px 100px #0000008c}.modePicker>h2{margin:5px 0 7px;font-size:30px}.modePicker>p{margin:0 0 25px;color:#aaa0b2}.modeEyebrow{font-size:11px;font-weight:900;letter-spacing:.18em;color:#c77af0}.modeClose{position:absolute;right:18px;top:18px;display:grid;place-items:center;width:38px;height:38px;border:1px solid #4a3a54;border-radius:10px;background:#211a29;color:#ddd;cursor:pointer}.modeClose svg{width:18px}.modeCards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.modeCard{position:relative;display:flex;min-height:390px;flex-direction:column;align-items:flex-start;padding:24px;border:1px solid #3b3044;border-radius:18px;background:#1c1723;color:#fff;text-align:left;cursor:pointer;transition:.18s ease}.modeCard:hover{transform:translateY(-4px);border-color:#9a53bd;box-shadow:0 18px 45px #0000004d}.modeCard.recommended{border:2px solid #a84ed2;background:linear-gradient(155deg,#321744,#1b1622 55%)}.modeCard>em{position:absolute;right:15px;top:14px;padding:6px 9px;border-radius:999px;background:#9b3fc5;color:#fff;font-size:9px;font-style:normal;font-weight:900;letter-spacing:.08em}.modeIcon{display:grid;place-items:center;height:48px;padding:0 14px;border-radius:12px;background:#30223a;color:#d999fa;font-size:11px;font-weight:900;letter-spacing:.1em}.modeCard h3{margin:20px 0 8px;font-size:20px}.modeCard p{min-height:42px;margin:0;color:#aaa0b2;font-size:13px;line-height:1.45}.modeCard ul{display:grid;gap:9px;margin:20px 0 25px;padding:0;list-style:none;color:#d1c7d6;font-size:12px}.modeCard li:before{content:"✓";margin-right:8px;color:#c96aed;font-weight:900}.modeCard>b{width:100%;margin-top:auto;padding:12px;border-radius:10px;background:#34263e;color:#fff;text-align:center}.recommended>b{background:#8b35b3}.projectTop>div{display:flex;flex-direction:column}.projectTop small{margin-top:2px;color:#a89caf;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.mode-remove .sidebar{width:330px}.mode-remove .content{grid-column:2/-1}.mode-remove .triptych{max-width:1200px;margin-inline:auto}.mode-remove .resultCard{min-height:620px}@media (max-width:900px){.modeCards{grid-template-columns:1fr}.modeCard{min-height:0}.modePicker{max-height:92vh;overflow:auto}}.smartCleanupPanel{border-color:#302842;background:#12101c;color:#f5efff;box-shadow:inset 0 1px #ffffff06}.smartCleanupStatus{padding:9px 10px;border:1px solid #3b3248;border-radius:9px;background:#191522}.smartCleanupStatus svg{color:#a968eb}.smartCleanupStatus b{color:#f5efff}.smartCleanupStatus small,.manualTargetColor small{color:#aaa2b6}.smartCleanupPanel .field>span,.smartCleanupPanel .color>span{color:#ddd5ea}.smartCleanupPanel .field b{background:#292334;color:#f5efff}.smartCleanupPanel .field input{accent-color:#9d5de0}.manualTargetColor{padding-top:10px;border-top:1px solid #302842}.manualTargetColor .color{margin:0 0 5px}.manualTargetColor .color input{width:48px;height:32px;border:1px solid #675778;border-radius:6px;background:#201c2b;cursor:pointer}.manualTargetColor small{display:block;line-height:1.35}.manualToolsHeading{display:flex;align-items:flex-start;gap:9px;padding:2px 0 10px;color:var(--text,#f5f1ff)}.manualToolsHeading svg{width:16px;height:16px;margin-top:2px;color:#a855f7;flex:0 0 auto}.manualToolsHeading span{display:flex;flex-direction:column;gap:2px}.manualToolsHeading b{font-size:12px}.manualToolsHeading small{font-size:10px;color:var(--muted,#a79bbd);line-height:1.35}.canvasTools button:disabled{opacity:.35;cursor:not-allowed;pointer-events:none}[data-tooltip]{position:relative}[data-tooltip]:after{content:attr(data-tooltip);position:absolute;z-index:5000;left:50%;bottom:calc(100% + 10px);min-width:-moz-max-content;min-width:max-content;max-width:240px;padding:8px 10px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#1f2937;box-shadow:0 10px 28px #00000040;font-size:11px;font-weight:700;line-height:1.3;text-align:center;white-space:normal;pointer-events:none;opacity:0;visibility:hidden;transform:translate(-50%,4px);transition:opacity .14s ease,transform .14s ease,visibility .14s ease}[data-tooltip]:before{content:"";position:absolute;z-index:5001;left:50%;bottom:calc(100% + 4px);width:10px;height:10px;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;background:#fff;pointer-events:none;opacity:0;visibility:hidden;transform:translate(-50%) rotate(45deg);transition:opacity .14s ease,visibility .14s ease}[data-tooltip]:hover:after,[data-tooltip]:focus-visible:after,[data-tooltip]:hover:before,[data-tooltip]:focus-visible:before{opacity:1;visibility:visible}[data-tooltip]:hover:after,[data-tooltip]:focus-visible:after{transform:translate(-50%)}.sidebar,.panel,.panelBody,.topbar,.toolbar,.canvasTools,.verticalBulkHeader{overflow:visible}.manualBrushPanel.inactive{opacity:.78}.sidebar{overflow-y:scroll!important;overflow-x:hidden!important;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#8d4ed2 #1a1724}.sidebar::-webkit-scrollbar{width:12px}.sidebar::-webkit-scrollbar-track{background:#1a1724;border-left:1px solid #302842}.sidebar::-webkit-scrollbar-thumb{background:#8d4ed2;border:3px solid #1a1724;border-radius:999px}.sidebar::-webkit-scrollbar-thumb:hover{background:#a965e8}.sidebarTips{position:relative;margin:10px;padding:12px 12px 10px;border:1px solid #55406d;border-radius:9px;background:linear-gradient(145deg,#21182d,#17131f);box-shadow:0 8px 22px #0003;flex:0 0 auto}.sidebarTipsClose{position:absolute;top:7px;right:7px;width:25px;height:25px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;color:#9d93aa;cursor:pointer}.sidebarTipsClose:hover{background:#33283f;color:#fff}.sidebarTipsClose svg{width:14px;height:14px}.sidebarTipsTitle{display:flex;align-items:center;gap:9px;padding-right:24px;color:#d7b8ff}.sidebarTipsTitle>svg{width:23px;height:23px;flex:0 0 auto}.sidebarTipsTitle span{min-width:0;display:flex;flex-direction:column}.sidebarTipsTitle b{font-size:12px;letter-spacing:.02em}.sidebarTipsTitle small{margin-top:1px;color:#8f849c;font-size:9px}.sidebarTips p{min-height:44px;margin:10px 0 9px;color:#e9e2f0;font-size:11px;line-height:1.45}.sidebarTipsActions{display:flex;justify-content:space-between;gap:7px}.sidebarTipsActions button{display:flex;align-items:center;justify-content:center;gap:3px;flex:1;padding:6px 7px;border:1px solid #4d405a;border-radius:6px;background:#24202f;color:#d9d1e1;font-size:10px;font-weight:800;cursor:pointer}.sidebarTipsActions button:hover{border-color:#9462c8;background:#30243e;color:#fff}.sidebarTipsActions svg{width:13px;height:13px}.sidebarTipsDontShow{display:flex;align-items:center;gap:6px;margin-top:9px;color:#9f95aa;font-size:9px;cursor:pointer}.sidebarTipsDontShow input{accent-color:#9256ce}.brushModes.four{grid-template-columns:repeat(2,minmax(0,1fr))}.brushModes button.wand.active{background:#6d28d9;border-color:#a78bfa;color:#fff;box-shadow:0 0 0 1px #a78bfa40 inset}.wandHelp{display:flex;gap:10px;align-items:flex-start;margin:10px 0;padding:10px;border:1px solid #493b65;border-radius:8px;background:#171322;color:#f5f3ff}.wandHelp>svg{width:18px;height:18px;flex:0 0 auto;color:#c4b5fd;margin-top:1px}.wandHelp span{display:flex;flex-direction:column;gap:3px}.wandHelp b{font-size:12px}.wandHelp small{font-size:10px;line-height:1.4;color:#c8bfd8}.canvasStage.brush-wand{cursor:crosshair}.manualBrushToggle{display:flex!important;flex-direction:column;align-items:stretch!important}.manualBrushToggle>span{width:100%;display:grid!important;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}.manualBrushToggle>span .open{transform:rotate(180deg)}.manualBrushToggle>span svg:last-child{margin-left:auto;transition:transform .18s ease}.manualBrushPanel{margin-top:7px}.objectTransform{display:none!important}.objectPan{position:relative;z-index:2;width:90%;height:90%;display:flex;align-items:center;justify-content:center;transform-origin:center;will-change:transform}.objectZoom{width:100%;height:100%;display:flex;align-items:center;justify-content:center;transform-origin:center;will-change:transform}.objectZoom canvas{display:block;width:auto;height:auto;max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(0,0,0,.35));pointer-events:none}.canvasStage{overflow:hidden!important}.canvasTools{z-index:10}.manualHistoryBar{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center;margin:0 0 10px;padding:9px;border:1px solid #493b65;border-radius:9px;background:#171322}.manualHistoryBar button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;border:1px solid #5a4778;border-radius:7px;background:#292038;color:#f5f3ff;font-size:12px;font-weight:800;cursor:pointer}.manualHistoryBar button:hover:not(:disabled){background:#3a2858;border-color:#a78bfa}.manualHistoryBar button:disabled{opacity:.38;cursor:not-allowed}.manualHistoryBar button svg{width:15px;height:15px}.manualHistoryBar small{grid-column:1/-1;text-align:center;color:#a99dbb;font-size:10px}.canvasScrollbars{position:absolute;top:0;right:0;bottom:0;left:0;z-index:12;pointer-events:none}.canvasScrollbar{position:absolute;pointer-events:auto;margin:0;padding:0;background:transparent;accent-color:#9b59df;cursor:pointer}.canvasScrollbarX{left:18px;right:34px;bottom:8px;width:calc(100% - 52px);height:16px}.canvasScrollbarY{top:18px;right:7px;width:16px;height:calc(100% - 52px);writing-mode:vertical-lr;direction:rtl}.canvasScrollbar::-webkit-slider-runnable-track{height:8px;border:1px solid #443750;border-radius:999px;background:#17131f;box-shadow:inset 0 1px 2px #00000073}.canvasScrollbar::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:14px;margin-top:-4px;border:2px solid #1a1422;border-radius:999px;background:#9b59df;box-shadow:0 2px 6px #00000073}.canvasScrollbarY::-webkit-slider-runnable-track{width:8px;height:100%}.canvasScrollbarY::-webkit-slider-thumb{width:14px;height:24px;margin:0 0 0 -4px}.canvasScrollbar::-moz-range-track{height:8px;border:1px solid #443750;border-radius:999px;background:#17131f}.canvasScrollbar::-moz-range-thumb{width:20px;height:12px;border:2px solid #1a1422;border-radius:999px;background:#9b59df}.canvasScrollbarY::-moz-range-track{width:8px;height:100%}.canvasScrollbarY::-moz-range-thumb{width:12px;height:20px}.canvasScrollbar:focus-visible{outline:2px solid #d8b4fe;outline-offset:2px}.canvasTools .scrollbarToggle{width:auto;padding:0 9px;font-size:10px;font-weight:800}.canvasTools .scrollbarToggle.active{background:#6f35a8;border-color:#9b59df;color:#fff}.canvasScrollbars{top:0;right:0;bottom:0;left:0;overflow:hidden;border-radius:inherit}.canvasScrollbarX{left:14px;right:30px;bottom:7px;width:calc(100% - 44px)}.canvasScrollbarY{top:14px;right:6px;height:calc(100% - 44px)}.canvasViewport{position:relative;width:100%;height:100%;min-width:0;min-height:0;display:flex}.canvasViewport.withExternalScrollbars{padding-right:25px;padding-bottom:25px}.canvasViewport>.canvasStage{width:100%;height:100%;min-width:0;min-height:0;flex:1}.canvasScrollbars.external{position:absolute;top:0;right:0;bottom:0;left:0;z-index:12;overflow:visible;border-radius:0;pointer-events:none}.canvasScrollbars.external .canvasScrollbarX{left:8px;right:33px;bottom:3px;width:calc(100% - 41px);height:18px}.canvasScrollbars.external .canvasScrollbarY{top:8px;right:3px;width:18px;height:calc(100% - 41px)}.perImageTextureNotice{padding:10px 12px;border:1px solid rgba(124,58,237,.35);border-radius:10px;background:#7c3aed14;display:flex;flex-direction:column;gap:2px}.perImageTextureNotice b{font-size:12px}.perImageTextureNotice small{font-size:10px;opacity:.72}.applyTextureAll{width:100%;border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:10px 12px;background:#ffffff0d;color:inherit;text-align:left;cursor:pointer}.applyTextureAll span{display:flex;flex-direction:column;gap:2px}.applyTextureAll b{font-size:11px}.applyTextureAll small{font-size:9px;opacity:.68}.applyTextureAll:hover:not(:disabled){background:#7c3aed26;border-color:#7c3aed80}.applyTextureAll:disabled{opacity:.4;cursor:not-allowed}.verticalBulkItem .textureAssignmentBadge{position:absolute;left:3px;right:3px;bottom:3px;padding:2px 3px;border-radius:4px;background:#7c3aede6;color:#fff;font-size:7px;font-style:normal;font-weight:800;line-height:1;text-align:center;pointer-events:none}.verticalBulkItem .textureAssignmentBadge.none{background:#19191ec7;color:#ffffffb8}.libraryMainTabs{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-bottom:10px}.libraryMainTabs button{padding:10px 6px;border-radius:10px;border:1px solid var(--border,#d8d3e2);background:#fff;font-weight:800}.libraryMainTabs button.active{background:#6f3cc3;color:#fff;border-color:#6f3cc3}.surpriseButton{width:100%;display:flex;align-items:center;gap:10px;padding:12px;border:0;border-radius:12px;background:linear-gradient(135deg,#6f3cc3,#9b5de5);color:#fff;margin-bottom:12px;text-align:left}.surpriseButton svg{width:20px}.surpriseButton span{display:flex;flex-direction:column}.surpriseButton small{opacity:.82}.frameGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.frameGrid button{border:1px solid #ded8e7;background:#fff;border-radius:11px;padding:9px;display:flex;flex-direction:column;gap:7px}.frameGrid button.active{outline:2px solid #7543c7}.framePreview{height:66px;border:8px solid #25212a;background:#f2eff5;width:100%;display:block}.framePreview.none{border:1px dashed #aaa}.framePreview.brush{border-style:double}.framePreview.torn{clip-path:polygon(2% 5%,97% 0,100% 95%,94% 100%,4% 97%,0 8%)}.framePreview.stamp{border-style:dashed}.framePreview.rough{border-width:11px;border-style:ridge}.framePreview.vintage{border-radius:6px;box-shadow:inset 0 0 0 3px #f2eff5,inset 0 0 0 7px #25212a}.framePreview.corners{border-width:12px 4px}.effectsCards{display:flex;flex-direction:column;gap:8px}.simpleEffects{border-top:1px solid #e4dfeb;margin-top:10px;padding-top:8px}.textureThumb.generated.paper,.textureThumb.generated.dust,.textureThumb.generated.speckles,.textureThumb.generated.faded,.textureThumb.generated.worn,.textureThumb.generated.drybrush,.textureThumb.generated.scratches,.textureThumb.generated.crackle,.textureThumb.generated.halftone,.textureThumb.generated.splatter,.textureThumb.generated.chips,.textureThumb.generated.concrete,.textureThumb.generated.destroyed{background-color:#ede9f2;background-image:radial-gradient(circle at 20% 30%,#2d2931 0 2px,transparent 3px),radial-gradient(circle at 70% 65%,#5b5263 0 1px,transparent 2px),linear-gradient(25deg,transparent 45%,rgba(30,25,35,.32) 48%,transparent 52%);background-size:23px 19px,17px 21px,37px 31px}.textureThumb.generated.destroyed,.textureThumb.generated.concrete{filter:contrast(1.8)}.applyScope{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0 0 10px;padding:10px 11px;border:1px solid #3a3047;border-radius:9px;background:#17121f;font-size:11px}.applyScope>span{width:100%;color:#aaa2b6;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.applyScope label{display:flex;align-items:center;gap:6px;color:#eee8f2;font-weight:800;cursor:pointer}.applyScope input{accent-color:#9b4bd1}.frameGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;overflow-y:auto;align-content:start;padding:2px 4px 12px 1px}.frameGrid button{position:relative;min-height:118px;padding:6px 6px 27px;border:2px solid #342b40;border-radius:9px;background:#f4f1f6;overflow:hidden;cursor:pointer}.frameGrid button:hover{border-color:#9b57c8;transform:translateY(-1px)}.frameGrid button.active{border-color:#c06df0;box-shadow:0 0 0 2px #c06df02e}.frameSvgPreview{width:100%;height:82px;-o-object-fit:contain;object-fit:contain;background:#fff;border-radius:5px}.frameNonePreview{display:grid;place-items:center;width:100%;height:82px;border:1px dashed #aaa;border-radius:5px;color:#777;background:#fff;font-size:12px;font-weight:900}.frameGrid b{position:absolute;left:6px;right:6px;bottom:6px;color:#251c2b;font-size:10px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.frameSvgPreview{background-color:#f7f5f9;background-image:linear-gradient(45deg,#ded9e3 25%,transparent 25%),linear-gradient(-45deg,#ded9e3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ded9e3 75%),linear-gradient(-45deg,transparent 75%,#ded9e3 75%);background-size:14px 14px;background-position:0 0,0 7px,7px -7px,-7px 0;filter:invert(1) contrast(1.35);padding:5px}.frameGrid button:first-child .frameNonePreview{background:#fff;color:#51495a}.textureThumb.generated{background-color:#eeeaf1!important;filter:none!important}.textureThumb.generated.none{background:#27222d!important}.textureThumb.generated.softwear{background-image:radial-gradient(ellipse at 18% 30%,#37313d 0 5%,transparent 7%),radial-gradient(ellipse at 68% 62%,#4b4452 0 7%,transparent 10%),radial-gradient(circle at 45% 78%,#62596a 0 2%,transparent 4%)!important}.textureThumb.generated.paper{background-image:repeating-linear-gradient(7deg,transparent 0 5px,rgba(48,42,54,.26) 6px,transparent 7px),radial-gradient(circle,#49414f 0 1px,transparent 1.5px)!important;background-size:auto,12px 12px}.textureThumb.generated.pinholes{background-image:radial-gradient(circle,#27222d 0 1.4px,transparent 1.8px)!important;background-size:17px 15px}.textureThumb.generated.dust{background-image:radial-gradient(circle at 20% 25%,#312b37 0 2px,transparent 3px),radial-gradient(circle at 72% 62%,#5a5060 0 1px,transparent 2px),radial-gradient(circle at 43% 78%,#29242f 0 3px,transparent 4px)!important;background-size:31px 27px,19px 23px,47px 41px}.textureThumb.generated.inkfade{background-image:linear-gradient(100deg,transparent 5%,rgba(42,36,48,.5) 25%,transparent 48%,rgba(65,57,71,.34) 68%,transparent 92%),radial-gradient(ellipse at 70% 35%,#504756 0 9%,transparent 18%)!important}.textureThumb.generated.screenprint{background-image:radial-gradient(circle,#302a35 0 1.2px,transparent 1.8px),radial-gradient(ellipse at 65% 50%,rgba(48,42,54,.45) 0 18%,transparent 29%)!important;background-size:8px 8px,auto}.textureThumb.generated.drybrush{background-image:repeating-linear-gradient(4deg,transparent 0 7px,#3c3541 8px 10px,transparent 11px 16px)!important}.textureThumb.generated.scratches{background-image:repeating-linear-gradient(104deg,transparent 0 11px,#342e39 12px 13px,transparent 14px 26px),repeating-linear-gradient(78deg,transparent 0 27px,#655a6d 28px 29px,transparent 30px 43px)!important}.textureThumb.generated.crackle{background-image:linear-gradient(37deg,transparent 46%,#302a35 47% 49%,transparent 50%),linear-gradient(-31deg,transparent 46%,#554b5c 47% 49%,transparent 50%)!important;background-size:22px 19px,31px 27px}.textureThumb.generated.halftone{background-image:radial-gradient(circle,#2e2933 0 2px,transparent 2.5px)!important;background-size:11px 11px}.textureThumb.generated.fabric{background-image:repeating-linear-gradient(0deg,transparent 0 5px,rgba(45,39,50,.48) 6px,transparent 7px),repeating-linear-gradient(90deg,transparent 0 6px,rgba(70,61,76,.4) 7px,transparent 8px)!important}.textureThumb.generated.chips{background-image:radial-gradient(ellipse at 16% 24%,#342e3a 0 9%,transparent 11%),radial-gradient(ellipse at 74% 67%,#4e4554 0 15%,transparent 18%),radial-gradient(ellipse at 46% 46%,#655a6d 0 7%,transparent 10%)!important}.textureThumb.generated.concrete{background-image:radial-gradient(circle at 18% 23%,#312b37 0 5%,transparent 7%),radial-gradient(circle at 67% 63%,#504756 0 8%,transparent 10%),radial-gradient(circle,#6b6073 0 1px,transparent 2px)!important;background-size:auto,auto,10px 9px}.textureThumb.generated.splatter{background-image:radial-gradient(circle at 18% 28%,#2d2732 0 9%,transparent 10%),radial-gradient(circle at 72% 60%,#4b4250 0 14%,transparent 15%),radial-gradient(circle at 48% 20%,#625769 0 3%,transparent 4%)!important}.textureThumb.generated.peeling{background-image:radial-gradient(ellipse at 20% 34%,#342e39 0 12%,transparent 15%),radial-gradient(ellipse at 70% 65%,#584e5f 0 20%,transparent 24%),linear-gradient(24deg,transparent 44%,#706478 46% 48%,transparent 50%)!important}.textureThumb.generated.destroyed{background-image:radial-gradient(ellipse at 18% 24%,#27222d 0 15%,transparent 18%),radial-gradient(ellipse at 68% 60%,#443b49 0 24%,transparent 28%),radial-gradient(circle at 48% 76%,#655a6d 0 9%,transparent 12%)!important}.frameSvgPreview{filter:none!important;-o-object-fit:contain!important;object-fit:contain!important;background-color:#f7f5f9!important}.rightApplyScope{margin:10px 0 12px;padding:10px 12px;border-radius:12px;background:#7c3aed14;display:grid;gap:7px}.rightApplyScope>span{font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.05em}.rightApplyScope label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700}.bgPreviewBar{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.canvasManualTools{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-left:3px}.canvasManualDivider{width:1px;height:28px;background:#4a4059;margin:0 3px}.canvasManualTools button{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:29px;padding:0 9px;border:1px solid #514460;border-radius:7px;background:#191420;color:#c9c0d4;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.canvasManualTools button svg{width:13px;height:13px}.canvasManualTools button:hover:not(:disabled){border-color:#9d6ed0;background:#261c31;color:#fff}.canvasManualTools button:disabled{opacity:.35;cursor:not-allowed}.canvasManualTools button.active{background:#6d28d9;border-color:#a855f7;color:#fff;box-shadow:0 0 0 1px #a855f733}.canvasManualTools button.active.remove{background:#9f1239;border-color:#fb7185}.canvasManualTools button.active.restore{background:#047857;border-color:#34d399}.canvasManualTools button.active.wand{background:#6d28d9;border-color:#a78bfa}@media (max-width:1100px){.canvasManualTools button span{display:none}.canvasManualTools button{width:29px;padding:0}.canvasManualDivider{margin-left:1px}}.canvasManualLabel{font-size:10px;color:#bfb4cb;white-space:nowrap;margin:0 2px;text-transform:uppercase;letter-spacing:.045em}.canvasBackgroundSettings{display:flex;align-items:center;gap:10px;padding:7px 10px;border-top:1px solid #352c40;border-bottom:1px solid #352c40;background:#14101a;min-height:45px;flex-wrap:wrap}.canvasBackgroundSettings>span{display:flex;align-items:center;gap:6px;color:#eee8f5;white-space:nowrap}.canvasBackgroundSettings>span svg{width:14px;height:14px;color:#a855f7}.canvasBackgroundSettings>span b{font-size:11px}.canvasBackgroundSettings .field{min-width:180px;max-width:250px;margin:0;display:grid;grid-template-columns:75px 1fr;align-items:center;gap:7px}.canvasBackgroundSettings .field>span{font-size:10px;margin:0}.canvasBackgroundSettings .field input{margin:0}.canvasBackgroundSettings small{display:flex;align-items:center;gap:5px;color:#91879e;font-size:9px;white-space:nowrap}.canvasBackgroundSettings small svg{width:12px;height:12px}.clearCanvasBgEdits{border-color:#75404c!important;color:#e9bac3!important}.clearCanvasBgEdits:hover{background:#3a1820!important;border-color:#d0677c!important;color:#fff!important}@media (max-width:1250px){.canvasManualLabel{display:none}.canvasBackgroundSettings .field{min-width:150px}}.sidebarLibrary .textureGrid button{overflow:hidden}.sidebarLibrary .textureThumb,.textureGrid .textureThumb{display:block;width:100%;-o-object-fit:contain!important;object-fit:contain!important;padding:5px;background-color:#f4f2f6!important;background-image:linear-gradient(45deg,#d8d4dc 25%,transparent 25%),linear-gradient(-45deg,#d8d4dc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d8d4dc 75%),linear-gradient(-45deg,transparent 75%,#d8d4dc 75%)!important;background-size:14px 14px!important;background-position:0 0,0 7px,7px -7px,-7px 0!important}.selectedTexture .textureThumb,.customTextureCard .textureThumb{-o-object-fit:contain!important;object-fit:contain!important;padding:4px;background-color:#f4f2f6!important;background-image:linear-gradient(45deg,#d8d4dc 25%,transparent 25%),linear-gradient(-45deg,#d8d4dc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d8d4dc 75%),linear-gradient(-45deg,transparent 75%,#d8d4dc 75%)!important;background-size:12px 12px!important;background-position:0 0,0 6px,6px -6px,-6px 0!important}.sidebarLibrary .textureThumb,.textureGrid .textureThumb,.selectedTexture .textureThumb,.customTextureCard .textureThumb{padding:0!important;-o-object-fit:cover!important;object-fit:cover!important;background:#fff!important;background-image:none!important;filter:none!important}.frameGrid button{background:#fff!important;opacity:1!important;filter:none!important}.frameSvgPreview{background:#fff!important;background-image:none!important;filter:none!important;opacity:1!important;padding:3px!important}.frameGrid button:not(.active){opacity:1!important}.frameGrid button b{color:#211826!important}.noTextureButton{width:100%;display:flex;align-items:center;gap:10px;padding:11px 12px;margin:0 0 12px;border:1px solid #6d6477;border-radius:11px;background:#fff;color:#211b27;text-align:left}.noTextureButton:hover{border-color:#7b3fd0;background:#faf7ff}.noTextureButton.active{border-color:#7b3fd0;box-shadow:0 0 0 2px #7b3fd02e;background:#f5edff}.noTextureButton svg{width:18px;height:18px}.noTextureButton span{display:flex;flex-direction:column}.noTextureButton small{color:#716979;font-size:11px;margin-top:2px}.textureSidebar .catTabs,.sidebarLibrary .catTabs{display:none!important}.textureSidebar .harshTabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 8px}.textureSidebar .harshTabs button{display:block!important;min-height:42px;padding:10px 6px!important;border:1px solid #5a4b6a;border-radius:9px;background:#1c1825;color:#eee7f7;font-size:12px!important;font-weight:900;cursor:pointer}.textureSidebar .harshTabs button.active{background:#6730a6;border-color:#b26df2;color:#fff;box-shadow:0 0 0 1px #b26df247}.advancedEffectsPanel{margin-top:14px;border:1px solid #342944;border-radius:12px;background:#171221;overflow:hidden}.advancedEffectsToggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 13px;border:0;background:transparent;color:inherit;text-align:left}.advancedEffectsToggle span{display:flex;flex-direction:column;gap:2px}.advancedEffectsToggle b{font-size:13px}.advancedEffectsToggle small{font-size:11px;opacity:.65}.advancedEffectsToggle svg{width:18px;height:18px;transition:transform .18s ease}.advancedEffectsPanel.open .advancedEffectsToggle svg{transform:rotate(180deg)}.advancedEffectsPanel .effectsCards{padding:0 12px 12px}.advancedEffectsPanel .toggle{background:#21182d;border-color:#3b2d4d}.workspace.dragActive{isolation:isolate}.dropOverlay{position:absolute;top:10px;right:10px;bottom:10px;left:10px;z-index:2000;display:grid;place-items:center;border:3px dashed #8b5cf6;border-radius:20px;background:#111827d1;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);pointer-events:none}.dropOverlay>div{min-width:320px;max-width:520px;padding:38px 48px;border-radius:18px;background:#fff;color:#111827;box-shadow:0 24px 80px #00000059;display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px}.dropOverlay svg{width:46px;height:46px;color:#7c3aed;margin-bottom:5px}.dropOverlay b{font-size:24px}.dropOverlay span{font-size:15px;color:#4b5563}.dropOverlay small{font-size:12px;color:#6b7280;text-transform:uppercase;letter-spacing:.08em}.empty{transition:border-color .18s ease,background .18s ease,transform .18s ease}.workspace.dragActive .empty{border-color:#8b5cf6;background:#f5f3ff;transform:scale(1.01)}.workflowStepper{display:flex;justify-content:center;gap:10px;padding:12px 20px;background:#111827;border-bottom:1px solid #2a3446;position:sticky;top:70px;z-index:20}.workflowStepper button{display:flex;align-items:center;gap:9px;border:1px solid #374151;background:#182132;color:#94a3b8;border-radius:999px;padding:9px 16px;font-weight:800}.workflowStepper button span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#263247}.workflowStepper button svg{width:15px}.workflowStepper button.active{color:#fff;border-color:#8b5cf6;background:#39256c}.workflowStepper button.done{color:#c4b5fd}.wizardScreen{min-height:calc(100vh - 210px);background:#0b1220;color:#e5e7eb;padding:38px clamp(24px,5vw,76px) 110px}.wizardHero{text-align:center;max-width:760px;margin:0 auto 30px}.wizardEyebrow{color:#a78bfa;font-weight:900;letter-spacing:.15em;font-size:12px}.wizardHero h1{font-size:clamp(30px,4vw,50px);margin:8px 0}.wizardHero p{color:#9ca3af;font-size:17px}.bigDropZone{width:min(900px,100%);min-height:300px;margin:auto;border:2px dashed #6d5bd0;background:linear-gradient(145deg,#151b2b,#101827);border-radius:24px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}.bigDropZone svg{width:56px;height:56px;color:#a78bfa}.bigDropZone b{font-size:26px}.bigDropZone span,.bigDropZone small{color:#aab3c3}.uploadQueue{max-width:1100px;margin:30px auto}.uploadQueue>div:first-child{display:flex;justify-content:space-between;align-items:center}.uploadGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}.uploadGrid article{position:relative;background:#151e2e;border:1px solid #2f3a4d;border-radius:16px;padding:10px;display:flex;gap:12px;align-items:center}.uploadGrid img{width:70px;height:70px;-o-object-fit:contain;object-fit:contain;background:#fff;border-radius:10px}.uploadGrid span{min-width:0;display:grid}.uploadGrid b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.uploadGrid small{color:#94a3b8}.uploadGrid article>button{position:absolute;right:8px;top:8px;border:0;background:#301d2a;color:#fda4af;border-radius:8px}.enhanceLayout,.exportStepLayout{max-width:1100px;margin:auto;display:grid;grid-template-columns:minmax(320px,440px) 1fr;gap:22px}.enhanceControls,.enhancePreview,.exportStepCard,.exportSummary{background:#141d2c;border:1px solid #303b4e;border-radius:20px;padding:24px}.enhanceChoices{display:grid;gap:10px}.enhanceChoices button{display:grid;text-align:left;padding:15px;border-radius:13px;border:1px solid #374151;background:#1a2435;color:#fff}.enhanceChoices button.active{border-color:#8b5cf6;background:#34255d}.enhanceChoices span,.enhanceInfo small{color:#9ca3af}.enhanceInfo{display:flex;gap:12px;margin:20px 0;padding:14px;background:#101827;border-radius:12px}.enhanceInfo span{display:grid}.runEnhance{width:100%;display:flex;justify-content:center;align-items:center;gap:10px;padding:15px;border:0;border-radius:13px;background:#7c3aed;color:#fff;font-weight:900;font-size:16px}.enhanceProgress{height:18px;background:#0d1420;border-radius:999px;position:relative;margin-top:14px;overflow:hidden}.enhanceProgress i{display:block;height:100%;background:#8b5cf6}.enhanceProgress span{position:absolute;top:0;right:0;bottom:0;left:0;text-align:center;font-size:11px}.enhanceStatus{text-align:center;color:#aab3c3}.enhancePreview>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px}.enhancePreview article{display:grid;background:#0e1623;border-radius:12px;padding:9px}.enhancePreview img{width:100%;aspect-ratio:1;-o-object-fit:contain;object-fit:contain;background:#fff;border-radius:8px}.enhancePreview span{font-weight:800;margin-top:8px}.enhancePreview small{color:#94a3b8}.miniSpinner{width:18px;height:18px;border:2px solid #c4b5fd;border-top-color:transparent;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.exportSummary{display:grid;align-content:start;gap:14px}.exportDimension{display:flex;gap:14px;align-items:center;padding:17px;background:#0e1623;border-radius:14px}.exportDimension svg{color:#a78bfa;width:28px;height:28px}.exportDimension span{display:grid}.exportDimension small{color:#94a3b8}.exportStepCard{display:grid;gap:14px}.workflowFooter{position:fixed;z-index:80;bottom:28px;left:50%;transform:translate(-50%);width:min(760px,calc(100% - 30px));background:#111827f5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid #374151;border-radius:18px;padding:10px 12px;display:grid;grid-template-columns:1fr auto 1fr auto;gap:10px;align-items:center;box-shadow:0 16px 45px #0009}.workflowFooter button{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #465266;background:#202a3b;color:#fff;border-radius:11px;padding:11px 18px;font-weight:850}.workflowFooter button:disabled{opacity:.35}.workflowFooter .nextStep{background:#7c3aed;border-color:#8b5cf6}.workflowFooter .skipStep{background:transparent}.workflowFooter>span{text-align:center;color:#9ca3af;font-weight:800}.workspace{padding-bottom:100px}@media (max-width:850px){.workflowStepper{overflow-x:auto;justify-content:flex-start}.workflowStepper button b{white-space:nowrap}.enhanceLayout,.exportStepLayout{grid-template-columns:1fr}.workflowFooter{grid-template-columns:auto 1fr auto}.workflowFooter .skipStep{grid-column:2}.wizardScreen{padding-inline:18px}}.startOverTool{border-color:#ef444447!important}.startOverTool:hover{background:#ef44441f!important;border-color:#ef44448c!important}.startOverTool svg{color:#f87171}.workspaceStepTitle{grid-column:1/-1;display:flex;align-items:baseline;gap:12px;padding:10px 18px;border-bottom:1px solid var(--border);background:var(--panel)}.workspaceStepTitle span{font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--purple)}.workspaceStepTitle b{font-size:18px}.workspaceStepTitle small{color:var(--muted)}.comparePreview{position:relative}.comparePreview>div{display:grid!important;gap:14px!important}.compareCard{display:grid!important;grid-template-columns:1fr 1fr;gap:12px;width:100%;padding:12px!important}.comparePane{display:flex;flex-direction:column;gap:7px;min-width:0}.comparePane>b{text-align:left;font-size:13px}.comparePane img,.awaitingUpscale{width:100%;height:260px;-o-object-fit:contain;object-fit:contain;border-radius:12px;background:repeating-conic-gradient(#eee 0,#eee 25%,#fff 0,#fff 50%) 50%/18px 18px;border:1px solid var(--border)}.awaitingUpscale{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--muted)}.awaitingUpscale svg{width:30px;height:30px}.processingOverlay{position:absolute!important;top:48px;right:12px;bottom:12px;left:12px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;background:#14101ec7;border-radius:16px;color:#fff;z-index:5}.processingOverlay img{width:72px!important;height:72px!important;-o-object-fit:contain!important;object-fit:contain!important;background:none!important;border:0!important;animation:lddSpin .7s linear infinite;will-change:transform;transform:translateZ(0)}.processingOverlay b{font-size:18px}.processingOverlay span{font-size:13px;opacity:.8}.buttonLogoSpinner{width:22px;height:22px;-o-object-fit:contain;object-fit:contain;animation:lddSpin .7s linear infinite;will-change:transform;transform:translateZ(0)}@keyframes lddSpin{to{transform:rotate(360deg)}}.completionToast{position:fixed;right:22px;bottom:72px;z-index:1000;display:flex;align-items:center;gap:12px;min-width:320px;max-width:430px;padding:13px 14px;background:#fff;border:1px solid #ddd3f4;border-left:5px solid var(--purple);border-radius:14px;box-shadow:0 16px 45px #23173738}.completionToast>img{width:42px;height:42px;-o-object-fit:contain;object-fit:contain}.completionToast span{display:flex;flex-direction:column;flex:1}.completionToast b{font-size:14px}.completionToast small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.completionToast button{border:0;background:transparent;padding:5px;cursor:pointer}.completionToast svg{width:17px}@media (max-width:900px){.compareCard{grid-template-columns:1fr}.comparePane img,.awaitingUpscale{height:210px}.completionToast{left:12px;right:12px;min-width:0}}.simplifiedDistressSidebar .surpriseOnlyLibrary{display:flex;flex-direction:column;gap:12px}.simplifiedDistressSidebar .surpriseDistressButton{min-height:104px}.simplifiedDistressSidebar .clearDistressButton{margin:0}.simplifiedDistressSidebar .standaloneAdvanced{margin-top:2px}.simplifiedDistressSidebar .advancedDistressControls{display:flex;flex-direction:column;gap:14px}.compareHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.compareHeader h2{margin:0}.compareHeader span{color:#aab3c3;font-weight:800;font-size:13px}.compareCarousel{display:grid!important;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:10px!important}.compareArrow{width:42px;height:58px;border:1px solid #465266;border-radius:12px;background:#202a3b;color:#fff;display:grid;place-items:center;cursor:pointer}.compareArrow:hover:not(:disabled){background:#39256c;border-color:#8b5cf6}.compareArrow:disabled{opacity:.25;cursor:default}.compareArrow svg{width:22px;height:22px}.compareCarousel .compareCard{min-width:0}.comparePane img,.awaitingUpscale{height:360px;aspect-ratio:auto!important;-o-object-fit:contain;object-fit:contain;background-image:linear-gradient(45deg,#d9d9d9 25%,transparent 25%),linear-gradient(-45deg,#d9d9d9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d9d9d9 75%),linear-gradient(-45deg,transparent 75%,#d9d9d9 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;background-color:#fff}.awaitingUpscale{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#c4b5fd;border-radius:8px;padding:18px}.awaitingUpscale svg{width:34px;height:34px}.awaitingUpscale span{max-width:150px}.comparePane{min-width:0}.comparePane>b{display:block;margin-bottom:8px}.comparePane small{display:block;margin-top:8px}@media (max-width:760px){.compareCarousel{grid-template-columns:34px minmax(0,1fr) 34px}.compareArrow{width:34px}.compareCard{grid-template-columns:1fr!important}.comparePane img,.awaitingUpscale{height:260px}}.enhanceStep .enhanceLayout{max-width:1280px;grid-template-columns:1fr;gap:22px}.enhanceStep .enhanceControls{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:18px;align-items:start}.enhanceStep .enhanceControls>h2{grid-column:1/-1;margin:0}.enhanceStep .enhanceChoices{grid-template-columns:repeat(3,minmax(0,1fr));grid-column:1}.enhanceStep .enhanceInfo{grid-column:2;grid-row:2;margin:0;min-height:100%}.enhanceStep .runEnhance,.enhanceStep .enhanceProgress,.enhanceStep .enhanceStatus{grid-column:1/-1}.comparePreview{min-width:0;padding:22px 24px 26px}.comparePreview>div{display:flex!important}.compareHeader{margin:0 0 18px;min-height:46px}.compareNavigation{display:flex;align-items:center;gap:12px}.compareNavigation span{min-width:58px;text-align:center;color:#cbd5e1;font-weight:900}.compareArrow{width:42px;height:42px;border-radius:11px}.compareCard{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;width:100%;padding:0!important;background:transparent!important}.comparePane{gap:10px;background:#0e1623;border:1px solid #273449;border-radius:16px;padding:14px;overflow:hidden}.comparePane>b{font-size:14px;margin:0;text-align:center}.compareImageStage{height:clamp(320px,46vw,560px);width:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:12px;background:#09111d}.compareImageStage img{display:block;width:100%!important;height:100%!important;max-width:100%;max-height:100%;-o-object-fit:contain!important;object-fit:contain!important;border:0!important;border-radius:0!important;background-image:linear-gradient(45deg,#d9d9d9 25%,transparent 25%),linear-gradient(-45deg,#d9d9d9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d9d9d9 75%),linear-gradient(-45deg,transparent 75%,#d9d9d9 75%)!important;background-size:20px 20px!important;background-position:0 0,0 10px,10px -10px,-10px 0!important;background-color:#fff!important}.compareImageStage .awaitingUpscale{width:100%;height:100%;border:1px dashed #4b3d76;background:#101827!important;color:#c4b5fd}.comparePane small{text-align:center;margin:0;color:#94a3b8}@media (max-width:900px){.enhanceStep .enhanceControls{grid-template-columns:1fr}.enhanceStep .enhanceInfo{grid-column:1;grid-row:auto}.enhanceStep .enhanceChoices,.compareCard{grid-template-columns:1fr}.compareImageStage{height:360px}}.exportStepActions{margin-top:2px;gap:12px}.exportActions>button{min-height:68px;padding:13px 16px;overflow:hidden}.exportActions>button>span{flex:1 1 auto;min-width:0;overflow:hidden}.exportActions>button b{display:block;line-height:1.2;white-space:normal}.exportActions>button small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3}.exportActionArrow{flex:0 0 auto!important;width:19px!important;height:19px!important;margin-left:auto;color:#8b5cf6!important}.exportStepCard .formatChoices{margin-bottom:2px}@media (max-width:560px){.exportActions>button{min-height:72px;padding:12px 14px}.exportActionArrow{display:none}}.enhanceStep{padding-top:14px!important;padding-bottom:96px!important}.enhanceStep .wizardHero{margin-bottom:14px!important}.enhanceStep .wizardHero h1{font-size:clamp(30px,3vw,44px)!important;margin:3px 0!important}.enhanceStep .wizardHero p{font-size:15px!important;margin:5px 0 0!important}.enhanceStep .enhanceLayout{gap:14px!important}.enhanceStep .enhanceControls{padding:16px 20px!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px 14px!important}.enhanceStep .enhanceControls>h2{font-size:20px!important}.enhanceStep .enhanceChoices{display:flex!important;gap:9px!important}.enhanceStep .enhanceChoices button{flex:1;min-height:58px;padding:10px 13px!important}.enhanceStep .enhanceInfo{min-width:250px!important;padding:10px 12px!important;margin:0!important}.enhanceStep .runEnhance{padding:12px!important}.enhanceStep .enhanceProgress{height:12px!important;margin-top:2px!important}.enhanceStep .enhanceStatus{margin:0!important;font-size:13px!important}.enhanceStep .comparePreview{padding:16px 20px 20px!important}.enhanceStep .compareHeader{min-height:34px!important;margin-bottom:10px!important}.enhanceStep .compareHeader h2{font-size:21px!important}.enhanceStep .compareImageStage{height:clamp(300px,43vh,500px)!important}.enhanceStep .comparePane{padding:10px!important}.enhanceStep .workflowFooter{bottom:14px!important}@media (max-height:820px) and (min-width:901px){.enhanceStep .wizardHero p{display:none}.enhanceStep .wizardEyebrow{font-size:10px}.enhanceStep .enhanceInfo small{display:none}.enhanceStep .enhanceInfo{min-width:210px!important;align-items:center}.enhanceStep .compareImageStage{height:clamp(260px,38vh,390px)!important}}@media (max-width:900px){.enhanceStep .enhanceControls{grid-template-columns:1fr!important}.enhanceStep .enhanceChoices{display:grid!important;grid-template-columns:1fr!important}.enhanceStep .enhanceInfo{min-width:0!important}}.completionToast{background:#151e2e!important;color:#f8fafc!important;border:1px solid #7c3aed!important;box-shadow:0 18px 55px #000a!important}.completionToast b{color:#fff!important}.completionToast span,.completionToast small{color:#aab3c3!important}.canvasViewModes{display:flex;align-items:center;gap:4px;margin-left:8px;padding-left:8px;border-left:1px solid #3c3348}.canvasViewModes button{height:28px;min-width:42px;padding:0 8px;border:1px solid #463b55;border-radius:7px;background:#17131f;color:#dcd3e7;font-size:10px;font-weight:800;cursor:pointer}.canvasViewModes button:hover,.canvasViewModes button.active{border-color:#9d5de0;background:#6531a0;color:#fff}.objectZoom.view-fit{width:94%;height:94%}.objectZoom.view-fit canvas{max-width:100%;max-height:100%;width:auto;height:auto}.objectZoom.view-fill{width:100%;height:100%;overflow:hidden}.objectZoom.view-fill canvas{width:100%;height:100%;max-width:none;max-height:none;-o-object-fit:cover;object-fit:cover}.objectZoom.view-actual{width:auto;height:auto;max-width:none;max-height:none}.objectZoom.view-actual canvas{width:auto;height:auto;max-width:none;max-height:none}@media (max-width:1100px){.canvasViewModes{margin-left:4px;padding-left:4px}.canvasViewModes button{min-width:36px;padding:0 6px}}.workflowFooter{position:fixed!important;top:86px!important;right:18px!important;bottom:auto!important;left:auto!important;transform:none!important;width:auto!important;max-width:calc(100vw - 36px)!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;padding:7px 8px!important;border-radius:14px!important;background:#111827f5!important;-webkit-backdrop-filter:blur(14px)!important;backdrop-filter:blur(14px)!important;box-shadow:0 12px 34px #00000061!important;z-index:120!important}.workflowFooter>span{order:-1;white-space:nowrap;padding:0 8px;font-size:12px}.workflowFooter button{min-height:38px!important;padding:8px 13px!important;white-space:nowrap!important;border-radius:9px!important}.workflowFooter button:disabled{display:none!important}.workflowFooter>span:empty{display:none!important}.workspace{padding-bottom:0!important}.wizardScreen{padding-bottom:30px!important}@media (max-width:760px){.workflowFooter{top:78px!important;right:8px!important;max-width:calc(100vw - 16px)!important;overflow-x:auto!important;justify-content:flex-start!important}.workflowFooter>span{padding:0 4px;font-size:11px}.workflowFooter button{padding:7px 10px!important;font-size:12px!important}}nnn.workspaceStepTitle{display:none!important}n.workspace{padding-top:6px!important;gap:8px!important}n.workflowStepper{padding-bottom:8px!important}n.workflowFooter{top:5px!important;right:10px!important}n.detectBgButton{height:28px;display:flex;align-items:center;gap:5px;margin-left:6px;padding:0 9px;border:1px solid #6f45a0;border-radius:7px;background:#2b1d40;color:#eadcff;font-size:10px;font-weight:850;cursor:pointer;white-space:nowrap}n.detectBgButton:hover{background:#6531a0;border-color:#a966ec;color:#fff}n.detectBgButton:disabled{opacity:.35;cursor:not-allowed}n.detectBgButton svg{width:14px;height:14px}n@media(max-width:1200px){.detectBgButton span{display:none}.detectBgButton{padding:0 7px}}n .topbar{height:72px!important;flex-basis:72px!important;grid-template-columns:minmax(230px,auto) minmax(520px,1fr) auto!important;gap:14px;padding:7px 14px!important}.topbar .brand img{width:48px;height:48px}.topbar .brand strong{font-size:19px}.topbar .brand small{font-size:10px}.topbar .brand>b{display:none}.headerStepper{position:static!important;inset:auto!important;padding:0!important;border:0!important;background:transparent!important;justify-content:center!important;min-width:0;overflow-x:auto}.headerStepper button{padding:7px 12px!important;gap:7px!important;white-space:nowrap}.headerStepper button span{width:22px!important;height:22px!important}.topbarRight{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.topbarRight .projectTop>div{display:none}.topbarRight .toolbar{gap:2px}.topbarRight .tool{min-width:44px;padding:5px}.topbarRight .tool span{font-size:9px}.workspace,.wizardScreen{margin-top:0!important}.singleUpscaleStep{padding:12px 18px 70px!important;min-height:calc(100vh - 105px)!important}.singlePreviewLayout{max-width:none!important;height:100%;grid-template-columns:310px minmax(0,1fr)!important;gap:12px!important}.singlePreviewLayout .enhanceControls{padding:16px!important}.singleUpscalePreview{position:relative;padding:14px!important;min-height:calc(100vh - 150px);display:flex;flex-direction:column}.singlePreviewHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.singlePreviewHeader h2{margin:0}.singleUpscaleStage{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#0e1623;border-radius:14px;padding:12px}.singleUpscaleStage img{width:100%!important;height:100%!important;max-height:calc(100vh - 235px);-o-object-fit:contain!important;object-fit:contain!important;aspect-ratio:auto!important;background-image:linear-gradient(45deg,#d9d9d9 25%,transparent 25%),linear-gradient(-45deg,#d9d9d9 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d9d9d9 75%),linear-gradient(-45deg,transparent 75%,#d9d9d9 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;background-color:#fff;border-radius:10px}.singleUpscaleStage small{color:#94a3b8}.completionToast,.detectBgButton{display:none!important}@media (max-width:1180px){.topbar{grid-template-columns:auto 1fr auto!important}.headerStepper button b{font-size:11px}.topbarRight .toolbar .tool span{display:none}}@media (max-width:900px){.topbar{height:auto!important;grid-template-columns:1fr auto!important;grid-template-areas:"brand right" "steps steps"!important}.brand{grid-area:brand}.topbarRight{grid-area:right}.headerStepper{grid-area:steps;padding-top:4px!important}.singlePreviewLayout{grid-template-columns:1fr!important}.singleUpscalePreview{min-height:520px}}.optionsOnlyUpscaleStep{min-height:calc(100vh - 86px)!important;padding:28px 20px 96px!important;display:grid;place-items:center}.upscaleOptionsOnly{width:min(760px,100%);margin:auto;padding:34px clamp(22px,4vw,48px);border:1px solid #303b4e;border-radius:24px;background:#141d2c;text-align:center;box-shadow:0 22px 60px #0005}.upscaleOptionsIcon{width:62px;height:62px;margin:0 auto 12px;border-radius:18px;display:grid;place-items:center;background:#34255d;color:#c4b5fd}.upscaleOptionsIcon svg{width:30px;height:30px}.upscaleOptionsOnly h1{margin:4px 0 8px;font-size:clamp(32px,5vw,50px)}.upscaleIntro{max-width:610px;margin:0 auto 24px;color:#aab3c3;font-size:16px;line-height:1.55}.centeredChoices{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 auto 18px}.centeredChoices button{text-align:center;min-height:92px;align-content:center}.upscaleCount{margin:4px 0 14px;color:#cbd5e1;font-weight:800}.centeredRunEnhance{max-width:520px;margin:0 auto}.centeredProgress{max-width:520px;margin:16px auto 0}.inlineProcessing{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:14px;color:#c4b5fd;font-weight:800}.inlineProcessing img{width:30px;height:30px;border-radius:50%;animation:spin 1s linear infinite}@media (max-width:700px){.centeredChoices{grid-template-columns:1fr}.upscaleOptionsOnly{padding:26px 18px}}.optionalDistressSidebar{min-width:330px}.optionalDistressLibrary{padding:10px!important;overflow:visible!important}.optionalDistressToggle{width:100%;display:flex;align-items:center;justify-content:space-between;padding:12px 13px;border:1px solid rgba(151,96,211,.45);border-radius:12px;background:#6931a029;color:inherit;text-align:left;cursor:pointer}.optionalDistressToggle span{display:flex;flex-direction:column;gap:2px}.optionalDistressToggle b{font-size:13px}.optionalDistressToggle small{font-size:10px;opacity:.68}.optionalDistressToggle svg{width:18px;transition:.18s}.optionalDistressToggle.open svg{transform:rotate(180deg)}.optionalDistressBody{display:flex;flex-direction:column;gap:10px;margin-top:10px}.distressQuickActions{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:8px}.distressQuickActions .surpriseButton,.distressQuickActions .noTextureButton{margin:0!important;min-height:56px;padding:9px 10px!important}.distressQuickActions button span{min-width:0}.distressQuickActions button b{font-size:11px}.distressQuickActions button small{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.distressTextureGroup{display:flex;flex-direction:column;gap:6px}.distressGroupTitle{display:flex;align-items:center;justify-content:space-between;padding:0 2px}.distressGroupTitle b{font-size:11px;text-transform:uppercase;letter-spacing:.08em}.distressGroupTitle small{font-size:9px;opacity:.58}.distressPreviewStrip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.distressPreviewThumb{position:relative;min-width:0;padding:4px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#19151f;color:inherit;cursor:pointer;overflow:hidden}.distressPreviewThumb:hover{border-color:#9b5de5;transform:translateY(-1px)}.distressPreviewThumb.active{border-color:#bc7cff;box-shadow:0 0 0 2px #bc7cff40}.distressPreviewThumb img{display:block;width:100%;aspect-ratio:1/1;-o-object-fit:cover;object-fit:cover;border-radius:5px;background:#eee;filter:none}.distressPreviewThumb span{display:block;margin-top:3px;font-size:7px;line-height:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.78}.textureHoverPreview{position:fixed;z-index:10000;width:320px;padding:10px;border:1px solid rgba(188,124,255,.65);border-radius:13px;background:#17131d;color:#fff;box-shadow:0 18px 50px #0000008c;pointer-events:none}.textureHoverCanvas{height:300px;border-radius:9px;overflow:hidden;background-color:#d9d5dd;background-image:linear-gradient(45deg,#c3bec8 25%,transparent 25%),linear-gradient(-45deg,#c3bec8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#c3bec8 75%),linear-gradient(-45deg,transparent 75%,#c3bec8 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.textureHoverCanvas img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;display:block}.textureHoverPreview>b{display:block;margin-top:8px;font-size:13px}.textureHoverPreview>span{display:block;margin-top:2px;font-size:10px;opacity:.68}@media (max-width:1200px){.distressPreviewStrip{grid-template-columns:repeat(4,minmax(0,1fr))}}.optionalDistressBody{display:flex;flex-direction:column;min-height:0;overflow:hidden}.pinnedAdvanced{flex:0 0 auto;margin-top:10px;position:relative;z-index:2;background:#15101f}.pinnedTexturePreview{flex:0 0 auto;display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;align-items:center;margin:10px 0;padding:8px;border:1px solid #3e3151;border-radius:10px;background:#120e1a}.pinnedTexturePreviewCanvas,.pinnedTexturePreviewEmpty{height:70px;border-radius:7px;overflow:hidden;background-color:#f5f5f5;background-image:linear-gradient(45deg,#d3d3d3 25%,transparent 25%),linear-gradient(-45deg,#d3d3d3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d3d3d3 75%),linear-gradient(-45deg,transparent 75%,#d3d3d3 75%);background-size:14px 14px;background-position:0 0,0 7px,7px -7px,-7px 0}.pinnedTexturePreviewCanvas img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.pinnedTexturePreviewEmpty{display:grid;place-items:center;color:#776d83;font-size:10px;text-align:center;padding:8px}.pinnedTexturePreview b,.pinnedTexturePreview span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pinnedTexturePreview b{font-size:12px;color:#fff}.pinnedTexturePreview span{font-size:10px;color:#aaa0b7;margin-top:4px}.distressTextureScroll{min-height:0;flex:1;overflow-y:auto;padding-right:4px;overscroll-behavior:contain}.distressTextureScroll::-webkit-scrollbar{width:8px}.distressTextureScroll::-webkit-scrollbar-thumb{background:#4d3766;border-radius:999px}.distressTextureScroll::-webkit-scrollbar-track{background:#17111f}.headerWorkflowFooter{position:static!important;inset:auto!important;transform:none!important;width:auto!important;max-width:none!important;flex:0 0 auto!important;padding:4px!important;gap:5px!important;border:1px solid #334155!important;border-radius:11px!important;background:#111827!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;z-index:auto!important}.headerWorkflowFooter>span{order:0!important;padding:0 6px!important;font-size:10px!important}.headerWorkflowFooter button{min-height:32px!important;padding:6px 9px!important;font-size:11px!important;border-radius:7px!important}.topbarRight{gap:7px!important}.topbarRight .toolbar{flex:0 0 auto}@media (max-width:1380px){.topbar{grid-template-columns:minmax(190px,auto) minmax(430px,1fr) auto!important}.headerStepper button{padding:6px 9px!important}.headerWorkflowFooter>span{display:none}.headerWorkflowFooter button{padding:6px 8px!important}.topbarRight .toolbar .tool:not(.startOverTool){display:none}}@media (max-width:980px){.topbar{grid-template-columns:1fr auto!important;grid-template-areas:"brand right" "steps steps"!important;height:auto!important}.headerWorkflowFooter{max-width:100%!important;overflow-x:auto}}.cancelEnhance{display:inline-flex;align-items:center;gap:8px;margin:12px auto 0;padding:10px 16px;border:1px solid #ef4444;border-radius:10px;background:#fff;color:#b91c1c;font-weight:800;cursor:pointer}.cancelEnhance svg{width:17px;height:17px}.cancelEnhance:hover{background:#fef2f2}.upscaleDomainChoices{display:grid;grid-template-columns:repeat(2,minmax(0,220px));justify-content:center;gap:12px;margin:18px auto 14px}.upscaleDomainChoices button{border:1px solid rgba(255,255,255,.14);background:#ffffff0e;color:inherit;border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:4px;text-align:left;cursor:pointer}.upscaleDomainChoices button.active{border-color:#a78bfa;background:#7c3aed2e;box-shadow:0 0 0 2px #a78bfa1f}.upscaleDomainChoices b{font-size:15px}.upscaleDomainChoices span{font-size:12px;opacity:.72;line-height:1.35}@media (max-width:700px){.upscaleDomainChoices{grid-template-columns:1fr}}.upscaleWorkingOverlay{z-index:220}.upscaleWorkingOverlay .exportCard{max-width:430px;text-align:center}.upscaleWorkingOverlay .cancelEnhance{display:inline-flex;margin:18px auto 0;background:#fff;color:#b91c1c}.enhanceStudio{flex:1;min-height:0;display:grid;grid-template-columns:286px minmax(560px,1fr) 330px;background:#080f18;color:#f7f8fb;overflow:hidden}.enhanceNav{display:flex;flex-direction:column;justify-content:space-between;padding:28px 20px 22px;border-right:1px solid #1b2734;background:linear-gradient(180deg,#07111b,#09131d)}.enhanceSteps{display:grid;gap:14px}.enhanceSteps>button{width:100%;display:grid;grid-template-columns:36px 1fr;align-items:center;gap:10px;padding:14px 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:#eef2f7;text-align:left;cursor:pointer}.enhanceSteps>button.active{background:linear-gradient(135deg,#662db447,#35225f42);border-color:#4e2d78}.enhanceSteps>button>span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#1e2a36;color:#cbd5e1}.enhanceSteps>button.done>span{background:#0ba35b;color:#fff}.enhanceSteps>button.active>span{background:#7c3aed;color:#fff}.enhanceSteps>button svg{width:18px}.enhanceSteps i{display:flex;flex-direction:column;font-style:normal}.enhanceSteps strong{font-size:17px}.enhanceSteps small{margin-top:4px;color:#9da8b5;font-size:13px}.enhanceNavBottom{display:grid;gap:18px}.enhanceNavBottom button{display:flex;align-items:center;gap:10px;border:1px solid #1e2c39;border-radius:9px;background:#111c27;color:#fff;padding:13px 16px;font-weight:800;cursor:pointer}.enhanceNavBottom svg{width:20px}.enhanceNavBottom .enhanceStartOver{justify-content:center;background:#c62828;border-color:#e64242}.enhanceCenter{min-width:0;min-height:0;display:flex;flex-direction:column;padding:20px 24px;overflow:auto;background:radial-gradient(circle at 50% 0,#101c29 0,#0a121b 42%,#081019)}.enhancePreviewPair{min-height:0;flex:1;display:grid;grid-template-columns:1fr 1fr;gap:18px}.enhancePreviewPair article{min-width:0;min-height:360px;display:flex;flex-direction:column}.enhancePreviewPair h3{margin:0;font-size:17px}.enhancePreviewHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 6px 10px}.enhancePreviewHead span{padding:5px 8px;border:1px solid #33475c;border-radius:999px;background:#0d1824;color:#c5ced8;font-size:12px;font-weight:800;white-space:nowrap}.enhancePreview{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;border:1px solid #263545;border-radius:7px;overflow:hidden;background-color:#111923}.enhancePreview.checker{background-image:linear-gradient(45deg,#1d2732 25%,transparent 25%),linear-gradient(-45deg,#1d2732 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#1d2732 75%),linear-gradient(-45deg,transparent 75%,#1d2732 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.enhancePreview img{max-width:92%;max-height:92%;-o-object-fit:contain;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.35))}.enhanceControlsCard{margin-top:18px;display:grid;grid-template-columns:1fr 1.2fr;gap:12px 18px;padding:16px;border:1px solid #243240;border-radius:10px;background:#0b141e}.enhanceControlGroup h3{margin:0 0 10px;font-size:16px}.segmented{display:flex;overflow:hidden;border:1px solid #263746;border-radius:8px;background:#101b26}.segmented button{flex:1;border:0;border-right:1px solid #263746;background:transparent;color:#e5e7eb;padding:11px 12px;cursor:pointer;font-weight:700;display:grid;justify-items:center;align-content:center;gap:4px;min-height:58px;text-align:center}.segmented button:last-child{border-right:0}.segmented button.active{background:linear-gradient(135deg,#6d28d9,#7c3aed);color:#fff}.segmented button span{display:block;line-height:1.1}.segmented small{display:block;font-size:10px;line-height:1.15;color:#e5e7ebc7;font-weight:700}.segmented button.active small{color:#ffffffdb}.enhancePrimary{grid-column:1/-1;justify-self:center;min-width:260px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #9d69ef;border-radius:9px;background:linear-gradient(135deg,#6d28d9,#8b3cf0);color:#fff;padding:13px 28px;font-weight:900;cursor:pointer}.enhancePrimary:disabled{opacity:.45}.enhanceHint{grid-column:1/-1;display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #1f3040;border-radius:8px;color:#aeb8c4;background:#08111a;font-size:13px}.enhanceHint svg{width:18px;color:#c4a1ff}.easyUpscaleControls{grid-template-columns:1fr!important;gap:14px!important}.easyUpscaleSummary{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:15px;border:1px solid #2b3b4c;border-radius:12px;background:linear-gradient(135deg,#101d2b,#0b1520)}.easyUpscaleIcon{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:#6726b7;color:#fff;box-shadow:0 0 24px #7c3aed47}.easyUpscaleIcon svg{width:24px}.easyUpscaleSummary h2{margin:0;font-size:22px}.easyUpscaleSummary p{margin:4px 0 0;color:#aeb8c4}.easyUpscaleSummary>span{padding:7px 10px;border:1px solid #34475c;border-radius:999px;background:#0a141f;color:#dbeafe;font-size:12px;font-weight:900;white-space:nowrap}.easyScaleChoices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.easyScaleChoices button{min-height:86px;border:1px solid #2d4052;border-radius:12px;background:#101b27;color:#e5e7eb;cursor:pointer}.easyScaleChoices button.active{border-color:#a78bfa;background:linear-gradient(135deg,#432176,#221945);box-shadow:0 0 0 2px #a78bfa1f}.easyScaleChoices b,.easyScaleChoices span{display:block}.easyScaleChoices b{font-size:30px}.easyScaleChoices span{margin-top:5px;color:#aeb8c4;font-size:13px;font-weight:800}.easyUpscaleButton{width:min(420px,100%);font-size:17px}.enhanceTextures{min-width:0;min-height:0;display:flex;flex-direction:column;padding:22px 18px 18px;border-left:1px solid #1b2734;background:#09121b}.enhanceTexturesHeader{display:flex;align-items:center;justify-content:space-between}.enhanceTexturesHeader h2{margin:0;font-size:20px}.enhanceTexturesHeader span{padding:8px 12px;border-radius:8px;background:#131f2a;color:#c6ccd4;font-size:12px}.enhanceTextureTabs{display:grid;grid-template-columns:repeat(3,1fr);margin:16px 0 14px;border-radius:8px;overflow:hidden;background:#121e29}.enhanceTextureTabs button{border:0;background:transparent;color:#d2d8df;padding:12px 5px;cursor:pointer}.enhanceTextureTabs button.active{background:#5f259f;color:#fff}.enhanceTextureGrid{min-height:0;flex:1;display:grid;grid-template-columns:1fr 1fr;gap:12px;overflow-y:auto;padding-right:4px;align-content:start}.enhanceTextureGrid button{aspect-ratio:1;border:1px solid #40505f;border-radius:6px;overflow:hidden;background:#03070b;padding:0;cursor:pointer}.enhanceTextureGrid button.active{border:2px solid #8b3cf0;box-shadow:0 0 0 2px #8b3cf038}.enhanceTextureGrid .textureThumb{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.enhanceIntensity{margin-top:16px;display:grid;gap:10px}.enhanceIntensity span{display:flex;justify-content:space-between;font-weight:800}.enhanceIntensity input{width:100%;accent-color:#7c3aed}.enhanceCompareCard{min-height:0;flex:1;display:flex;flex-direction:column}.baCompare{flex:0 0 clamp(320px,44vh,460px);min-height:clamp(320px,44vh,460px);background-color:#f3f4f6;background-image:linear-gradient(45deg,#d1d5db 25%,transparent 25%),linear-gradient(-45deg,#d1d5db 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d1d5db 75%),linear-gradient(-45deg,transparent 75%,#d1d5db 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.baViewport{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;touch-action:none}.baScene{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:center center}.baCompare .awaitingUpscale{position:relative;z-index:2}.baCompare.zoomed .baViewport{cursor:grab}.baCompare.isPanning .baViewport{cursor:grabbing}.baImage{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;max-width:none!important;max-height:none!important;-o-object-fit:contain;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.35));pointer-events:none}.baAfterClip{position:absolute;top:0;right:0;bottom:0;left:0;clip-path:inset(0 0 0 var(--split,50%));pointer-events:none}.baDivider{position:absolute;top:0;bottom:0;width:0;transform:translate(-1px);pointer-events:auto;cursor:ew-resize;z-index:4}.baDivider:before{content:"";position:absolute;top:0;bottom:0;left:0;width:2px;background:#c084fc;box-shadow:0 0 0 1px #00000073,0 0 22px #c084fc8c}.baHandle{position:absolute;top:50%;left:0;transform:translate(-50%,-50%);display:flex;align-items:center;gap:10px;min-width:88px;height:42px;padding:0 12px;border-radius:999px;background:#111827f0;border:1px solid #7c3aed;box-shadow:0 10px 24px #00000059}.baHandle b{display:grid;place-items:center;width:22px;height:22px;border-radius:999px;background:#111827;color:#fff;font-size:11px;font-weight:900}.baHandle b:last-child{background:#6d28d9}.baHandle i{font-style:normal;font-size:22px;line-height:1;color:#c084fc;font-weight:900}.baAfterPlaceholder{position:absolute;top:0;right:0;bottom:0;left:50%;display:grid;place-items:center;align-content:center;gap:10px;padding:20px;background:linear-gradient(180deg,#080e17bd,#080e17e6);border-left:1px solid rgba(192,132,252,.4);z-index:2;text-align:center;color:#eef2f7}.baAfterPlaceholder svg{width:34px;height:34px;color:#d8b4fe}.baAfterPlaceholder span{max-width:220px;color:#d8dee7;font-size:13px;line-height:1.35;font-weight:700}.baLegend{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-top:10px;color:#aeb8c4;font-size:12px;font-weight:800}.baLegend span:last-child{text-align:right}.baLegend b{padding:4px 8px;border:1px solid #33475c;border-radius:999px;background:#0d1824;color:#fff}.baRangeRow{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;margin-top:10px}.baRangeRow span{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;border:1px solid #7c3aed;background:#111827;color:#fff;font-size:11px;font-weight:900}.baRangeRow span:last-child{background:#6d28d9}.baRange{width:100%;margin:0;accent-color:#a855f7;cursor:ew-resize}.baTools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:10px;padding:8px 10px;border:1px solid #243240;border-radius:9px;background:#0b141e}.baTools span{display:flex;align-items:center;gap:6px;color:#9fb0c4;font-size:11px;font-weight:800}.baTools svg{width:15px;height:15px}.baTools button,.baTools b{min-height:32px;border:1px solid #33475c;border-radius:8px;background:#101b27;color:#fff}.baTools button{display:flex;align-items:center;justify-content:center;gap:6px;padding:6px 10px;cursor:pointer;font-weight:800}.baTools button:disabled{opacity:.35;cursor:not-allowed}.baTools b{display:grid;place-items:center;min-width:58px;padding:0 10px;font-size:12px}.baTools .centerSnap{margin-left:auto;border-left:0!important;padding-left:10px!important}.upscaleWorkingOverlay{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#02080fc7}.enhanceWorkingCard{width:min(650px,calc(100vw - 40px));padding:30px 48px 26px;border:1px solid #3b5068;border-radius:16px;background:radial-gradient(circle at 50% 15%,#16233a 0,#0b1725 48%,#09131f);box-shadow:0 28px 80px #0000009e,0 0 45px #7c3aed1f;text-align:center;color:#fff}.logoSpinner{position:relative;width:240px;height:240px;margin:0 auto 10px;display:grid;place-items:center;contain:layout paint;transform:translateZ(0);backface-visibility:hidden}.logoSpinner span{position:absolute;top:7px;right:7px;bottom:7px;left:7px;border-radius:50%;border:9px solid rgba(162,102,255,.18);border-top-color:#c084fc;border-right-color:#8b5cf6;animation:logoSpin 1.05s linear infinite;will-change:transform;transform:translateZ(0);backface-visibility:hidden}.logoSpinner img{width:170px;height:170px;border-radius:50%;-o-object-fit:cover;object-fit:cover;transform:translateZ(0);backface-visibility:hidden}.enhanceWorkingCard h2{margin:4px 0 8px;font-size:30px}.enhanceWorkingCard>p{margin:0 0 20px;color:#d4dbe4}.estimateCard{width:-moz-max-content;width:max-content;max-width:100%;margin:0 auto 20px;display:flex;align-items:center;gap:12px;padding:14px 22px;border:1px solid #36485d;border-radius:11px;background:#08111db8}.estimateCard svg{width:32px;color:#dbeafe}.estimateCard span{display:flex;flex-direction:column;text-align:left;font-size:14px}.estimateCard b{margin-top:2px;color:#b875ff;font-size:21px}.enhanceWorkingCard .cancelEnhance{min-width:240px;border:1px solid #35465a;border-radius:10px;background:#111d2a;color:#fff;padding:13px 22px;font-weight:800}.enhanceModalTip{margin-top:22px;display:flex;align-items:center;justify-content:center;gap:8px;color:#d8dee7;font-size:13px}.enhanceModalTip svg{width:18px;color:#e9d5ff}@keyframes logoSpin{0%{transform:translateZ(0) rotate(0)}to{transform:translateZ(0) rotate(360deg)}}@media (max-width:1150px){.enhanceStudio{grid-template-columns:230px minmax(480px,1fr) 280px}.enhanceControlsCard{grid-template-columns:1fr}.enhanceControlGroup,.enhancePrimary,.enhanceHint{grid-column:1}.enhanceTextureGrid{gap:8px}}@media (max-width:900px){.enhanceStudio{grid-template-columns:1fr;overflow:auto}.enhanceNav{display:none}.enhanceTextures{min-height:560px}.enhanceCenter{overflow:visible}.enhancePreviewPair{grid-template-columns:1fr}.enhanceWorkingCard{padding:24px}.logoSpinner{width:190px;height:190px}.logoSpinner img{width:135px;height:135px}}@media (max-width:620px){.easyUpscaleSummary{grid-template-columns:1fr;text-align:center}.easyUpscaleIcon,.easyUpscaleSummary>span{justify-self:center}.easyScaleChoices{grid-template-columns:1fr}}.headerStepper,.headerWorkflowFooter{display:none!important}.topbar{grid-template-columns:auto 1fr!important}.topbarRight{justify-self:end!important}.verticalWorkflowShell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 92px);background:#0b111b}.globalWorkflowNav{position:sticky;top:0;height:calc(100vh - 92px);align-self:start;background:#0f1722;border-right:1px solid #263344;padding:22px 16px;display:flex;flex-direction:column;justify-content:space-between;z-index:20}.workflowStage{--workflow-nav-space:126px;min-width:0;position:relative;padding-bottom:var(--workflow-nav-space)}.workflowStage>.wizardScreen,.workflowStage>.workspace,.workflowStage>.enhanceStudio{min-height:calc(100vh - 150px);padding-bottom:calc(var(--workflow-nav-space) + 10px)}.enhanceStudioNoTexture{grid-template-columns:minmax(0,1fr)!important;max-width:1220px;margin:0 auto;width:100%}.enhanceStudioNoTexture .enhanceCenter{width:100%;max-width:none;padding-bottom:176px}.enhanceStudioNoTexture .enhanceControlsCard{margin-bottom:150px;scroll-margin-bottom:150px}.enhanceTextures{display:none!important}.bottomWorkflowNav{position:absolute;left:22px;right:22px;bottom:18px;min-height:58px;background:#101825f7;border:1px solid #334155;border-radius:16px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;box-shadow:0 14px 38px #0008;z-index:70}.bottomWorkflowNav>span{color:#9ca3af;font-weight:850;margin:auto}.bottomWorkflowNav button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:120px;border:1px solid #465266;background:#202a3b;color:#fff;border-radius:11px;padding:11px 18px;font-weight:850;cursor:pointer}.bottomWorkflowNav button:disabled{opacity:.3;cursor:not-allowed}.bottomWorkflowNav .nextStep{background:#7c3aed;border-color:#8b5cf6}.bottomWorkflowNav .skipStep{min-width:90px;background:transparent}@media (max-width:900px){.verticalWorkflowShell{grid-template-columns:1fr}.globalWorkflowNav{position:relative;height:auto;border-right:0;border-bottom:1px solid #263344;padding:10px}.globalWorkflowNav .enhanceSteps{grid-template-columns:repeat(4,minmax(0,1fr));display:grid;gap:6px}.globalWorkflowNav .enhanceSteps button{padding:8px;grid-template-columns:28px 1fr}.globalWorkflowNav .enhanceSteps small,.globalWorkflowNav .enhanceNavBottom{display:none}.bottomWorkflowNav{left:10px;right:10px}.bottomWorkflowNav button{min-width:0;padding:9px 12px}.bottomWorkflowNav>span{font-size:12px}.workflowStage{--workflow-nav-space:106px}.baCompare{flex-basis:clamp(260px,38vh,360px);min-height:clamp(260px,38vh,360px)}.enhanceStudioNoTexture .enhanceCenter{padding-bottom:136px}.enhanceStudioNoTexture .enhanceControlsCard{margin-bottom:118px;scroll-margin-bottom:118px}}.upscaleSuccessCard{max-width:470px;text-align:center}.upscaleSuccessCard p{max-width:390px;margin:0 auto 18px;color:#5f5669;line-height:1.55}.upscaleSuccessMeta{display:flex;align-items:center;justify-content:center;gap:10px;margin:4px auto 22px;padding:12px 16px;border:1px solid #d9cbe7;border-radius:12px;background:#f8f3fc;color:#4d355f}.upscaleSuccessMeta span{color:#168447;font-weight:700}.upscaleSuccessActions{justify-content:center}.upscaleSuccessActions .successNext{display:inline-flex;align-items:center;gap:8px;background:#168447;color:#fff;border-color:#168447}.upscaleSuccessActions .successNext:hover{filter:brightness(.95)}.upscaleSuccessActions .successNext svg{width:18px;height:18px}.workerBadge{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin:-8px auto 14px;color:#dbeafe;font-size:13px}.workerBadge svg{width:18px;color:#c084fc}.workerBadge b{color:#fff}.workerBadge span{width:100%;color:#9fb0c4;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.enhanceProgressTrack{height:10px;overflow:hidden;margin:0 auto 8px;border:1px solid #35465a;border-radius:999px;background:#07101b}.enhanceProgressTrack i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#7c3aed,#c084fc);box-shadow:0 0 14px #c084fca6;transition:width .2s ease}.enhanceProgressMeta{display:flex;justify-content:space-between;align-items:center;margin:0 2px 14px;color:#b8c4d2;font-size:12px}.enhanceProgressMeta b{color:#e9d5ff;font-size:15px}.exportWorkspace{min-height:calc(100vh - 125px);padding:22px 24px 92px;display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:18px;background:#08111b;color:#f8fafc}.exportPreviewPanel,.exportControlPanel{min-width:0;border:1px solid #263545;border-radius:10px;background:#0d1722;box-shadow:0 18px 44px #0000003d}.exportPreviewPanel{display:flex;flex-direction:column;padding:16px;overflow:hidden}.exportPreviewHeader{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-bottom:14px}.exportPreviewHeader span{color:#a78bfa;font-size:11px;font-weight:900;letter-spacing:.14em}.exportPreviewHeader b{font-size:22px}.exportPreviewHeader small{color:#9ca3af;font-weight:800}.exportPreviewStage{position:relative;flex:1;min-height:420px;display:flex;align-items:center;justify-content:center;border:1px solid #233343;border-radius:9px;overflow:hidden;background-color:#fff;touch-action:none;cursor:grab}.exportPreviewStage.isPanning{cursor:grabbing}.exportPreviewStage.checker{background-image:linear-gradient(45deg,#d8d8d8 25%,transparent 25%),linear-gradient(-45deg,#d8d8d8 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d8d8d8 75%),linear-gradient(-45deg,transparent 75%,#d8d8d8 75%);background-size:22px 22px;background-position:0 0,0 11px,11px -11px,-11px 0}.exportPreviewStage.white{background:#fff}.exportPreviewScene{width:100%;height:100%;display:flex;align-items:center;justify-content:center;transform-origin:center center;will-change:transform}.exportPreviewStage img{width:100%;height:100%;max-width:72%;max-height:72%;-o-object-fit:contain;object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;filter:drop-shadow(0 10px 20px rgba(0,0,0,.24))}.exportPreviewHint{position:absolute;left:12px;bottom:10px;padding:6px 9px;border:1px solid rgba(255,255,255,.12);border-radius:7px;background:#080f17c7;color:#d1d5db;font-size:11px;font-weight:800;pointer-events:none}.exportViewTools{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px}.exportViewTools span{display:flex;align-items:center;gap:6px;margin-right:4px;color:#94a3b8;font-size:12px;font-weight:800}.exportViewTools span svg,.exportViewTools button svg{width:15px;height:15px}.exportViewTools button{height:32px;min-width:34px;padding:0 10px;border:1px solid #2b3a4a;border-radius:7px;background:#111e2b;color:#e5e7eb;font-weight:900}.exportViewTools button:hover{border-color:#8b5cf6;background:#172334}.exportViewTools b{min-width:48px;text-align:center;color:#e5e7eb;font-size:12px}.exportPreviewEmpty{display:grid;place-items:center;gap:8px;color:#64748b}.exportPreviewEmpty svg{width:42px;height:42px}.exportSpecStrip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.exportSpecStrip span{min-width:0;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;border:1px solid #263545;border-radius:9px;background:#101c28;color:#dbe4ef}.exportSpecStrip svg{flex:0 0 auto;width:18px;color:#a78bfa}.exportSpecStrip b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.exportControlPanel{display:flex;flex-direction:column;gap:16px;padding:18px}.exportPanelHeader h1{margin:0;font-size:28px}.exportPanelHeader p{margin:6px 0 0;color:#9ca3af;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exportFormatSwitch{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:6px;border:1px solid #243342;border-radius:10px;background:#08111b}.exportFormatSwitch button{min-width:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#d6dde7;padding:14px 10px;cursor:pointer}.exportFormatSwitch button.selected{border-color:#8b5cf6;background:#2b1d50;color:#fff;box-shadow:0 0 0 2px #8b5cf61f}.exportFormatSwitch b,.exportFormatSwitch span{display:block}.exportFormatSwitch b{font-size:17px}.exportFormatSwitch span{margin-top:3px;font-size:11px;color:#aeb8c4}.exportResizeCard{display:grid;gap:10px;padding:12px;border:1px solid #223241;border-radius:10px;background:#0a141f}.exportResizeCard.enabled{border-color:#7c3aed;box-shadow:0 0 0 1px #7c3aed24}.exportResizeCard .toggle{margin:0}.exportResizeIntro,.exportResizeNote{color:#8ea0b3;font-size:11px;line-height:1.45}.exportSizeInputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.exportNumberField{display:grid;grid-template-columns:1fr auto;gap:6px 8px;align-items:center}.exportNumberField span{grid-column:1/-1;color:#8ea0b3;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.exportNumberField input{width:100%;min-width:0;height:42px;border:1px solid #314253;border-radius:9px;background:#101c28;color:#f8fafc;padding:0 12px}.exportNumberField input:disabled{opacity:.45;cursor:not-allowed}.exportNumberField small{color:#8ea0b3;font-size:11px;font-weight:800}.exportReadyList{display:grid;gap:9px}.exportReadyList div{min-width:0;padding:12px;border:1px solid #223241;border-radius:9px;background:#0a141f}.exportReadyList span,.exportReadyList b{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.exportReadyList span{color:#8ea0b3;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.exportReadyList b{margin-top:4px;color:#f8fafc;font-size:13px}.exportPrimaryActions{display:grid;gap:10px;margin-top:auto}.exportPrimaryActions button{min-width:0;min-height:74px;display:flex;align-items:center;gap:13px;border:1px solid #314253;border-radius:10px;background:#111f2d;color:#fff;padding:14px;text-align:left;cursor:pointer}.exportPrimaryActions button:hover:not(:disabled){border-color:#8b5cf6;background:#16283a}.exportPrimaryActions button:disabled{opacity:.42;cursor:not-allowed}.exportPrimaryActions .exportCurrent{background:linear-gradient(135deg,#6d28d9,#7c3aed);border-color:#a78bfa}.exportPrimaryActions .exportZip{background:#111f2d;border-color:#314253;color:#fff}.exportPrimaryActions .exportZip:hover:not(:disabled){background:#182b3f;border-color:#8b5cf6}.exportPrimaryActions svg{flex:0 0 auto;width:24px;height:24px}.exportPrimaryActions span{min-width:0;display:grid;gap:3px}.exportPrimaryActions b,.exportPrimaryActions small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.exportPrimaryActions small{color:#c5ced9;font-size:11px}@media (max-width:1050px){.exportWorkspace{grid-template-columns:1fr}.exportControlPanel{order:-1}.exportPreviewStage{min-height:360px}}@media (max-width:650px){.exportWorkspace{padding:16px 12px 88px}.exportPreviewHeader,.exportSpecStrip,.exportFormatSwitch,.exportSizeInputs{grid-template-columns:1fr}.exportPreviewStage{min-height:300px}.exportPanelHeader h1{font-size:24px}}@media (max-width:520px){.globalWorkflowNav .enhanceSteps{grid-template-columns:repeat(5,minmax(0,1fr))!important}.globalWorkflowNav .enhanceSteps button{grid-template-columns:1fr!important;justify-items:center;min-width:0}.globalWorkflowNav .enhanceSteps i{display:none!important}}.aiBackgroundPanel{display:grid;gap:12px}.aiRemovePrimary,.aiRemoveBatch{width:100%;display:flex;align-items:center;gap:12px;border:1px solid #6f49a1;background:#281b39;color:#fff;border-radius:12px;padding:13px 15px;cursor:pointer}.aiRemovePrimary:hover,.aiRemoveBatch:hover{background:#342248}.aiRemovePrimary:disabled,.aiRemoveBatch:disabled{opacity:.55;cursor:not-allowed}.aiRemovePrimary svg,.aiRemoveBatch svg{width:22px;height:22px}.aiRemovePrimary span,.aiRemoveBatch span{display:grid;text-align:left;gap:2px}.aiRemovePrimary small,.aiRemoveBatch small,.privacyNote,.aiProgressLabel{color:#c9bdd6}.friendlyProgress{height:8px;border-radius:999px;background:#17101f;overflow:hidden}.friendlyProgress i{display:block;height:100%;background:linear-gradient(90deg,#8c5cc4,#c798ff);transition:width .2s}.privacyNote,.aiProgressLabel{text-align:center}.aiProgressLabel{display:block;font-size:11px}.workspace{position:relative}.rightSideTips{position:absolute;top:14px;right:14px;z-index:24;width:250px;margin:0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 14px 38px #00000061}.workflowStage:has(.optionalDistressSidebar) .rightSideTips{right:410px}@media (max-width:1200px){.rightSideTips{width:225px}.workflowStage:has(.optionalDistressSidebar) .rightSideTips{right:365px}}@media (max-width:900px){.rightSideTips{position:relative;top:auto;right:auto;width:auto;margin:10px}}.bottomWorkflowNav{position:fixed!important;left:252px!important;right:22px!important;bottom:18px!important;width:auto!important;z-index:200!important}.rightSideTips{max-height:calc(100vh - 210px);overflow:auto}@media (max-width:900px){.bottomWorkflowNav{left:10px!important;right:10px!important;bottom:10px!important}.rightSideTips{max-height:none;overflow:visible}}.workflowStage:has(.enhanceStudioNoTexture){display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:calc(100vh - 92px);padding-bottom:0!important}.workflowStage:has(.enhanceStudioNoTexture)>.enhanceStudio{min-height:0!important;padding-bottom:14px!important}.workflowStage:has(.enhanceStudioNoTexture)>.bottomWorkflowNav{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;margin:0 22px 18px!important;width:auto!important;z-index:40!important}.workflowStage:has(.enhanceStudioNoTexture) .enhanceCenter{padding-bottom:26px!important}.workflowStage:has(.enhanceStudioNoTexture) .enhanceControlsCard{margin-bottom:0!important;scroll-margin-bottom:26px!important}@media (max-width:900px){.workflowStage:has(.enhanceStudioNoTexture)>.bottomWorkflowNav{margin:0 10px 10px!important}.workflowStage:has(.enhanceStudioNoTexture) .enhanceCenter{padding-bottom:18px!important}.workflowStage:has(.enhanceStudioNoTexture) .enhanceControlsCard{scroll-margin-bottom:18px!important}}.optionalDistressSidebar{height:calc(100vh - 178px);max-height:calc(100vh - 178px);min-height:0;overflow:hidden!important}.optionalDistressSidebar .optionalDistressLibrary{height:100%;min-height:0;overflow-y:scroll!important;overflow-x:hidden!important;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:#8d4ed2 #17131f;padding-right:7px!important}.optionalDistressSidebar .optionalDistressLibrary::-webkit-scrollbar{width:12px}.optionalDistressSidebar .optionalDistressLibrary::-webkit-scrollbar-track{background:#17131f;border-left:1px solid #302842;border-radius:999px}.optionalDistressSidebar .optionalDistressLibrary::-webkit-scrollbar-thumb{background:#8d4ed2;border:3px solid #17131f;border-radius:999px}.optionalDistressSidebar .optionalDistressLibrary::-webkit-scrollbar-thumb:hover{background:#a965e8}.optionalDistressSidebar .optionalDistressBody{overflow:visible!important}@media (max-width:1000px){.optionalDistressSidebar{height:560px;max-height:70vh}}.workspace.mode-dual.distress-right{grid-template-columns:minmax(0,1fr) 460px!important}.workspace.mode-dual.distress-right>.sidebar.distressLeftSidebar{display:none!important}.workspace.mode-dual.distress-right>.textureSidebar.optionalDistressSidebar{display:block!important;min-width:0}.workspace.mode-dual.distress-right .optionalDistressLibrary{overflow:hidden!important}.workspace.mode-dual.distress-right .optionalDistressBody{flex:1 1 auto;min-height:0;overflow:hidden!important;gap:12px}.workspace.mode-dual.distress-right .pinnedAdvanced{margin-top:4px}.workspace.mode-dual.distress-right .advancedDistressControls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 12px}.workspace.mode-dual.distress-right .advancedDistressControls .field{grid-column:1/-1;margin:0}.workspace.mode-dual.distress-right .advancedDistressControls .field>span{margin-bottom:4px}.workspace.mode-dual.distress-right .advancedDistressControls .toggle{min-height:34px;margin:0;padding:7px 8px;border-radius:8px;background:#21182d}.workspace.mode-dual.distress-right .pinnedTexturePreview{grid-template-columns:150px minmax(0,1fr);gap:14px;min-height:160px;margin:4px 0 8px;padding:12px;border-radius:12px}.workspace.mode-dual.distress-right .pinnedTexturePreviewCanvas,.workspace.mode-dual.distress-right .pinnedTexturePreviewEmpty{height:136px;border-radius:10px;background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0}.workspace.mode-dual.distress-right .pinnedTexturePreviewCanvas img{-o-object-fit:contain;object-fit:contain;padding:6px}.workspace.mode-dual.distress-right .pinnedTexturePreviewEmpty{font-size:12px}.workspace.mode-dual.distress-right .pinnedTexturePreview b{font-size:14px}.workspace.mode-dual.distress-right .pinnedTexturePreview span{font-size:11px;white-space:normal}.workspace.mode-dual.distress-right .distressTextureScroll{flex:1 1 auto;overflow-y:auto;padding-right:6px;scroll-behavior:smooth}.workspace.mode-dual.distress-right .distressTextureGroup{gap:8px;margin-bottom:12px}.workspace.mode-dual.distress-right .distressPreviewStrip{grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:10px}.workspace.mode-dual.distress-right .distressPreviewThumb{padding:6px;border-radius:10px;transition:border-color .16s ease,background .16s ease,transform .16s ease}.workspace.mode-dual.distress-right .distressPreviewThumb img{border-radius:7px}.workspace.mode-dual.distress-right .distressPreviewThumb span{margin-top:5px;font-size:9px;line-height:11px}@media (max-width:1000px){.workspace.mode-dual.distress-right{grid-template-columns:1fr!important}.workspace.mode-dual.distress-right>.textureSidebar.optionalDistressSidebar{min-height:520px}}@media (max-width:1250px){.workspace.mode-dual.distress-right{grid-template-columns:minmax(0,1fr) 420px!important}.workspace.mode-dual.distress-right .pinnedTexturePreview{grid-template-columns:132px minmax(0,1fr)}.workspace.mode-dual.distress-right .pinnedTexturePreviewCanvas,.workspace.mode-dual.distress-right .pinnedTexturePreviewEmpty{height:122px}}.colorRemovePanel{margin:9px 0 12px;padding:10px;border:1px solid #3b2d4d;border-radius:10px;background:#171221;opacity:.72;transition:.18s ease}.colorRemovePanel.enabled{opacity:1;border-color:#70449c;background:#1c1428}.colorRemoveLabel{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;color:#cfc3db;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.colorRemoveLabel button{display:inline-flex;align-items:center;gap:5px;min-height:28px;border:1px solid #5b4672;border-radius:7px;background:#22152f;color:#efe6fb;padding:0 8px;font-size:10px;font-weight:900;cursor:pointer;text-transform:none;letter-spacing:0}.colorRemoveLabel button:hover:not(:disabled){border-color:#b783ea;background:#301b42}.colorRemoveLabel button:disabled{opacity:.45;cursor:not-allowed}.colorRemoveLabel svg{width:13px;height:13px}.commonColorRow{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.commonColorSwatch{width:28px;height:28px;flex:0 0 28px;border:2px solid #4b4157;border-radius:7px;box-shadow:inset 0 0 0 1px #ffffff1f;cursor:pointer;padding:0;position:relative}.commonColorSwatch:hover{transform:translateY(-1px);border-color:#b783ea}.commonColorSwatch.active{border-color:#d9b5ff;box-shadow:0 0 0 2px #7440a5,inset 0 0 0 1px #ffffff40}.commonColorSwatch.custom{overflow:hidden;background:conic-gradient(red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.commonColorSwatch.custom input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.commonColorSwatch.custom i{position:absolute;top:4px;right:4px;bottom:4px;left:4px;border-radius:4px;border:1px solid rgba(255,255,255,.65)}.colorRemoveControls{margin-top:10px;padding-top:8px;border-top:1px solid #342944}.colorRemoveControls .field{margin:8px 0}.colorRestoreHint{display:flex;gap:7px;align-items:flex-start;margin-top:9px;padding-top:9px;border-top:1px solid #342944;color:#a99db7;font-size:9px;line-height:1.35}.colorRestoreHint svg{width:14px;height:14px;color:#34d399;flex:0 0 auto}.colorRestoreHint b{color:#e8dff2}.sidebarManualTools{margin-top:10px;padding-top:10px;border-top:1px solid #3a3047}.sidebarManualHeader{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}.sidebarManualHeader b{color:#d8b9ff;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.sidebarManualHeader small{color:#8f849c;font-size:9px}.sidebarToolGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.sidebarToolGrid button,.sidebarEditActions button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;border:1px solid #463a55;border-radius:7px;background:#1b1724;color:#d9d0e1;font-size:10px;font-weight:800;cursor:pointer}.sidebarToolGrid button:hover,.sidebarEditActions button:hover{border-color:#8151b2;background:#2b2138;color:#fff}.sidebarToolGrid button.active{border-color:#a766e8;background:#603296;color:#fff;box-shadow:0 0 0 1px #7d43b6 inset}.sidebarToolGrid button.active.move{background:#27416c;border-color:#60a5fa}.sidebarToolGrid button svg,.sidebarEditActions button svg{width:15px;height:15px}.sidebarEditActions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:6px}.sidebarEditActions button:disabled{opacity:.35;cursor:not-allowed}.sidebarEditActions button.clear{border-color:#6d3547;color:#ffb5c3}.sidebarToolSettings{margin-top:9px;padding:8px;border:1px solid #392e46;border-radius:7px;background:#14111c}.canvasManualTools,.canvasBackgroundSettings{display:none!important}.enhanceCompareCard{position:relative;z-index:1}.enhanceControlsCard{position:relative;z-index:6;flex-shrink:0;margin-top:24px!important;background:#0b141e!important;box-shadow:0 -10px 24px #02080f59}.baCompare{position:relative;z-index:1;isolation:isolate}.baImage,.baAfterClip,.baAfter{background:transparent!important}.undoAutoRemoveButton{width:auto;justify-self:start;padding:8px 10px;border-radius:9px;gap:8px;font-size:12px}.undoAutoRemoveButton svg{width:17px;height:17px}.undoAutoRemoveButton span{display:block}.undoAutoRemoveButton small{display:none}.canvasPanHint{position:absolute;z-index:8;left:50%;bottom:12px;transform:translate(-50%);display:flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#0a0e16b8;color:#e8e1f2;font-size:11px;font-weight:700;pointer-events:none;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);white-space:nowrap}.canvasPanHint svg{width:14px;height:14px}.customTextureImport{display:grid;gap:8px;margin:10px 0 12px}.importTextureButton{width:100%;min-height:48px;border:1px dashed #8b5fc7;border-radius:9px;background:#171222;color:#f7f0ff;display:flex;align-items:center;justify-content:center;gap:10px;padding:9px 12px;cursor:pointer}.importTextureButton:hover{background:#21172f;border-color:#b37af0}.importTextureButton svg{width:19px;height:19px;color:#c89aff}.importTextureButton span{text-align:left}.importTextureButton b,.importTextureButton small{display:block}.importTextureButton small{margin-top:2px;color:#a99eb5;font-size:10px}.importedTextureCard{display:grid;grid-template-columns:1fr 34px;align-items:stretch;border:1px solid #44384f;border-radius:8px;background:#13101a;overflow:hidden}.importedTextureCard.active{border-color:#a65bea;box-shadow:0 0 0 1px #6e399a}.importedTextureSelect{min-width:0;border:0;background:transparent;color:#fff;display:grid;grid-template-columns:52px 1fr;align-items:center;gap:9px;padding:6px;text-align:left;cursor:pointer}.importedTextureSelect img{width:52px;height:44px;-o-object-fit:cover;object-fit:cover;border-radius:5px;background:#050505}.importedTextureSelect span{min-width:0}.importedTextureSelect b,.importedTextureSelect small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.importedTextureSelect small{margin-top:3px;color:#9f95aa;font-size:10px}.removeImportedTexture{border:0;border-left:1px solid #392f43;background:#1c1723;color:#bdb2c9;display:grid;place-items:center;cursor:pointer}.removeImportedTexture:hover{background:#3a1720;color:#ff9ba6}.removeImportedTexture svg{width:15px;height:15px}.selectedUpscaleBadge{width:-moz-max-content;width:max-content;max-width:100%;margin:-6px auto 20px;display:flex;align-items:center;gap:9px;padding:7px 12px;border:1px solid rgba(192,132,252,.38);border-radius:999px;background:#7c3aed21;font-size:12px}.selectedUpscaleBadge span{color:#aebdcd;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.selectedUpscaleBadge b{color:#f3e8ff;font-size:13px}.upscaleOnlyCard{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:34px 28px;min-height:320px}.upscaleOnlyCard h2{margin:0;font-size:28px;line-height:1.1;color:#f5f3ff}.upscaleOnlyCard>p{max-width:560px;margin:0;color:#c4b5fd;font-size:14px;line-height:1.55}.upscaleOnlyBadge{display:inline-flex;align-items:center;gap:9px;padding:9px 14px;border-radius:999px;background:#7c3aed29;border:1px solid rgba(167,139,250,.45);color:#ddd6fe;font-weight:800}.upscaleOnlyBadge svg{width:18px;height:18px}.upscaleOnlyBadge b{padding:3px 8px;border-radius:999px;background:#7c3aed;color:#fff;font-size:12px}.megaUpscaleButton{width:min(100%,560px);min-height:92px;border:0;border-radius:24px;background:linear-gradient(135deg,#7c3aed,#9333ea 52%,#6d28d9);color:#fff;box-shadow:0 18px 44px #7c3aed61,inset 0 1px #ffffff40;display:flex;align-items:center;justify-content:center;gap:16px;font-size:24px;font-weight:950;letter-spacing:.04em;cursor:pointer;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease}.megaUpscaleButton svg{width:32px;height:32px;stroke-width:2.4}.megaUpscaleButton:hover:not(:disabled){transform:translateY(-2px) scale(1.01);filter:brightness(1.08);box-shadow:0 22px 54px #7c3aed80,inset 0 1px #ffffff4d}.megaUpscaleButton:active:not(:disabled){transform:translateY(0) scale(.995)}.megaUpscaleButton:disabled{opacity:.55;cursor:not-allowed;filter:saturate(.55)}.upscaleOnlyNote{color:#a78bfa;font-size:12px}.betaFeatureGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0 4px;text-align:left}.betaFeatureGrid span{display:flex;align-items:center;gap:9px;min-height:42px;padding:10px 11px;border:1px solid #25354a;border-radius:10px;background:#0f1b2a;color:#e5e7eb;font-size:12px;font-weight:750}.betaFeatureGrid svg{flex:0 0 auto;width:17px;height:17px;color:#a78bfa;stroke-width:2.3}@media (max-width:560px){.betaFeatureGrid{grid-template-columns:1fr}}.betaConstructionSign{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;margin:16px -4px 12px;padding:13px 54px;border:3px solid #17120a;border-radius:13px;background:repeating-linear-gradient(135deg,#facc15 0,#facc15 18px,#111827 18px,#111827 36px);color:#111827;box-shadow:0 0 0 3px #f59e0b,0 12px 30px #0008;overflow:hidden;animation:betaSignPulse 3.6s ease-in-out infinite}.betaConstructionSign:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;background:#fbbf24;border:2px solid #111827;border-radius:7px;z-index:0}.betaConstructionSign svg,.betaConstructionSign b{position:relative;z-index:1}.betaConstructionSign svg{width:29px;height:29px;stroke-width:2.8}.betaConstructionSign b{text-align:center;font-size:14px;letter-spacing:.07em}.betaBeacon{position:absolute;z-index:2;top:50%;width:15px;height:15px;margin-top:-7px;border-radius:50%;background:#ff6a00;border:2px solid #431407;box-shadow:0 0 4px 2px #ff6a00;animation:betaBeaconFlash 2.4s ease-in-out infinite}.betaBeacon.left{left:18px}.betaBeacon.right{right:18px;animation-delay:1.2s}.betaUpscaleNotice{margin:14px 0 18px;padding:16px 18px;border:1px solid #f59e0b;border-radius:12px;background:#2b210d;color:#fde68a;text-align:center}.betaUpscaleNotice p{margin:6px 0;line-height:1.45}.betaUpscaleNotice strong{color:#fff3c4}@keyframes betaBeaconFlash{0%,to{opacity:.45;transform:scale(.9);box-shadow:0 0 3px 1px #ff6a00}50%{opacity:.9;transform:scale(1.04);box-shadow:0 0 8px 3px #ff7a00}}@keyframes betaSignPulse{0%,to{filter:brightness(.96)}50%{filter:brightness(1.04)}}@media (prefers-reduced-motion:reduce){.betaConstructionSign,.betaBeacon{animation:none}.betaBeacon{opacity:1}}.upscaleSelectionActions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.upscaleSelectionActions button{border:1px solid #4c3b70;background:#211b30;color:#eee;border-radius:10px;padding:8px 12px;font-weight:700;cursor:pointer}.upscaleSelectionActions button:hover{background:#2d2144}.upscaleSelectionActions button:disabled{opacity:.45;cursor:not-allowed}.upscaleSelectionGrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;max-height:280px;overflow:auto;padding:4px;margin:0 0 14px}.upscaleSelectCard{position:relative;display:grid;grid-template-columns:24px 52px minmax(0,1fr);align-items:center;gap:8px;padding:8px;border:1px solid #363044;border-radius:12px;background:#17141f;cursor:pointer}.upscaleSelectCard.selected{border-color:#a855f7;box-shadow:0 0 0 2px #a855f72e}.upscaleSelectCard.current:after{content:"Current";position:absolute;right:6px;top:5px;font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#c4b5fd}.upscaleSelectCard input{width:18px;height:18px;accent-color:#9333ea}.upscaleSelectCard img{width:52px;height:52px;-o-object-fit:contain;object-fit:contain;border-radius:8px;background-image:linear-gradient(45deg,#2c2c31 25%,transparent 25%),linear-gradient(-45deg,#2c2c31 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#2c2c31 75%),linear-gradient(-45deg,transparent 75%,#2c2c31 75%);background-size:12px 12px;background-position:0 0,0 6px,6px -6px,-6px 0}.upscaleSelectCard span{min-width:0;display:flex;flex-direction:column}.upscaleSelectCard b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.upscaleSelectCard small{color:#aaa;font-size:10px;margin-top:3px}.upscaleSideWarning{display:flex;gap:10px;align-items:flex-start;margin:12px 0;padding:11px 12px;border:1px solid #8b5a17;border-radius:12px;background:linear-gradient(135deg,#f59e0b26,#581c871f);box-shadow:inset 4px 0 #f59e0b}.upscaleSideWarning>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:8px;background:#f59e0b;color:#17120a;font-weight:1000;font-size:18px}.upscaleSideWarning div{display:flex;flex-direction:column;gap:3px}.upscaleSideWarning b{font-size:12px;color:#fde68a}.upscaleSideWarning small{font-size:11px;line-height:1.4;color:#d7d0df}.upscalePreviewPick,.upscalePreviewName{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;color:inherit;padding:0;min-width:0;text-align:left;cursor:pointer}.upscalePreviewPick:disabled,.upscalePreviewName:disabled{cursor:not-allowed}.upscalePreviewPick img{display:block}.upscalePreviewPick:focus-visible,.upscalePreviewName:focus-visible{outline:2px solid #c084fc;outline-offset:3px;border-radius:8px}.upscalePreviewName{display:flex;flex-direction:column;width:100%}.upscalePreviewName b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.upscalePreviewName small{color:#aaa;font-size:10px;margin-top:3px}.upscaleSelectCard.current .upscalePreviewName small{color:#c4b5fd;font-weight:700}.enhanceStudioNoTexture{grid-template-columns:minmax(0,1fr) 290px!important;max-width:1510px;align-items:stretch}.upscaleRightSidebar{min-width:0;padding:20px 18px 176px 0;background:linear-gradient(180deg,#0d141ff5,#080f18fa);border-left:1px solid rgba(148,163,184,.14);display:flex;flex-direction:column;gap:12px}.upscaleRightSidebar .upscaleSideWarning{position:sticky;top:20px;margin:0}.upscaleRightSidebar .upscaleTimeWarning{position:sticky;top:142px;border-color:#6d28d9;background:linear-gradient(135deg,#6d28d92e,#f59e0b1a);box-shadow:inset 4px 0 #8b5cf6}.upscaleRightSidebar .upscaleTimeWarning>span{background:#8b5cf6;color:#fff}@media (max-width:1050px){.enhanceStudioNoTexture{grid-template-columns:minmax(0,1fr)!important}.upscaleRightSidebar{padding:0 24px 150px;border-left:0;background:transparent}.upscaleRightSidebar .upscaleSideWarning,.upscaleRightSidebar .upscaleTimeWarning{position:static}}.enhanceStudioNoTexture .baCompare{flex:0 0 clamp(480px,62vh,720px);min-height:clamp(480px,62vh,720px)}@media (max-width:1050px){.enhanceStudioNoTexture .baCompare{flex-basis:clamp(420px,56vh,620px);min-height:clamp(420px,56vh,620px)}}@media (max-width:700px){.enhanceStudioNoTexture .baCompare{flex-basis:clamp(340px,48vh,500px);min-height:clamp(340px,48vh,500px)}}.enhanceStudioNoTexture{grid-template-columns:minmax(0,1fr) 300px!important;gap:18px;width:min(1600px,100%);max-width:none;margin:0 auto;padding:18px 20px 150px;align-items:start}.enhanceStudioNoTexture .enhanceCenter{padding:0;overflow:visible;min-width:0}.enhanceStudioNoTexture .enhanceCompareCard{min-height:clamp(500px,62vh,760px);height:clamp(500px,62vh,760px);border:1px solid #263545;border-radius:14px;overflow:hidden;background:#08111a}.enhanceStudioNoTexture .enhancePreviewHead{padding:12px 14px 0;margin:0 0 10px}.enhanceStudioNoTexture .baCompare{min-height:0!important;height:auto!important;flex:1 1 auto!important;border-radius:0;border-left:0;border-right:0}.enhanceStudioNoTexture .baTools{margin:8px 12px 12px}.enhanceStudioNoTexture .enhanceControlsCard{margin-top:14px!important;margin-bottom:0!important;min-height:0;padding:22px 18px 18px;border:1px solid #263545;border-radius:14px}.upscaleSelectionGrid{width:100%;display:flex!important;gap:10px;overflow-x:auto;overflow-y:hidden;padding:4px 2px 12px;scroll-snap-type:x proximity}.upscaleSelectCard{flex:0 0 145px;min-width:145px;scroll-snap-align:start;display:grid;grid-template-columns:24px 1fr;grid-template-rows:88px auto;gap:6px;padding:8px;border-radius:12px}.upscaleSelectCard>input{grid-column:1;grid-row:1;align-self:start;justify-self:start;z-index:3;width:18px;height:18px}.upscalePreviewPick{grid-column:1/3;grid-row:1;width:100%;height:88px;display:grid;place-items:center;border-radius:8px!important;overflow:hidden;background:#101923!important}.upscalePreviewPick img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.upscalePreviewName{grid-column:1/3;grid-row:2;align-items:center;text-align:center!important}.upscaleSelectCard.current:after{content:"CURRENT";position:absolute;right:7px;top:7px;padding:2px 6px;border-radius:999px;background:#7c3aed;color:#fff;font-size:8px;font-weight:900;letter-spacing:.04em}.upscaleSelectionActions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.upscaleSelectionActions button{min-height:36px;padding:8px 14px;border-radius:9px}.megaUpscaleButton{min-height:72px;border-radius:16px;font-size:22px;margin-top:4px}.upscaleRightSidebar{position:sticky;top:18px;align-self:start;display:flex;flex-direction:column;gap:16px;padding:0!important;max-height:calc(100vh - 130px);overflow:auto}.upscaleRightSidebar .upscaleSideWarning{margin:0;padding:18px;border-radius:14px;background:#0d1722;box-shadow:none}.upscaleRightSidebar .upscaleSideWarning>span{width:38px;height:38px;flex-basis:38px;font-size:22px}.upscaleRightSidebar .upscaleSideWarning b{font-size:15px;line-height:1.3}.upscaleRightSidebar .upscaleSideWarning small{font-size:13px;line-height:1.65;color:#d6deea}.upscaleRightSidebar .upscaleTimeWarning{border-color:#c77a08;box-shadow:inset 4px 0 #f59e0b}@media (max-width:1150px){.enhanceStudioNoTexture{grid-template-columns:minmax(0,1fr)!important;padding-inline:14px}.upscaleRightSidebar{position:static;max-height:none;display:grid;grid-template-columns:1fr 1fr}.enhanceStudioNoTexture .enhanceCompareCard{height:clamp(440px,58vh,650px);min-height:clamp(440px,58vh,650px)}}@media (max-width:720px){.upscaleRightSidebar{grid-template-columns:1fr}.enhanceStudioNoTexture .enhanceCompareCard{height:420px;min-height:420px}.upscaleSelectCard{flex-basis:126px;min-width:126px}.megaUpscaleButton{font-size:18px;min-height:62px}}.enhanceStudioNoTexture .enhancePreview.checker{background-color:#fff!important;background-image:linear-gradient(45deg,#dedede 25%,transparent 25%),linear-gradient(-45deg,#dedede 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dedede 75%),linear-gradient(-45deg,transparent 75%,#dedede 75%)!important;background-size:22px 22px!important;background-position:0 0,0 11px,11px -11px,-11px 0!important}.enhanceStudioNoTexture .baViewport,.enhanceStudioNoTexture .baScene,.enhanceStudioNoTexture .baAfterClip{background:transparent!important}.enhanceStudioNoTexture .enhanceControlsCard.upscaleOnlyCard{display:flex!important;visibility:visible!important;opacity:1!important;overflow:visible!important;align-items:stretch!important;justify-content:flex-start!important;min-height:330px!important;padding:20px!important}.enhanceStudioNoTexture .enhanceControlsCard.upscaleOnlyCard h2,.enhanceStudioNoTexture .enhanceControlsCard.upscaleOnlyCard>p{text-align:center}.upscaleSelectionGrid{display:flex!important;visibility:visible!important;opacity:1!important;min-height:142px;max-height:none!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;padding:6px 4px 14px!important;margin:0 0 12px!important}.upscaleSelectCard{position:relative!important;flex:0 0 158px!important;min-width:158px!important;min-height:132px!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:88px auto!important;padding:8px!important;overflow:visible!important;background:#111b27!important;border:1px solid #344457!important}.upscaleSelectCard.selected{border-color:#a855f7!important;box-shadow:0 0 0 2px #a855f747!important}.upscaleSelectCard.current{border-color:#c084fc!important}.upscaleSelectCard>input{-moz-appearance:none;appearance:none;-webkit-appearance:none;position:absolute!important;z-index:8!important;top:9px!important;left:9px!important;width:22px!important;height:22px!important;margin:0!important;border:2px solid #e5e7eb!important;border-radius:5px!important;background:#0b1320!important;cursor:pointer}.upscaleSelectCard>input:checked{border-color:#c084fc!important;background:#7c3aed!important}.upscaleSelectCard>input:checked:after{content:"✓";display:grid;place-items:center;width:100%;height:100%;color:#fff;font-size:15px;font-weight:1000;line-height:1}.upscalePreviewPick{width:100%!important;height:88px!important;display:grid!important;place-items:center!important;overflow:hidden!important;border:1px solid #39495c!important;border-radius:8px!important;background-color:#fff!important;background-image:linear-gradient(45deg,#dedede 25%,transparent 25%),linear-gradient(-45deg,#dedede 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dedede 75%),linear-gradient(-45deg,transparent 75%,#dedede 75%)!important;background-size:12px 12px!important;background-position:0 0,0 6px,6px -6px,-6px 0!important}.upscalePreviewPick img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;-o-object-fit:contain!important;object-fit:contain!important;opacity:1!important;visibility:visible!important;background:transparent!important}.upscalePreviewName{display:flex!important;min-width:0!important;padding-top:5px!important;color:#f8fafc!important}.upscalePreviewName b{max-width:100%!important}.upscaleSelectCard.current:after{z-index:9!important;top:8px!important;right:8px!important}@media (max-width:720px){.upscaleSelectCard{flex-basis:138px!important;min-width:138px!important}}.workflowStage:has(.enhanceStudioNoTexture){overflow:visible!important}.workflowStage:has(.enhanceStudioNoTexture)>.enhanceStudio,.enhanceStudioNoTexture{overflow:visible!important;height:auto!important;max-height:none!important}.enhanceStudioNoTexture .enhanceCenter{overflow:visible!important;height:auto!important;max-height:none!important;padding-bottom:18px!important}.enhanceStudioNoTexture .enhanceCompareCard{flex:0 0 auto!important;height:clamp(390px,52vh,620px)!important;min-height:390px!important}.enhanceStudioNoTexture .enhanceControlsCard.upscaleOnlyCard{flex:0 0 auto!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;gap:12px!important}.enhanceStudioNoTexture .upscaleSelectionGrid{flex:0 0 auto!important;min-height:154px!important;height:154px!important;max-height:154px!important;display:flex!important;align-items:stretch!important;visibility:visible!important;opacity:1!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-gutter:stable!important}.enhanceStudioNoTexture .upscaleSelectCard{flex:0 0 150px!important;min-width:150px!important;height:136px!important;min-height:136px!important;visibility:visible!important;opacity:1!important}.enhanceStudioNoTexture .upscalePreviewPick,.enhanceStudioNoTexture .upscalePreviewPick img,.enhanceStudioNoTexture .upscalePreviewName,.enhanceStudioNoTexture .upscaleSelectCard>input{visibility:visible!important;opacity:1!important}.upscaleSelectedCount{width:100%;padding:2px 4px 0;color:#cbd5e1;font-size:13px;font-weight:750;text-align:left}.upscaleSelectedCount b{color:#f3e8ff}.enhanceStudioNoTexture .megaUpscaleButton,.enhanceStudioNoTexture .upscaleOnlyNote{flex:0 0 auto!important}@media (max-width:720px){.enhanceStudioNoTexture .enhanceCompareCard{height:360px!important;min-height:360px!important}.enhanceStudioNoTexture .upscaleSelectionGrid{height:148px!important;min-height:148px!important;max-height:148px!important}.enhanceStudioNoTexture .upscaleSelectCard{flex-basis:136px!important;min-width:136px!important}}.workflowStage.upscaleWorkflowStage{display:flex!important;flex-direction:column!important;min-height:calc(100vh - 92px)!important;height:auto!important;overflow:visible!important;padding-bottom:0!important}.workflowStage.upscaleWorkflowStage>.enhanceStudioNoTexture{flex:0 0 auto!important;width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;padding-bottom:22px!important}.workflowStage.upscaleWorkflowStage .enhanceCenter{min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;padding-bottom:18px!important}.workflowStage.upscaleWorkflowStage .enhanceControlsCard.upscaleOnlyCard{margin-bottom:0!important;padding-bottom:24px!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionGrid{flex:0 0 170px!important;min-height:170px!important;height:170px!important;max-height:170px!important;overflow-x:auto!important;overflow-y:hidden!important;padding-bottom:16px!important}.bottomWorkflowNav.upscaleBottomWorkflowNav{position:relative!important;inset:auto!important;flex:0 0 auto!important;width:auto!important;min-height:58px!important;margin:0 22px 18px!important;z-index:40!important;transform:none!important}@media (max-width:900px){.bottomWorkflowNav.upscaleBottomWorkflowNav{margin:0 10px 10px!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionGrid{flex-basis:158px!important;min-height:158px!important;height:158px!important;max-height:158px!important}}.workflowStage.upscaleWorkflowStage .enhanceControlsCard.upscaleOnlyCard{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;width:100%!important;padding:20px!important}.workflowStage.upscaleWorkflowStage .enhanceControlsCard.upscaleOnlyCard h2{margin:0!important;text-align:center!important}.workflowStage.upscaleWorkflowStage .enhanceControlsCard.upscaleOnlyCard>p{margin:0 auto 2px!important;text-align:center!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionActions{margin:4px 0 2px!important;justify-content:center!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionGrid{display:flex!important;flex-flow:row nowrap!important;align-items:stretch!important;justify-content:flex-start!important;gap:12px!important;width:100%!important;min-width:0!important;height:176px!important;min-height:176px!important;max-height:176px!important;margin:0!important;padding:8px 6px 14px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#7c3aed #111827}.workflowStage.upscaleWorkflowStage .upscaleSelectionGrid::-webkit-scrollbar{height:10px}.workflowStage.upscaleWorkflowStage .upscaleSelectionGrid::-webkit-scrollbar-track{background:#111827;border-radius:999px}.workflowStage.upscaleWorkflowStage .upscaleSelectionGrid::-webkit-scrollbar-thumb{background:#7c3aed;border-radius:999px}.workflowStage.upscaleWorkflowStage .upscaleSelectCard{position:relative!important;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:104px auto!important;flex:0 0 142px!important;width:142px!important;min-width:142px!important;height:148px!important;min-height:148px!important;padding:8px!important;gap:6px!important;overflow:hidden!important;scroll-snap-align:start;border-radius:12px!important}.workflowStage.upscaleWorkflowStage .upscalePreviewPick{grid-column:1!important;grid-row:1!important;display:block!important;width:100%!important;height:104px!important;border-radius:9px!important;overflow:hidden!important}.workflowStage.upscaleWorkflowStage .upscalePreviewPick img{width:100%!important;height:104px!important;-o-object-fit:contain!important;object-fit:contain!important;border-radius:9px!important}.workflowStage.upscaleWorkflowStage .upscalePreviewName{grid-column:1!important;grid-row:2!important;display:flex!important;min-width:0!important;text-align:center!important;align-items:center!important}.workflowStage.upscaleWorkflowStage .upscalePreviewName b{width:100%!important;font-size:11px!important;text-align:center!important}.workflowStage.upscaleWorkflowStage .upscalePreviewName small{width:100%!important;text-align:center!important;font-size:9px!important}.workflowStage.upscaleWorkflowStage .upscaleSelectCard>input{position:absolute!important;top:8px!important;left:8px!important;z-index:6!important;width:22px!important;height:22px!important;margin:0!important}.workflowStage.upscaleWorkflowStage .upscaleSelectCard.current:after{top:8px!important;right:8px!important;z-index:6!important}.workflowStage.upscaleWorkflowStage .upscaleSelectedCount{order:5!important;margin:0!important;padding:0 2px!important}.workflowStage.upscaleWorkflowStage .megaUpscaleButton{order:6!important;width:min(760px,100%)!important;margin:0 auto!important}.workflowStage.upscaleWorkflowStage .upscaleOnlyNote{order:7!important;text-align:center!important}@media (max-width:720px){.workflowStage.upscaleWorkflowStage .enhanceControlsCard.upscaleOnlyCard{padding:14px!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionGrid{height:162px!important;min-height:162px!important;max-height:162px!important}.workflowStage.upscaleWorkflowStage .upscaleSelectCard{flex-basis:126px!important;width:126px!important;min-width:126px!important;height:136px!important;min-height:136px!important;grid-template-rows:92px auto!important}.workflowStage.upscaleWorkflowStage .upscalePreviewPick,.workflowStage.upscaleWorkflowStage .upscalePreviewPick img{height:92px!important}}.workflowStage.upscaleWorkflowStage .enhanceControlsCard.upscaleOnlyCard{gap:14px!important;padding:18px 20px 22px!important}.workflowStage.upscaleWorkflowStage .upscaleQueueHeader{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;width:100%!important;padding-bottom:12px!important;border-bottom:1px solid #263449!important}.workflowStage.upscaleWorkflowStage .upscaleQueueHeading{min-width:0!important;flex:1 1 auto!important}.workflowStage.upscaleWorkflowStage .upscaleQueueHeading h2{margin:0 0 5px!important;text-align:left!important;font-size:25px!important}.workflowStage.upscaleWorkflowStage .upscaleQueueHeading p{margin:0!important;max-width:720px!important;text-align:left!important;color:#c4b5fd!important;line-height:1.45!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionActions{flex:0 0 auto!important;justify-content:flex-end!important;align-items:center!important;margin:0!important;padding-top:2px!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionGrid{height:184px!important;min-height:184px!important;max-height:184px!important;padding:8px 2px 16px!important;gap:14px!important;border-bottom:1px solid #263449!important}.workflowStage.upscaleWorkflowStage .upscaleSelectCard{flex-basis:146px!important;width:146px!important;min-width:146px!important;height:154px!important;min-height:154px!important}.workflowStage.upscaleWorkflowStage .upscalePreviewPick,.workflowStage.upscaleWorkflowStage .upscalePreviewPick img{height:108px!important}.workflowStage.upscaleWorkflowStage .upscaleSelectedCount{align-self:flex-start!important;margin:0!important;padding:0 2px!important;font-size:14px!important}.workflowStage.upscaleWorkflowStage .megaUpscaleButton{width:min(760px,100%)!important;align-self:center!important;margin:2px auto 0!important}.workflowStage.upscaleWorkflowStage .upscaleOnlyNote{text-align:center!important}@media (max-width:1050px){.workflowStage.upscaleWorkflowStage .upscaleQueueHeader{flex-direction:column!important;align-items:stretch!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionActions{justify-content:flex-start!important}}@media (max-width:700px){.workflowStage.upscaleWorkflowStage .upscaleQueueHeading h2{font-size:21px!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionGrid{height:168px!important;min-height:168px!important;max-height:168px!important}.workflowStage.upscaleWorkflowStage .upscaleSelectCard{flex-basis:132px!important;width:132px!important;min-width:132px!important;height:140px!important;min-height:140px!important}.workflowStage.upscaleWorkflowStage .upscalePreviewPick,.workflowStage.upscaleWorkflowStage .upscalePreviewPick img{height:94px!important}}.workflowStage.upscaleWorkflowStage .enhanceControlsCard.upscaleOnlyCard{display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;gap:12px!important;padding:16px 18px 20px!important;overflow:hidden!important}.workflowStage.upscaleWorkflowStage .upscaleAssetHeader{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;width:100%!important;min-width:0!important;padding:0 0 12px!important;border-bottom:1px solid #263449!important}.workflowStage.upscaleWorkflowStage .upscaleAssetIntro{flex:1 1 auto!important;min-width:0!important}.workflowStage.upscaleWorkflowStage .upscaleAssetIntro h2{margin:0 0 4px!important;font-size:24px!important;line-height:1.15!important;text-align:left!important}.workflowStage.upscaleWorkflowStage .upscaleAssetIntro p{margin:0!important;max-width:680px!important;color:#c4b5fd!important;text-align:left!important;line-height:1.4!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionActions{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;margin:0!important;padding:0!important}.workflowStage.upscaleWorkflowStage .upscaleAssetScroller{display:flex!important;flex-flow:row nowrap!important;align-items:stretch!important;gap:10px!important;width:100%!important;min-width:0!important;min-height:136px!important;padding:4px 2px 12px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-gutter:stable!important;overscroll-behavior-x:contain!important;border-bottom:1px solid #263449!important}.workflowStage.upscaleWorkflowStage .upscaleAssetScroller::-webkit-scrollbar{height:10px!important}.workflowStage.upscaleWorkflowStage .upscaleAssetScroller::-webkit-scrollbar-thumb{background:#51337b!important;border-radius:999px!important}.workflowStage.upscaleWorkflowStage .upscaleAssetScroller::-webkit-scrollbar-track{background:#111b2a!important;border-radius:999px!important}.workflowStage.upscaleWorkflowStage .upscaleAssetCard{position:relative!important;display:grid!important;grid-template-rows:92px 36px!important;flex:0 0 112px!important;width:112px!important;min-width:112px!important;height:132px!important;min-height:132px!important;padding:5px!important;margin:0!important;overflow:hidden!important;border:1px solid #314157!important;border-radius:11px!important;background:#111b29!important;cursor:pointer!important;box-sizing:border-box!important}.workflowStage.upscaleWorkflowStage .upscaleAssetCard.selected{border-color:#8b5cf6!important;box-shadow:0 0 0 1px #8b5cf68c!important}.workflowStage.upscaleWorkflowStage .upscaleAssetCard.current{border-color:#b96cff!important;box-shadow:0 0 0 2px #b96cff47!important}.workflowStage.upscaleWorkflowStage .upscaleAssetCheck{position:absolute!important;z-index:4!important;top:7px!important;left:7px!important;width:20px!important;height:20px!important;margin:0!important;accent-color:#8b5cf6!important;cursor:pointer!important}.workflowStage.upscaleWorkflowStage .upscaleAssetCurrent{position:absolute!important;z-index:4!important;top:6px!important;right:6px!important;padding:2px 5px!important;border-radius:999px!important;background:#7c3aed!important;color:#fff!important;font-size:8px!important;font-weight:800!important;line-height:1.1!important}.workflowStage.upscaleWorkflowStage .upscaleAssetPreview{display:block!important;width:100%!important;height:92px!important;padding:0!important;margin:0!important;overflow:hidden!important;border:0!important;border-radius:7px!important;background:linear-gradient(45deg,#f5f5f5 25%,#fff 25%,#fff 75%,#f5f5f5 75%),linear-gradient(45deg,#f5f5f5 25%,#fff 25%,#fff 75%,#f5f5f5 75%)!important;background-size:16px 16px!important;background-position:0 0,8px 8px!important}.workflowStage.upscaleWorkflowStage .upscaleAssetPreview img{display:block!important;width:100%!important;height:100%!important;-o-object-fit:contain!important;object-fit:contain!important}.workflowStage.upscaleWorkflowStage .upscaleAssetName{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:1px!important;width:100%!important;min-width:0!important;height:36px!important;padding:3px 2px 0!important;border:0!important;background:transparent!important;color:#f8fafc!important;text-align:center!important}.workflowStage.upscaleWorkflowStage .upscaleAssetName b{display:block!important;width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10px!important}.workflowStage.upscaleWorkflowStage .upscaleAssetName small{display:block!important;width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#94a3b8!important;font-size:8px!important}.workflowStage.upscaleWorkflowStage .upscaleAssetCard.current .upscaleAssetName small{color:#c084fc!important}.workflowStage.upscaleWorkflowStage .upscaleAssetFooter{display:flex!important;flex-direction:column!important;gap:9px!important;width:100%!important;min-width:0!important}.workflowStage.upscaleWorkflowStage .upscaleAssetFooter .upscaleSelectedCount{margin:0!important;padding:0 2px!important;align-self:flex-start!important}.workflowStage.upscaleWorkflowStage .upscaleAssetFooter .megaUpscaleButton{width:min(760px,100%)!important;margin:0 auto!important}.workflowStage.upscaleWorkflowStage .upscaleAssetFooter .upscaleOnlyNote{margin:0!important;text-align:center!important}@media (max-width:1050px){.workflowStage.upscaleWorkflowStage .upscaleAssetHeader{flex-direction:column!important;align-items:stretch!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionActions{justify-content:flex-start!important;flex-wrap:wrap!important}}@media (max-width:700px){.workflowStage.upscaleWorkflowStage .upscaleAssetIntro h2{font-size:20px!important}.workflowStage.upscaleWorkflowStage .upscaleAssetCard{flex-basis:104px!important;width:104px!important;min-width:104px!important}}.workflowStage.upscaleWorkflowStage .upscaleOnlyCard,.enhanceStudio .upscaleOnlyCard{display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;gap:12px!important;padding:16px 18px 20px!important;overflow:hidden!important}.workflowStage.upscaleWorkflowStage .upscaleAssetHeader,.enhanceStudio .upscaleAssetHeader{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:16px!important;width:100%!important;min-width:0!important;padding-bottom:12px!important;border-bottom:1px solid #263449!important}.workflowStage.upscaleWorkflowStage .upscaleAssetIntro,.enhanceStudio .upscaleAssetIntro{min-width:0!important}.workflowStage.upscaleWorkflowStage .upscaleAssetIntro h2,.enhanceStudio .upscaleAssetIntro h2{margin:0 0 4px!important;text-align:left!important;font-size:24px!important;line-height:1.15!important}.workflowStage.upscaleWorkflowStage .upscaleAssetIntro p,.enhanceStudio .upscaleAssetIntro p{margin:0!important;text-align:left!important;max-width:680px!important;color:#c4b5fd!important;line-height:1.4!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionActions,.enhanceStudio .upscaleSelectionActions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;min-width:0!important;margin:0!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionActions button,.enhanceStudio .upscaleSelectionActions button{white-space:nowrap!important;min-width:0!important;padding:9px 13px!important}.workflowStage.upscaleWorkflowStage .upscaleAssetScroller,.enhanceStudio .upscaleAssetScroller{display:flex!important;flex-flow:row nowrap!important;align-items:stretch!important;gap:10px!important;width:100%!important;min-width:0!important;min-height:138px!important;max-height:138px!important;padding:8px 2px 12px!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;scrollbar-gutter:stable!important;border-bottom:1px solid #263449!important}.workflowStage.upscaleWorkflowStage .upscaleAssetScroller::-webkit-scrollbar,.enhanceStudio .upscaleAssetScroller::-webkit-scrollbar{height:9px!important}.workflowStage.upscaleWorkflowStage .upscaleAssetCard,.enhanceStudio .upscaleAssetCard{position:relative!important;display:grid!important;grid-template-rows:88px 34px!important;flex:0 0 108px!important;width:108px!important;min-width:108px!important;height:124px!important;min-height:124px!important;padding:5px!important;margin:0!important;border:1px solid #334155!important;border-radius:10px!important;background:#111c2a!important;overflow:hidden!important;cursor:default!important}.workflowStage.upscaleWorkflowStage .upscaleAssetCard.selected,.enhanceStudio .upscaleAssetCard.selected{border-color:#8b5cf6!important;box-shadow:0 0 0 1px #8b5cf6 inset!important}.workflowStage.upscaleWorkflowStage .upscaleAssetCard.current,.enhanceStudio .upscaleAssetCard.current{border-color:#a855f7!important}.workflowStage.upscaleWorkflowStage .upscaleAssetPreview,.enhanceStudio .upscaleAssetPreview{display:block!important;width:100%!important;height:88px!important;min-height:88px!important;padding:0!important;border:0!important;border-radius:7px!important;overflow:hidden!important;background:#fff!important}.workflowStage.upscaleWorkflowStage .upscaleAssetPreview img,.enhanceStudio .upscaleAssetPreview img{display:block!important;width:100%!important;height:100%!important;-o-object-fit:contain!important;object-fit:contain!important;background-color:#fff!important;background-image:linear-gradient(45deg,#eceff3 25%,transparent 25%),linear-gradient(-45deg,#eceff3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eceff3 75%),linear-gradient(-45deg,transparent 75%,#eceff3 75%)!important;background-size:14px 14px!important;background-position:0 0,0 7px,7px -7px,-7px 0!important}.workflowStage.upscaleWorkflowStage .upscaleAssetCheck,.enhanceStudio .upscaleAssetCheck{position:absolute!important;top:8px!important;left:8px!important;z-index:4!important;width:19px!important;height:19px!important;margin:0!important;accent-color:#8b5cf6!important}.workflowStage.upscaleWorkflowStage .upscaleAssetCurrent,.enhanceStudio .upscaleAssetCurrent{position:absolute!important;top:7px!important;right:7px!important;z-index:3!important;padding:2px 5px!important;border-radius:999px!important;font-size:8px!important;line-height:1.1!important;background:#7c3aed!important;color:#fff!important}.workflowStage.upscaleWorkflowStage .upscaleAssetName,.enhanceStudio .upscaleAssetName{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;min-width:0!important;width:100%!important;padding:3px 1px 0!important;border:0!important;background:transparent!important;color:#e5e7eb!important;text-align:center!important}.workflowStage.upscaleWorkflowStage .upscaleAssetName b,.enhanceStudio .upscaleAssetName b{display:block!important;width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11px!important}.workflowStage.upscaleWorkflowStage .upscaleAssetName small,.enhanceStudio .upscaleAssetName small{display:block!important;width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9px!important;color:#94a3b8!important}.workflowStage.upscaleWorkflowStage .upscaleAssetFooter,.enhanceStudio .upscaleAssetFooter{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important;min-width:0!important}.workflowStage.upscaleWorkflowStage .upscaleSelectedCount,.enhanceStudio .upscaleSelectedCount{justify-self:start!important;margin:0!important;padding:0!important;font-size:14px!important}.workflowStage.upscaleWorkflowStage .megaUpscaleButton,.enhanceStudio .megaUpscaleButton{justify-self:center!important;width:min(720px,100%)!important;margin:0!important}.workflowStage.upscaleWorkflowStage .upscaleOnlyNote,.enhanceStudio .upscaleOnlyNote{text-align:center!important}@media (max-width:1100px){.workflowStage.upscaleWorkflowStage .upscaleAssetHeader,.enhanceStudio .upscaleAssetHeader{grid-template-columns:1fr!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionActions,.enhanceStudio .upscaleSelectionActions{justify-content:flex-start!important}}@media (max-width:650px){.workflowStage.upscaleWorkflowStage .upscaleAssetIntro h2,.enhanceStudio .upscaleAssetIntro h2{font-size:20px!important}.workflowStage.upscaleWorkflowStage .upscaleSelectionActions button,.enhanceStudio .upscaleSelectionActions button{flex:1 1 auto!important}}nn @keyframes upscaleSoftPulse{0%,100%{box-shadow:0 16px 34px #7c3aed3d,0 0 #a855f700;transform:translateZ(0)}50%{box-shadow:0 18px 40px #7c3aed57,0 0 0 6px #a855f714;transform:translateZ(0)}}.megaUpscaleButton:not(:disabled){animation:upscaleSoftPulse 2.8s ease-in-out infinite}.megaUpscaleButton:disabled{animation:none!important}@media (prefers-reduced-motion:reduce){.megaUpscaleButton{animation:none!important}}.workflowStage.upscaleWorkflowStage .upscaleAssetFooter .megaUpscaleButton,.workflowStage.upscaleWorkflowStage .megaUpscaleButton,.enhanceStudio .megaUpscaleButton{margin-top:-18px!important}@keyframes upscaleSoftPulse{0%,to{box-shadow:0 14px 30px #7c3aed33,0 0 #a855f700}50%{box-shadow:0 16px 34px #7c3aed45,0 0 0 3px #a855f70b}}.megaUpscaleButton:not(:disabled){animation:upscaleSoftPulse 5s ease-in-out infinite!important}.wandExtras{display:flex;flex-direction:column;gap:10px;margin-top:10px;padding-top:10px;border-top:1px solid #3b3150}.wandExtras .toggle{margin:0}.canvasLayerStack{position:relative;display:inline-block;line-height:0}.canvasLayerStack>canvas:first-child{position:relative;display:block}.wandPreviewOverlay{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;mix-blend-mode:normal}.wandSampleBox{position:absolute;border:2px dashed #c4b5fd;background:#7c3aed29;box-shadow:0 0 0 1px #000000a6;pointer-events:none}.betaCard{background:#0b0a10!important;border:1px solid #33263f!important;color:#f5f1f8!important;box-shadow:0 24px 70px #000000b8!important}.betaBrand{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:4px 2px 14px;border-bottom:1px solid #2d2435}.betaBrand img{width:48px;height:48px;-o-object-fit:contain;object-fit:contain;filter:drop-shadow(0 0 10px rgba(168,85,247,.32))}.betaBrand>div:not(.betaBadge){min-width:0;flex:1}.betaBrand h2{margin:0!important;text-align:left!important;color:#fff;font-size:21px;line-height:1.15}.betaBrand p{margin:4px 0 0;color:#a99caf;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.betaBrand .betaBadge{flex:0 0 auto;margin:0;background:#6d28d9;border:1px solid #8b5cf6;box-shadow:0 0 16px #7c3aed47}.betaFeatureGrid span{border-color:#30263a;background:#15111b;color:#eee8f2}.betaFeatureGrid svg{color:#b794f6}.betaUpscaleNotice{border-color:#5b4630;background:#17120c;color:#e9d7a6}.betaUpscaleNotice strong{color:#fff0bf}.betaCard .dontShow{color:#b8acbe}.betaCard .exportDone{background:#6d28d9;color:#fff;border-color:#8b5cf6}.betaCard .exportDone:hover{background:#7c3aed}@media (max-width:560px){.betaBrand img{width:42px;height:42px}.betaBrand h2{font-size:19px}.betaBrand{align-items:center}}.workspace.mode-dual.wand-right{grid-template-columns:360px minmax(0,1fr) 340px!important}.workspace.mode-dual.wand-right>.wandExtrasSidebar{min-width:0;height:100%;overflow:auto;border:1px solid #302842;border-radius:9px;background:#12101c;padding:8px}.wandExtrasPanel{height:-moz-max-content;height:max-content;padding:10px}.wandExtrasHeader{display:flex;align-items:center;gap:10px;padding:6px 4px 12px;border-bottom:1px solid #392e46;color:#eadcff}.wandExtrasHeader>svg{width:24px;height:24px;color:#b875f0;flex:0 0 auto}.wandExtrasHeader span{display:grid;gap:3px}.wandExtrasHeader b{font-size:14px}.wandExtrasHeader small{color:#a99db8;line-height:1.35}.wandExtrasSidebar .sidebarToolSettings{margin-top:10px;border:0;background:transparent;padding:0}.wandExtrasSidebar .wandExtras{padding-top:0}@media (max-width:1250px){.workspace.mode-dual.wand-right{grid-template-columns:320px minmax(0,1fr) 310px!important}}@media (max-width:980px){.workspace.mode-dual.wand-right{grid-template-columns:1fr!important}.workspace.mode-dual.wand-right>.wandExtrasSidebar{height:auto;max-height:none}}.wandTipLabel{position:relative;display:inline-flex;align-items:center;gap:6px;min-width:0}.wandTipButton{display:inline-grid;place-items:center;width:17px;height:17px;padding:0;border:1px solid #d7d1df;border-radius:50%;background:#fff;color:#3b2f49;font-size:11px;font-weight:800;line-height:1;cursor:help;box-shadow:0 1px 3px #00000040}.wandTipButton:hover,.wandTipButton:focus-visible{background:#f7f2ff;border-color:#9d6bd0;color:#6d28d9}.wandTipPopup{position:absolute;z-index:80;left:0;top:calc(100% + 9px);width:min(260px,calc(100vw - 48px));padding:10px 12px;border:1px solid #ddd5e6;border-radius:9px;background:#fff;color:#251c2d;font-size:12px;font-weight:500;line-height:1.45;box-shadow:0 10px 30px #00000047;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .14s ease,transform .14s ease,visibility .14s;pointer-events:none}.wandTipPopup:before{content:"";position:absolute;left:52px;top:-6px;width:10px;height:10px;background:#fff;border-left:1px solid #ddd5e6;border-top:1px solid #ddd5e6;transform:rotate(45deg)}.wandTipLabel:hover .wandTipPopup,.wandTipLabel:focus-within .wandTipPopup{opacity:1;visibility:visible;transform:translateY(0)}.wandExtrasSidebar .field>span,.wandExtrasSidebar .toggle>span{overflow:visible}@media (max-width:980px){.wandTipPopup{left:auto;right:0}.wandTipPopup:before{left:auto;right:30px}}.exportWorkspace{padding-bottom:122px}.exportPreviewPanel{min-height:0}.exportPreviewStage{min-height:300px;max-height:calc(100vh - 300px);box-sizing:border-box;padding:18px}.exportPreviewScene{width:100%;height:100%;display:flex;align-items:center;justify-content:center;transform:none!important}.exportPreviewStage img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;-o-object-fit:contain!important;object-fit:contain!important;margin:auto!important}@media (max-height:760px){.exportPreviewStage{min-height:250px;max-height:calc(100vh - 270px);padding:12px}.exportWorkspace{padding-bottom:112px}}.upscaleQualityModes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 4px}.upscaleQualityModes button{min-height:66px;border:1px solid rgba(148,163,184,.28);border-radius:12px;background:#101827;color:#e5e7eb;cursor:pointer;padding:10px 14px;transition:border-color .15s ease,background .15s ease,transform .15s ease}.upscaleQualityModes button:hover:not(:disabled){border-color:#a855f7bf;transform:translateY(-1px)}.upscaleQualityModes button.active{border-color:#a855f7;background:#7e22ce4d;box-shadow:inset 0 0 0 1px #a855f740}.upscaleQualityModes button:disabled{opacity:.55;cursor:not-allowed}.upscaleQualityModes span{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 8px;text-align:left}.upscaleQualityModes b{font-size:15px;color:#fff}.upscaleQualityModes small{grid-column:1/-1;color:#aeb8c8;font-size:11px}.upscaleQualityModes em{font-style:normal;font-size:9px;line-height:1;letter-spacing:.08em;padding:4px 6px;border-radius:999px;background:#7c3aed;color:#fff}.upscaleActionDock{display:flex;flex-direction:column;align-items:center;gap:8px;margin:2px auto 12px;transform:translateY(-12px)}.upscaleActionDock .upscaleQualityModes{display:flex!important;justify-content:center!important;gap:10px!important;width:auto!important;margin:0!important}.upscaleActionDock .upscaleQualityModes button{width:205px!important;min-height:48px!important;padding:7px 11px!important;border-radius:9px!important}.upscaleActionDock .upscaleQualityModes b{font-size:13px!important}.upscaleActionDock .upscaleQualityModes small{font-size:10px!important}.upscaleActionDock .upscaleQualityModes em{font-size:7px!important;padding:3px 5px!important}.compactUpscaleButton{width:402px!important;max-width:calc(100% - 28px)!important;min-height:44px!important;margin:0!important;justify-content:center!important;border-radius:9px!important;font-weight:800!important}.compactUpscaleFooter{display:flex!important;flex-direction:column!important;align-items:center!important;gap:1px!important;margin-top:-8px!important;margin-bottom:32px!important;padding-bottom:10px!important}@media (max-width:560px){.upscaleActionDock .upscaleQualityModes{width:100%!important}.upscaleActionDock .upscaleQualityModes button{width:50%!important}.compactUpscaleButton{width:100%!important}}.upscaleActionDock{gap:14px!important}.compactUpscaleButton{margin-top:2px!important}.upscaleModeTopGap{display:flex;justify-content:center;align-items:center;min-height:54px;padding:5px 0;margin:0}.upscaleModeTopGap .upscaleQualityModes{display:flex!important;justify-content:center!important;align-items:stretch!important;gap:10px!important;width:auto!important;margin:0!important}.upscaleModeTopGap .upscaleQualityModes button{width:205px!important;min-height:44px!important;padding:6px 10px!important;border-radius:9px!important}.upscaleActionDock{transform:none!important;gap:0!important;margin:10px auto 12px!important}.upscaleBetaToggle{position:relative;display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;text-align:inherit}.upscaleBetaArrow{position:absolute;right:7px;top:50%;display:grid;place-items:center;transform:translateY(-50%);width:24px;height:24px;border-radius:6px;background:#00000047;color:#fff;pointer-events:none}.upscaleBetaArrow svg{width:16px;height:16px}.upscaleBetaToggle:hover .upscaleBetaArrow{background:#0000006b}.upscaleBetaToggle:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:8px}.upscaleRightSidebar .upscaleBetaSidebarWarning{width:100%;margin:0;padding:0;position:sticky;top:18px}.upscaleRightSidebar .upscaleBetaSidebarWarning .upscaleBetaConstruction{min-height:44px;margin:0;padding:7px 42px 7px 34px;animation:none}.upscaleRightSidebar .upscaleBetaSidebarWarning .upscaleBetaConstruction .betaBeacon{animation:none;opacity:1;transform:none;box-shadow:0 0 5px 2px #ff6a00}.upscaleRightSidebar .upscaleBetaSidebarWarning .upscaleBetaConstruction b{font-size:10px;letter-spacing:.035em;white-space:nowrap}.upscaleRightSidebar .upscaleBetaSidebarWarning .betaBeacon.left{left:10px}.upscaleRightSidebar .upscaleBetaSidebarWarning .betaBeacon.right{right:10px}.upscaleRightSidebar .upscaleBetaSidebarWarning .upscaleBetaNotice{margin-top:8px;padding:12px 13px;text-align:left;font-size:12px;line-height:1.4;background:#241d0d;border-radius:8px}.upscaleRightSidebar .upscaleBetaSidebarWarning .upscaleBetaNotice p{margin:0 0 9px;line-height:1.42}.upscaleRightSidebar .upscaleBetaSidebarWarning .upscaleBetaNotice p:last-child{margin-bottom:0}@media (max-width:1150px){.upscaleRightSidebar .upscaleBetaSidebarWarning{position:static;max-width:760px;margin:0 auto}}.upscaleEntryBetaCard{width:min(570px,calc(100vw - 32px))}.upscaleEntryBetaCard>h2{margin:8px 0 10px;text-align:center}.upscaleEntryBetaCard .upscaleEntryBetaSign{margin:4px -4px 14px;animation:none!important}.upscaleEntryBetaCard .upscaleEntryBetaSign .betaBeacon{animation:none!important}.upscaleEntryBetaNotice{margin:10px 0 16px;text-align:left}.upscaleEntryBetaNotice p{margin:8px 0}.upscaleEntryBetaCard .upscaleBetaDontShow{margin:14px 0 12px;justify-content:center}.upscaleEntryBetaCard .upscaleEntryBetaNotice{color:#fff!important;font-size:16px;line-height:1.55}.upscaleEntryBetaCard .upscaleEntryBetaNotice p,.upscaleEntryBetaCard .upscaleEntryBetaNotice strong{color:#fff!important}.upscaleEngineTestPanel{margin:12px 0 4px;padding:12px;border:1px solid rgba(168,85,247,.32);border-radius:14px;background:#111827b8}.upscaleEngineTestHead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px;color:#fff}.upscaleEngineTestHead b{font-size:15px}.upscaleEngineTestHead small,.upscaleEngineDownloadNote{color:#c4b5fd;font-size:12px;line-height:1.4}.upscaleEngineChoices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.upscaleEngineChoices button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:58px;padding:9px 10px;border:1px solid rgba(148,163,184,.28);border-radius:10px;background:#0f172a;color:#fff;cursor:pointer;text-align:left;transition:border-color .15s ease,background .15s ease,transform .15s ease}.upscaleEngineChoices button:hover:not(:disabled){border-color:#a855f7d9;transform:translateY(-1px)}.upscaleEngineChoices button.active{border-color:#a855f7;background:#7e22ce57;box-shadow:inset 0 0 0 1px #a855f738}.upscaleEngineChoices button b{font-size:12.5px;line-height:1.15}.upscaleEngineChoices button small{font-size:10.5px;color:#cbd5e1}.upscaleEngineDownloadNote{display:block;margin-top:8px}@media (max-width:980px){.upscaleEngineChoices{grid-template-columns:repeat(2,minmax(0,1fr))}.upscaleEngineTestHead{align-items:flex-start;flex-direction:column;gap:2px}}.upscaleSidebarStart{width:100%;margin-top:12px;display:flex;flex-direction:column;gap:7px;align-items:stretch}.upscaleSidebarStart .megaUpscaleButton{width:100%!important;max-width:none!important;margin:0!important;min-height:52px!important}.upscaleSidebarStart>small{text-align:center;color:#d7d7df;font-size:11px}@media (max-width:1150px){.upscaleSidebarStart{max-width:760px;margin:12px auto 0}}
