:root{--ink:#17162e;--muted:#706d86;--purple:#6139d9;--purple2:#4922b9;--border:#e4e0f1;--paper:#fff;--bg:#f8f7fd;--shadow:0 16px 48px #3222690c; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:15px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,.drop:focus-visible{outline:3px solid #a69aff;outline-offset:3px}a{color:inherit;text-decoration:none}svg:not([style]){width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none} [hidden]{display:none!important}.wrap{width:min(1240px,calc(100% - 48px));margin:auto}.top{background:#ffffffd9;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:5;backdrop-filter:blur(14px)}.nav{height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:23px;font-weight:800;letter-spacing:-1px;line-height:1.05;white-space:nowrap}.brand img{width:43px;height:43px}.brand small{display:block;font-size:10px;letter-spacing:.1px;font-weight:600;color:var(--muted);margin-top:4px}nav{display:flex;gap:26px;color:#5c5875;font-weight:600;font-size:14px}nav a:hover{color:var(--purple)}.nav-actions{display:flex;gap:8px}.primary,.ghost,.icon-btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:10px;border:1px solid transparent;padding:11px 15px;font-weight:700;font-size:14px;min-height:42px}.primary{background:linear-gradient(135deg,#7552ee,#4d26c3);color:white;box-shadow:0 5px 13px #6035d52b}.primary:hover:not(:disabled){filter:brightness(1.08)}.ghost,.icon-btn{background:#fff;color:var(--purple);border-color:var(--border)}.ghost:hover,.icon-btn:hover{background:#f3efff}.icon-btn{padding:8px;min-width:38px;min-height:38px}.hero{position:relative;text-align:center;padding:43px 0 31px;isolation:isolate}.hero:before{content:"";position:absolute;z-index:-1;inset:0 -10px;background:radial-gradient(ellipse at 12% 30%,#e7e1ff 0,transparent 40%),radial-gradient(ellipse at 90% 25%,#e6e5ff 0,transparent 37%);border-radius:0 0 50% 50%}.eyebrow,.overline{font-size:10px;letter-spacing:1.6px;font-weight:800;color:var(--purple)}.eyebrow{display:inline-flex;gap:6px;align-items:center;background:#eeebff;border-radius:30px;padding:7px 12px}.eyebrow svg{width:14px;height:14px}.hero h1{font-size:clamp(34px,4.5vw,58px);letter-spacing:-2.7px;line-height:1.03;margin:17px 0 13px;font-weight:850}.hero h1 em{font-style:normal;background:linear-gradient(100deg,#4823bd,#7855f5);background-clip:text;color:transparent}.hero p{color:var(--muted);font-size:16px;margin:0 auto 20px;max-width:620px;line-height:1.5}.orb{position:absolute;top:70px;z-index:-1;display:grid;place-items:center;width:124px;height:124px;border:2px solid white;border-radius:30px;background:linear-gradient(135deg,#ffffffa0,#d5caff85);color:#9180e5;box-shadow:0 12px 40px #987fea28;transform:rotate(-13deg)}.orb svg{width:65px;height:65px;stroke-width:1.2}.orb.left{left:5%}.orb.right{right:5%;transform:rotate(13deg)}.trust{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.trust span{display:flex;align-items:center;gap:6px;border:1px solid #dfd8f6;background:#f1edff;color:#5031b2;font-weight:650;border-radius:99px;padding:7px 11px;font-size:12px}.trust span:first-child{color:#17704f;background:#e5f6ed;border-color:#d2ebde}.trust svg{width:15px;height:15px}.studio{display:grid;grid-template-columns:355px minmax(0,1fr);border:1px solid var(--border);background:white;border-radius:20px;box-shadow:var(--shadow);overflow:hidden;scroll-margin-top:86px}.controls{padding:23px;border-right:1px solid var(--border);background:#fcfbff}.workspace{padding:24px;min-width:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.section-head h2{font-size:20px;letter-spacing:-.6px;margin:4px 0 0}.drop{border:1.5px dashed #ad9af1;background:#f3efff;border-radius:13px;display:flex;align-items:center;flex-direction:column;gap:6px;text-align:center;padding:20px 8px;cursor:pointer;margin-bottom:16px;transition:.15s}.drop.drag{background:#dfd6ff;border-color:var(--purple)}.drop svg{width:30px;height:30px;color:var(--purple)}.drop strong{font-size:13px}.drop small,.hint{font-size:12px;color:var(--muted);line-height:1.5}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:13px;min-width:0}.field label{font-size:12px;font-weight:750}.field input:not([type=range]):not([type=color]),.field select,textarea{width:100%;background:white;border:1px solid #ded9ed;color:var(--ink);padding:10px 11px;border-radius:8px;font-size:13px;min-height:40px}.seg{display:flex;gap:4px;background:#f0edf7;border-radius:9px;padding:3px}.seg button{flex:1;background:transparent;border:1px solid transparent;color:#6a647f;padding:7px 6px;border-radius:7px;font-size:11px;font-weight:750;white-space:nowrap;min-height:32px}.seg button.active{background:white;color:var(--purple);border-color:#ded5ff;box-shadow:0 2px 5px #2c16400a}.range{display:grid;grid-template-columns:1fr auto;gap:4px 8px;align-items:center}.range output{font-size:11px;color:var(--purple);font-weight:750;background:#eeeaff;padding:3px 7px;border-radius:5px;min-width:42px;text-align:center}.range input{grid-column:1/-1}input[type=range]{width:100%;accent-color:var(--purple);margin:4px 0;height:20px;cursor:pointer}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.colorbox{display:flex;align-items:center;gap:7px;background:white;border:1px solid #ded9ed;border-radius:8px;min-height:40px;padding:4px 8px;font-size:12px}.colorbox input{width:30px;height:28px;padding:0;border:0;background:none;cursor:pointer}.advanced{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:13px 0;margin:3px 0 13px}.advanced summary,.faq summary{cursor:pointer;font-weight:750;font-size:13px}.switchline{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:14px 0}.switchline b{display:block;font-size:12px}.switchline small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.switchline input{appearance:none;flex:none;width:38px;height:22px;background:#c5c1d3;border-radius:30px;position:relative;cursor:pointer;margin:0}.switchline input:before{content:"";position:absolute;width:16px;height:16px;background:white;border-radius:50%;top:3px;left:3px;transition:.18s}.switchline input:checked{background:var(--purple)}.switchline input:checked:before{left:19px}.note{background:#f2effa;color:#605775;padding:10px;border-radius:8px;font-size:11px;line-height:1.5}.local-note{display:flex;align-items:center;gap:8px;color:#176c4d;background:#e8f6ed;border-radius:9px;padding:12px;font-size:12px;font-weight:750}.local-note svg{width:17px;height:17px}.view-switch{flex:none}.image-meta{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin:0 0 10px;gap:8px}.image-meta span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;position:relative}.preview-box{position:relative;margin:0;overflow:hidden;border-radius:12px;background:#eeecf4;display:flex;align-items:center;justify-content:center;min-width:0;aspect-ratio:4/5;border:1px solid #e8e4ee}.preview-box canvas{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.photo-label{position:absolute;top:11px;left:11px;z-index:2;border-radius:6px;background:#272537b5;color:white;font-size:11px;font-weight:700;padding:6px 9px;pointer-events:none}.photo-label.protected{background:#6035d9}.preview-grid.split{display:block;max-width:500px;margin:auto}.preview-grid.split .result{position:absolute;inset:0;clip-path:inset(0 0 0 var(--split,50%))}.preview-grid.split .result .photo-label{left:auto;right:11px}.preview-grid.split .original .photo-label{left:11px}.preview-grid.split .preview-box{aspect-ratio:4/5}.preview-grid.positioning .result canvas{cursor:crosshair;touch-action:pan-y}#splitControl{display:flex;gap:12px;align-items:center;font-size:12px;color:var(--muted);margin-top:10px}#splitControl input{flex:1}.export{border-top:1px solid var(--border);margin-top:22px;padding-top:19px}.export-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.meta-tag{display:flex;gap:4px;align-items:center;color:#277658;font-size:11px;font-weight:650}.meta-tag svg{width:15px;height:15px}.buttons{display:flex;gap:10px}.download{flex:1}.tools-row{display:flex;flex-wrap:wrap;gap:10px 16px;margin:13px 0 0}.textbtn{padding:0;background:none;border:0;color:var(--purple);font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:3px}.danger{color:#b04459}.hint{min-height:0;margin:9px 0}.hint:empty{display:none}.queue{display:flex;gap:6px;flex-wrap:wrap;margin:-4px 0 15px;max-height:130px;overflow:auto}.queue-item{display:flex;align-items:center;max-width:100%;border:1px solid var(--border);border-radius:7px;background:white}.queue-item.active{border-color:var(--purple);background:#eee9ff}.queue-item button{border:0;background:none;font-size:11px;color:var(--ink);padding:7px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.queue-item .remove{color:#a33b56;padding-left:3px}.empty{display:grid;justify-items:center;align-content:center;min-height:310px;background:#f6f4fc;border:1px dashed var(--border);border-radius:12px;padding:20px;text-align:center}.empty svg{width:45px;height:45px;color:#9c8cd8}.empty h3{margin:12px 0 0}.empty p{color:var(--muted);font-size:13px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0 37px;scroll-margin-top:90px}.features article{display:flex;gap:13px;align-items:center;background:white;border:1px solid var(--border);border-radius:13px;padding:17px;box-shadow:0 6px 15px #28204006}.feature-icon{display:grid;place-items:center;flex:none;background:#f0ebff;border-radius:12px;width:45px;height:45px;color:var(--purple)}.feature-icon svg{width:25px;height:25px}.features h3{margin:0 0 4px;font-size:15px}.features p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.faq{display:grid;grid-template-columns:1fr 1.5fr;gap:35px;border-top:1px solid var(--border);padding:35px 0;scroll-margin-top:90px}.faq h2{font-size:29px;letter-spacing:-1px;margin:9px 0}.faq p{font-size:13px;color:var(--muted);line-height:1.6}.faq details{border-bottom:1px solid var(--border);padding:15px 0}.faq details:first-child{padding-top:0}footer{display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid var(--border);padding:22px 0;color:var(--muted);font-size:11px}footer .brand{font-size:17px;color:var(--ink)}footer .brand img{width:32px;height:32px}#hashResult textarea{margin:10px 0;word-break:break-all}#hashResult button{min-height:30px;padding:5px 12px}@media(max-width:950px){.studio{grid-template-columns:310px minmax(0,1fr)}.controls,.workspace{padding:18px}.orb{width:90px;height:90px}.orb svg{width:45px;height:45px}.orb.left{left:1%}.orb.right{right:1%}nav{gap:14px}.features article{padding:12px;gap:8px}.feature-icon{width:36px;height:36px}.feature-icon svg{width:21px;height:21px}}@media(max-width:700px){.wrap{width:calc(100% - 24px)}.nav{height:61px;gap:8px}nav{display:none}.brand{font-size:20px}.brand img{width:36px;height:36px}.nav-actions{gap:5px}.nav-actions button{padding:8px 10px;font-size:12px;min-height:36px}.hero{padding:27px 0 23px}.hero h1{font-size:36px;letter-spacing:-1.5px}.hero p{font-size:14px;padding:0 5px}.orb{display:none}.trust{gap:5px}.trust span{font-size:10px;padding:5px 8px}.studio{display:flex;flex-direction:column;border-radius:15px;scroll-margin-top:73px}.controls{border-right:0;border-bottom:1px solid var(--border);padding:17px}.workspace{padding:15px}.section-head h2{font-size:18px}.preview-grid{gap:8px}.photo-label{top:6px;left:6px;padding:4px 6px;font-size:10px}.features{grid-template-columns:1fr;gap:9px;margin:16px 0 25px}.features article{padding:14px}.faq{grid-template-columns:1fr;gap:8px;padding:23px 0}.faq h2{font-size:25px}footer{flex-wrap:wrap;line-height:1.5}.view-switch button{font-size:10px}.export-row{gap:10px}.meta-tag{font-size:10px}.buttons button{padding:10px 9px}.seg button{font-size:12px}.view-switch button{font-size:10px}input[type=range]{height:26px}.tools-row{gap:12px}.hero:before{inset:0}.nav-actions #install{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
