:root{--purple:#e51b80;--teal:#ff7024;--ink:#242329;--muted:#7c7884;--line:#e9e6ed}*{box-sizing:border-box}body{margin:0;font-family:Inter,'Avenir Next',Arial,sans-serif;color:var(--ink);background:#f2f2f6}.toolTop{height:72px;display:flex;align-items:center;padding:0 22px;background:#fff;border-bottom:1px solid var(--line);gap:22px}.toolBrand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font-weight:800}.toolBrand b{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(135deg,var(--teal),var(--purple));color:#fff}.toolBrand small{display:block;font-size:7px;letter-spacing:1.2px;color:#99939e}.toolTitle{font-size:13px;color:#6f6a75;border-left:1px solid var(--line);padding-left:22px}.topActions{margin-left:auto;display:flex;gap:10px}button,.uploadBox{font:inherit;cursor:pointer}.ghost,.download,.homeLink,.mini,.mode,.resetAll{border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px 14px}.download{background:var(--purple);color:#fff;border-color:var(--purple);font-weight:700}.download:disabled,.ghost:disabled{opacity:.45;cursor:default}.toolWorkspace{height:calc(100vh - 72px);display:grid;grid-template-columns:340px 1fr}.toolSide{background:#fff;border-right:1px solid var(--line);padding:22px 20px;overflow:auto}.homeLink{display:inline-block;padding:7px 10px;text-decoration:none;color:#7443ac;font-size:11px}.toolSide h1{font-size:27px;line-height:1.1;letter-spacing:-1px;margin:18px 0 9px}.toolSide h1 em{font-style:normal;color:var(--purple)}.intro{font-size:12px;line-height:1.6;color:var(--muted)}.uploadBox{display:block;margin:17px 0;padding:13px;background:linear-gradient(120deg,#f3edfd,#edfcfd);color:var(--purple);border:1px dashed #b994e9;text-align:center;font-weight:700}.toolTabs{display:flex;gap:5px;overflow:auto;padding:5px 0 13px}.toolTabs button{border:0;background:#f1eff4;color:#77717f;border-radius:20px;padding:8px 11px;font-size:10px;white-space:nowrap}.toolTabs button.active{background:#27242b;color:#fff}.toolPanel{display:none;border-top:1px solid var(--line);padding-top:17px}.toolPanel.active{display:block}.panelHeading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.panelHeading b{font-size:13px}.mini{padding:6px 9px;font-size:9px;color:#75509a}.toolPanel p{font-size:10px;line-height:1.55;color:#8a8490}.toolPanel label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;font-size:10px;color:#5f5a64;margin:13px 0}.toolPanel label input{grid-column:1/3;width:100%;accent-color:var(--purple)}output{color:#8e56ca;font-weight:700}.modeRow{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.mode{padding:8px 5px;font-size:9px}.mode.active{background:#eee4fb;border-color:#b991e9;color:#6e25c9}.swatchRow{display:flex;align-items:center;gap:8px;font-size:10px;color:#777}.swatchRow i{width:20px;height:20px;border:1px solid #aaa;border-radius:50%;background:#fff}.swatchRow button{margin-left:auto}.curvePreview{height:100px;border-radius:8px;background:linear-gradient(#eee1 49%,#ccc 50%,#eee1 51%),linear-gradient(90deg,#eee1 49%,#ccc 50%,#eee1 51%),#222;overflow:hidden}.curvePreview svg{width:100%;height:100%}.curvePreview path{fill:none;stroke:#b780ff;stroke-width:2}.curvePreview .curveBase{stroke:#777;stroke-width:1;stroke-dasharray:3}.resetAll{width:100%;margin:20px 0;color:#6e6575}.toolStage{min-width:0;display:flex;flex-direction:column;padding:18px 24px}.stageHead,footer{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.8px;color:#85808c;padding:0 2px 13px}.stageHead i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#20c997;margin-right:5px;box-shadow:0 0 0 4px #20c99722}.checker{position:relative;flex:1;min-height:300px;display:grid;place-items:center;overflow:hidden;border-radius:14px;background-color:#d9d9df;background-image:linear-gradient(45deg,#c8c8cf 25%,transparent 25%),linear-gradient(-45deg,#c8c8cf 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#c8c8cf 75%),linear-gradient(-45deg,transparent 75%,#c8c8cf 75%);background-size:26px 26px;background-position:0 0,0 13px,13px -13px,-13px 0}.checker.drag{outline:4px solid #e51b8055}.emptyState{display:flex;flex-direction:column;gap:8px;align-items:center;padding:35px 50px;border-radius:16px;background:#fffffff0;color:#777}.emptyState strong{font-size:16px;color:#514b56}.emptyState span{font-size:11px}canvas{display:none;max-width:94%;max-height:90%;box-shadow:0 16px 45px #2226;touch-action:none}.brushCursor,.vignetteTarget{position:absolute;display:none;pointer-events:none;translate:-50% -50%}.brushCursor{border:1.5px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #111}.vignetteTarget{color:#fff;font-size:20px;text-shadow:0 1px 3px #000}.toolStage footer{padding-top:12px;padding-bottom:0;letter-spacing:0}.toast{position:fixed;left:50%;bottom:25px;translate:-50% 20px;opacity:0;background:#252129;color:#fff;padding:10px 16px;border-radius:10px;font-size:11px;transition:.25s}.toast.show{opacity:1;translate:-50% 0}@media(max-width:850px){.toolWorkspace{height:auto;grid-template-columns:1fr}.toolSide{border-right:0}.toolStage{height:75vh}.toolTitle{display:none}}@media(max-width:520px){.toolTop{padding:0 10px}.toolBrand small{display:none}.topActions .ghost{display:none}.toolWorkspace{grid-template-columns:1fr}.toolSide{padding:15px}.toolStage{padding:10px;height:70vh}.stageHead b,footer span:first-child{display:none}}
