:root{--bg:#f7f6f2;--paper:#fffefa;--ink:#252c27;--muted:#69726b;--accent:#306149;--soft:#e9efe6;--line:#e1e4da;--orange:#bd603c}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button,a,label[for=image]{touch-action:manipulation}button,a{cursor:pointer}button,input{font:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,.dropzone:focus-within{outline:3px solid #a6bd87;outline-offset:5px}[hidden]{display:none!important}.page{max-width:1160px;margin:auto;padding:0 42px}header{height:112px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;font-size:33px;letter-spacing:-1.7px;font-weight:750}.brand svg{width:33px;height:33px;stroke:var(--accent);stroke-width:2.2;fill:none;margin-right:9px}.dot{color:var(--orange)}.header-note{font-size:13px;color:var(--muted);letter-spacing:2px}main{display:grid;grid-template-columns:1fr 470px;gap:80px;align-items:center;min-height:690px;padding:35px 0 75px}.eyebrow{display:flex;gap:9px;align-items:center;color:var(--accent);font-size:13px;letter-spacing:2px}.eyebrow span{width:6px;height:6px;background:var(--accent);border-radius:100%}h1{font-size:clamp(44px,5vw,64px);line-height:1.23;letter-spacing:-3px;margin:27px 0 22px;font-weight:650}h1 span{color:var(--accent)}.intro>p{line-height:1.9;color:var(--muted);font-size:16px}.sketch{margin:26px 0 12px;max-width:265px;text-align:center;transform:rotate(-6deg)}.sketch svg{width:100%;height:190px;overflow:visible}.pencil{fill:#eedc9e;stroke:#526b51;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.wing{fill:#c4d1ac;stroke:#526b51;stroke-width:2}.spark{fill:#c9804f}.sketch span{font-size:11px;letter-spacing:2px;color:#77816b}.intro-bottom{font-size:12px;color:var(--muted);display:flex;gap:12px;margin-top:28px}.intro-bottom span{color:#a8afa1}.studio{background:var(--paper);border:1px solid #e6e7df;border-radius:26px;padding:30px;box-shadow:0 20px 65px #31432b08;min-width:0;position:relative}.studio-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.step-label{font-size:14px;font-weight:550}.pill{font-size:10px;letter-spacing:1px;background:var(--soft);color:var(--accent);padding:6px 10px;border-radius:20px;display:inline-block}.dropzone{height:320px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1.5px dashed #bbc6b5;border-radius:16px;background:#f6f7f0;position:relative;overflow:hidden;cursor:pointer;transition:background .2s,border-color .2s}.dropzone:hover,.dropzone.drag{background:#edf1e6;border-color:var(--accent)}#image{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;z-index:2}#upload-hint{display:flex;align-items:center;flex-direction:column;gap:12px}#upload-hint svg{width:50px;height:50px;fill:none;stroke:#698064;stroke-width:1.5;margin-bottom:8px}#upload-hint strong{font-size:17px;font-weight:500}#upload-hint small{color:var(--muted);font-size:12px}#preview{width:100%;height:100%;object-fit:contain;padding:13px}#replace{position:absolute;bottom:14px;right:14px;background:#fffefae8;border-radius:20px;padding:8px 13px;font-size:12px}.file-note{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.4px;color:var(--muted);padding:12px 2px 22px}.primary{display:flex;align-items:center;justify-content:center;position:relative;border:0;border-radius:12px;background:var(--accent);color:white;width:100%;height:54px;font-weight:550;font-size:14px;transition:background .2s,transform .2s}.primary span{position:absolute;right:20px;font-size:22px;font-weight:400}.primary:hover{background:#234c38}.primary:active{transform:scale(.985)}.primary:disabled{cursor:not-allowed;background:#dce3d7;color:#788470}.privacy{font-size:10px;color:var(--muted);text-align:center;line-height:1.7;margin:17px 0 0}h2{font-size:20px;line-height:1.5;letter-spacing:-.5px;font-weight:550;margin:23px 0 10px}#login>p,#failure>p,#result>p{color:var(--muted);font-size:13px;line-height:1.8}#login label{display:block;font-size:12px;margin:27px 0 9px}#code{width:100%;height:52px;border:1px solid var(--line);border-radius:10px;background:#fafbf7;padding:0 15px;margin-bottom:18px;color:var(--ink)}#error{color:#9b3b28;background:#faf0e9;padding:12px;border-radius:9px;font-size:13px;line-height:1.6;margin-bottom:0}.work-art{height:295px;background:#f3f2ec;border-radius:15px;overflow:hidden;position:relative}.work-art img{width:100%;height:100%;object-fit:contain;opacity:.65;padding:15px}.scan{position:absolute;inset:0;background:linear-gradient(transparent,#b5cf9b44,transparent);height:50%;animation:scan 3s ease-in-out infinite}.work-badge{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#fffefae8;border-radius:30px;font-size:11px;padding:9px 14px;display:flex;align-items:center;gap:8px}.work-badge i{width:6px;height:6px;background:var(--accent);border-radius:50%;animation:pulse 1.7s infinite}.time{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}#working h2{text-align:center;font-size:18px}#stage-sub{text-align:center;font-size:12px;color:var(--muted);line-height:1.7;min-height:40px}.steps{display:flex;list-style:none;padding:0;margin:25px 0;gap:5px}.steps li{flex:1;border-top:3px solid #e7eade;padding-top:10px;font-size:10px;color:#7d8677}.steps li.active{border-color:var(--accent);color:var(--accent)}.steps li.done{border-color:#9ebc8c}video{width:100%;aspect-ratio:1;background:#f2f1eb;border-radius:15px;display:block}#result h2{font-size:18px}#result .primary{margin-top:22px}.secondary{border:0;background:none;color:var(--muted);height:48px;width:100%;font-size:12px;margin-top:5px}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:25px 0 35px;font-size:11px;color:var(--muted);letter-spacing:.5px}@keyframes scan{0%,100%{transform:translateY(-70%)}50%{transform:translateY(230%)}}@keyframes pulse{50%{opacity:.35}}@media(max-width:900px){main{gap:40px;grid-template-columns:1fr 420px}.page{padding:0 28px}h1{font-size:48px}}@media(max-width:720px){.page{padding:0 22px}header{height:83px}.brand{font-size:29px}.brand svg{width:29px}.header-note{font-size:10px;letter-spacing:1px}main{display:block;padding:20px 0 40px;min-height:0}.intro{position:relative;margin-bottom:29px}.eyebrow{font-size:10px}h1{font-size:42px;letter-spacing:-2px;margin:19px 0 13px;line-height:1.23}.intro>p{font-size:13px;line-height:1.8;margin-bottom:0}.sketch{position:absolute;right:-5px;top:27px;width:130px;margin:0;opacity:.8}.sketch svg{height:140px}.sketch span{display:none}.intro-bottom{display:none}.studio{padding:23px;border-radius:23px}.studio-heading{margin-bottom:19px}.dropzone{height:275px}.primary{height:54px}.privacy{font-size:10px}footer{font-size:10px;padding-bottom:max(25px,env(safe-area-inset-bottom))}footer span:last-child{display:none}.work-art{height:280px}}@media(max-width:360px){.page{padding:0 16px}.studio{padding:18px}h1{font-size:38px}.sketch{width:105px;right:-9px}.dropzone{height:245px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
