:root{--bg:#fafaf8;--surface:#fff;--text:#191b21;--sub:#777b88;--muted:#a5a9b4;--border:#e8e8e6;--accent:#6265dc;--accent-soft:#f0efff;--radius:22px;--shadow:0 20px 55px rgba(24,27,35,.042);font-family:Inter,-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;color:var(--text);color-scheme:light}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font-size:14px;-webkit-font-smoothing:antialiased;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}.container{max-width:1260px;padding:0 30px;margin:0 auto}.skip-link{position:absolute;z-index:40;top:-80px;left:20px;padding:10px;background:#fff}.skip-link:focus{top:10px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9398fa;outline-offset:2px}.header{height:78px;border-bottom:1px solid #efefed;background:rgba(250,250,248,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.header-content{height:100%;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:18px;font-weight:600;letter-spacing:-.65px;white-space:nowrap}.brand:hover{color:inherit}.brand-mark{display:inline-flex;width:36px;height:36px}.brand-mark svg{width:100%;height:100%}.brand-heavy{font-weight:800}.brand-beta{font-size:9px;font-weight:800;border:1px solid #dbdce0;letter-spacing:.6px;color:#888c98;margin-left:9px;padding:4px 6px;border-radius:5px;vertical-align:3px}.header-nav{display:flex;align-items:center;gap:27px}.nav-quiet{font-size:13px;color:#6b6d77;font-weight:600}.github-link{display:flex;align-items:center;gap:8px;background:#17191f;color:#fff;border-radius:9px;padding:11px 14px;font-weight:700;font-size:12px}.github-link:hover{background:#393c47;color:#fff}.github-link svg{width:17px;height:17px}.hero{padding-top:67px;padding-bottom:38px}.eyebrow,.step-count{font-size:10px;font-weight:800;letter-spacing:2.2px;color:#818591}.eyebrow{display:flex;align-items:center;gap:12px;color:#565d70}.signal-dot,.local-dot,.preview-live span{width:7px;height:7px;border-radius:50%;background:#7a76ee;display:inline-block;box-shadow:0 0 0 4px #ebeaff}.eyebrow-slash{color:#c6c9d1}.hero h1{font-size:clamp(45px,5.5vw,76px);margin:17px 0 19px;letter-spacing:-3.8px;line-height:1.1;font-weight:800}.accent-underline{position:relative;color:#6364d6;display:inline-block}.accent-underline::after{content:"";position:absolute;width:99%;height:9px;background:#d5d5fb;bottom:-8px;left:2px;border-radius:90%;transform:rotate(-1deg);z-index:-1}.hero-sub{font-size:17px;line-height:1.9;margin:0;color:#696e7a;max-width:660px;letter-spacing:.05px}.trust-line{display:flex;gap:24px;flex-wrap:wrap;margin-top:28px;color:#5d636e;font-size:12px;font-weight:600}.trust-line>span{display:flex;gap:7px;align-items:center}.trust-icon{background:#e9eced;border-radius:50%;color:#445c50;padding:0 4px;font-size:10px}
.workspace{display:grid;grid-template-columns:minmax(365px,470px) minmax(0,1fr);gap:24px;align-items:start}.tool-panel,.preview-panel{background:#fff;border:1px solid #eaeaea;border-radius:20px;box-shadow:var(--shadow);min-width:0}.tool-panel{padding:26px}.preview-panel{padding:26px;position:sticky;top:20px}.panel-head,.preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-head h2,.preview-head h2{font-size:21px;line-height:1.3;letter-spacing:-.6px;margin:8px 0 5px}.panel-head p{margin:0;color:#8d909a;font-size:12px}.local-tag{border-radius:22px;white-space:nowrap;background:#eff9f3;color:#268356;padding:8px 10px;font-size:10px;font-weight:700;display:flex;gap:8px;align-items:center;margin-top:12px}.local-dot{width:5px;height:5px;background:#33a569;box-shadow:none}.upload-drop{min-height:192px;background:#fafafc;border:1.5px dashed #dadddf;border-radius:14px;text-align:center;padding:22px 16px;transition:background .2s,border .2s}.upload-drop.drag-over{background:#efefff;border-color:#7273db}.upload-icon{width:39px;height:39px;margin:0 auto 10px;border-radius:10px;background:#eeeff4;color:#5e6477;display:grid;place-items:center}.upload-icon svg{width:24px;height:24px}.upload-heading{font-size:13px;font-weight:800;margin-bottom:5px}.upload-detail{font-size:11px;color:#9c9fa8}.upload-buttons{margin-top:15px;display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap}.button{border:0;min-height:39px;padding:10px 15px;border-radius:9px;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:background .16s,transform .16s,border .16s}.button:active:not(:disabled){transform:scale(.98)}.button-dark{background:#1e2028;color:#fff}.button-dark:hover:not(:disabled){background:#3a3d49}.button-text{background:transparent;color:#6568ad}.button-text:hover{background:#ededfb}.button-outline{background:#fff;border:1px solid #e3e4e8;color:#343743}.button-outline:hover:not(:disabled){background:#f5f5f9}.button.small{min-height:35px;padding:8px 12px}.section-rule{height:1px;background:#ededed;margin:27px 0 22px}.panel-head.compact{margin-bottom:16px}.field-title{font-size:12px;font-weight:800;color:#32363f;display:block}.field-hint{font-weight:500;font-size:10px;color:#a0a2ab;margin-left:4px}.presets{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}.preset{border:1px solid #e5e6e9;background:#fff;border-radius:8px;padding:10px 11px;font-size:12px;font-weight:600;color:#5b5f6c;transition:all .15s}.preset:hover{border-color:#b2b3ec;color:var(--accent)}.preset.active{border-color:#9294ed;color:#595bd4;background:#f2f2ff;box-shadow:0 0 0 1px #b8b9f4 inset}.margin-top{margin-top:20px}.text-input{margin-top:9px;display:block;width:100%;min-height:45px;border-radius:9px;border:1px solid #e4e5e8;outline:none;background:#fff;padding:10px 12px;font-weight:600;letter-spacing:.2px}.text-input:focus{border-color:#9c9ee7;box-shadow:0 0 0 3px rgba(99,101,214,.1)}.sub-section-head{display:flex;justify-content:space-between;gap:8px;margin-top:21px;align-items:center}.logo-row{display:flex;gap:12px;align-items:center;margin-top:10px;min-width:0}.logo-name{font-size:11px;color:#999da9;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.inline-action{border:0;background:transparent;padding:4px;color:#5d5ed8;font-size:11px;font-weight:700}.inline-action.danger{color:#c16e79}.file-row{margin-top:14px}.file-row-title{display:flex;align-items:center;gap:11px}.file-row-title strong{font-size:12px;margin-right:auto}.file-chips{display:flex;gap:6px;overflow-x:auto;margin-top:10px;padding:2px 0 8px;scrollbar-width:thin}.file-chip{flex-shrink:0;border:1px solid #e2e3e7;color:#616773;background:#fff;border-radius:8px;padding:8px 10px;display:flex;align-items:center;gap:6px;max-width:140px;font-size:11px;font-weight:600}.file-chip span{max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-chip.active{border-color:#7e82df;background:#f1f1fd;color:#5257cf}.file-chip .remove-file{padding:0;color:#a2a4ac;border:0;background:none;font-size:17px;line-height:14px}
.mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mode-card{border:1px solid #e5e6e9;border-radius:11px;background:#fff;padding:10px 6px 11px;display:flex;align-items:center;flex-direction:column;text-align:center;gap:3px;min-width:0}.mode-card:hover{border-color:#b7b8ec}.mode-card.active{background:#f5f4ff;border-color:#8589ec;box-shadow:0 0 0 1px #c3c4ff inset}.mode-art{display:block;width:100%;max-width:77px;aspect-ratio:1.4;position:relative;overflow:hidden;border:1px solid #e5e6ed;border-radius:5px;background:linear-gradient(135deg,#f8f8fb,#f0f0f5);margin-bottom:6px}.mode-art i{font-size:6px;position:absolute;font-style:normal;font-weight:800;color:#b6b7c2;white-space:nowrap}.mode-art-tile i{left:-5px;top:11px;transform:rotate(-20deg)}.mode-art-tile i:nth-child(2){left:36px;top:3px}.mode-art-tile i:nth-child(3){left:25px;top:37px}.mode-art-corner i{right:3px;bottom:4px;color:#fff;background:#737681;padding:3px;border-radius:2px}.mode-art-footer::before{content:"";position:absolute;bottom:0;left:0;right:0;height:16px;background:#464b5c}.mode-art-footer i{bottom:4px;left:5px;color:#fff}.mode-art-manual i{left:12px;top:18px;transform:rotate(-19deg);color:#7575d9}.mode-art-manual b{position:absolute;left:9px;top:13px;width:34px;height:17px;border:1px dashed #9699ed;transform:rotate(-19deg)}.mode-name{font-size:11px;font-weight:800;white-space:nowrap}.mode-desc{font-size:10px;color:#a1a3ac;white-space:nowrap}.setting-stack{margin-top:21px}.range-setting{padding:10px 0}.range-title{display:flex;align-items:center;justify-content:space-between;color:#4b4f5d;font-size:12px;font-weight:700}.range-title output{font-size:11px;font-weight:800;color:#6566c6}.range-setting input[type=range]{-webkit-appearance:none;appearance:none;width:100%;background:#e9e9ed;border-radius:10px;height:5px;margin:17px 0 7px;accent-color:#7274de;cursor:pointer}.range-setting input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:17px;height:17px;border-radius:50%;background:#6667de;border:3px solid #fff;box-shadow:0 0 0 1px #c3c4e5,0 1px 6px #0002}.range-setting input[type=range]::-moz-range-thumb{width:13px;height:13px;border-radius:50%;background:#6667de;border:3px solid #fff;box-shadow:0 0 0 1px #c3c4e5}.color-picks{display:flex;gap:9px;margin-top:9px}.color-dot{border:2px solid transparent;border-radius:50%;height:29px;width:29px;background:transparent;padding:3px}.color-dot.active{border-color:#7476e1}.color-dot span{display:block;width:19px;height:19px;border-radius:50%;border:1px solid #e4e4e5}.privacy-tip{display:flex;gap:12px;margin-top:18px;padding:14px;background:#f8f9fc;border-radius:10px;color:#636b7b}.privacy-tip svg{width:18px;min-width:18px;margin-top:1px}.privacy-tip strong{display:block;font-size:11px;color:#454b5e;margin-bottom:5px}.privacy-tip span{display:block;font-size:10px;line-height:1.6}
.preview-head{margin-bottom:19px;align-items:center}.preview-head h2{margin:8px 0 0;font-size:21px}.preview-live{border:1px solid #e5e5e9;border-radius:20px;padding:8px 11px;color:#7e8190;font-size:10px;font-weight:700;white-space:nowrap}.preview-live span{width:5px;height:5px;background:#55bb8a;box-shadow:none;margin-right:6px;vertical-align:1px}.preview-stage{width:100%;min-height:340px;height:min(54vw,610px);max-height:610px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 35%,#fff 0%,#f7f7fb 60%,#f5f5f7 100%);border:1px solid #ececf0;border-radius:14px;overflow:hidden;position:relative;padding:20px}.preview-stage::before{content:"";inset:0;position:absolute;pointer-events:none;background-image:radial-gradient(#dbdde5 0.75px,transparent .75px);background-size:16px 16px;opacity:.43}.preview-stage canvas{position:relative;z-index:2;display:block;width:auto;height:auto;max-width:100%;max-height:100%;box-shadow:0 9px 33px rgba(20,20,30,.12);touch-action:auto;user-select:none;-webkit-user-select:none}.preview-stage canvas.drag-enabled{touch-action:none;cursor:grab}.preview-stage canvas.drag-enabled:active{cursor:grabbing}.empty-preview{position:relative;text-align:center;z-index:1;width:100%}.empty-art{position:relative;height:180px;display:flex;align-items:center;justify-content:center}.fake-card{height:147px;width:204px;border:1px solid #e5e6ed;border-radius:10px;background:#fff;box-shadow:0 10px 35px #1112;overflow:hidden;transform:rotate(-7deg)}.fake-window{height:18px;background:#f0f1f5;display:flex;align-items:center;gap:3px;padding-left:10px}.fake-window i{height:4px;width:4px;background:#d0d1d8;border-radius:50%}.fake-banner{font-size:13px;font-weight:900;letter-spacing:-.2px;margin:23px auto 14px;width:155px;text-align:left}.fake-lines{display:flex;flex-direction:column;gap:5px;margin-left:25px}.fake-lines i{display:block;width:115px;height:4px;border-radius:8px;background:#ededf1}.fake-lines i:nth-child(2){width:148px}.fake-lines i:nth-child(3){width:94px}.fake-watermark{position:absolute;font-size:11px;color:rgba(99,99,180,.3);font-weight:700;width:250px;top:75px;left:-13px;transform:rotate(-27deg)}.empty-sparkle{position:absolute;color:#7775df;font-size:30px;right:calc(50% - 126px);top:1px}.empty-preview h3{margin:15px 0 7px;font-size:17px;letter-spacing:-.5px}.empty-preview p{color:#999ba5;font-size:12px;margin:0}.empty-actions{display:flex;justify-content:center;gap:8px;margin-top:21px}.preview-meta{display:flex;justify-content:space-between;gap:10px;padding:14px 0;color:#8b8e9a;font-size:11px;min-width:0}.preview-meta span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.privacy-caption{white-space:nowrap;color:#758779}.drag-hint{padding:10px 12px;background:#f5f3ff;color:#6566c6;border:1px solid #e7e4ff;border-radius:8px;font-size:11px;margin-bottom:10px}.export-box{background:#f7f7f9;border-radius:14px;padding:22px;margin-top:2px;border:1px solid #ececf0}.export-head{display:flex;justify-content:space-between;gap:8px;align-items:start;margin-bottom:18px}.export-head strong{font-size:17px;letter-spacing:-.4px}.export-head p{font-size:11px;color:#999aa5;margin:7px 0 0}.export-step{font-weight:800;font-size:9px;color:#abaeb9;letter-spacing:1.4px;white-space:nowrap;padding-top:4px}.export-controls{display:grid;grid-template-columns:1fr 1fr;gap:9px}.export-format{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-radius:9px;padding:11px 12px;color:#5a5d69;font-size:11px;font-weight:700;border:1px solid #e9e9ec}.export-format select{background:transparent;border:0;color:#252833;font-weight:700;font-size:12px;max-width:70%;text-align:right;outline:none}.button-export{grid-column:1/-1;min-height:50px;font-size:14px}.button-export svg{height:17px;width:17px}.button-share,.button-batch{min-height:42px;grid-column:1/-1}.export-note{font-size:10px;line-height:1.6;text-align:center;color:#979aa4;margin-top:14px}
.benefits{margin-top:100px;margin-bottom:92px}.benefits-header{text-align:center}.benefits h2{font-size:clamp(30px,3.5vw,44px);line-height:1.26;letter-spacing:-1.5px;margin:17px auto}.benefits-header p{font-size:14px;color:#9699a4;margin:0}.benefit-grid{margin-top:35px;display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.benefit-grid article{padding:30px 26px;border:1px solid #ebebed;background:#fff;border-radius:16px}.benefit-symbol{font-size:13px;font-weight:900;color:#716fdd;letter-spacing:1px}.benefit-grid h3{margin:30px 0 11px;font-size:19px;letter-spacing:-.5px}.benefit-grid p{font-size:12px;line-height:1.9;color:#878b95;margin:0}.about-strip{display:flex;gap:20px;align-items:center;background:#eeeef8;max-width:1200px;border-radius:16px;padding:25px 30px;margin-bottom:80px}.about-brand{height:56px;width:56px;border-radius:14px;display:grid;place-items:center;flex-shrink:0;background:#20222b;color:white;font-size:29px;font-weight:800}.about-brand span{color:#8989ff}.about-strip>div:nth-child(2){flex:1}.about-strip strong{font-size:16px}.about-strip p{margin:8px 0 0;color:#717587;font-size:12px}.about-strip a{border:1px solid #dedde9;border-radius:9px;background:#fff;padding:12px;font-size:12px;font-weight:700;white-space:nowrap}.footer{border-top:1px solid #edeeed;padding:38px 0 42px;background:#fff}.footer-row{display:flex;justify-content:space-between;gap:20px;align-items:center}.footer-row strong{font-size:17px;letter-spacing:-.4px}.footer-spark{color:#6564d5;margin-left:3px}.footer-row p{font-size:11px;color:#a0a2ac;margin:9px 0 0}.footer-links{display:flex;gap:24px;align-items:center;font-size:12px;font-weight:700;color:#5a5d67}.footer-links button{background:none;border:0;padding:0;font-size:12px;font-weight:700;color:inherit}.footer-links button:hover{color:var(--accent)}.mobile-bar{display:none}.toast{position:fixed;left:50%;bottom:29px;transform:translateX(-50%);z-index:100;max-width:min(92vw,540px);padding:13px 19px;white-space:normal;text-align:center;background:#1c1f29;color:#fff;border-radius:12px;box-shadow:0 10px 33px #0003;font-weight:600;font-size:12px;line-height:1.6}.toast[hidden],[hidden]{display:none!important}
@media(max-width:1090px){.container{padding-left:22px;padding-right:22px}.workspace{grid-template-columns:minmax(345px,.9fr) minmax(0,1.1fr);gap:15px}.tool-panel,.preview-panel{padding:20px}.local-tag{display:none}.mode-card{padding:9px 3px}.mode-name{font-size:10px}.mode-desc{font-size:9px}.preview-stage{height:540px}.trust-line{gap:13px}}
@media(max-width:790px){.header{height:65px}.header-content{padding:0 19px}.nav-quiet{display:none}.header-nav{gap:8px}.github-link{padding:9px 11px}.brand-beta{display:none}.hero{padding:37px 20px 27px}.hero h1{font-size:48px;letter-spacing:-2px;margin:15px 0 16px}.hero-sub{font-size:14px;line-height:1.8}.trust-line{gap:14px;margin-top:20px}.workspace{display:flex;flex-direction:column;gap:15px;padding:0 15px}.preview-panel{order:1;width:100%;position:static;padding:19px}.tool-panel{order:2;width:100%;padding:19px}.preview-stage{height:430px;min-height:340px;max-height:50vh;padding:13px}.preview-head h2{font-size:19px}.preview-meta{padding-bottom:8px}.export-box{padding:18px}.benefits{margin-top:80px;margin-bottom:60px}.benefit-grid{grid-template-columns:1fr;gap:10px}.benefit-grid article{padding:22px}.benefit-grid h3{margin:13px 0 6px}.benefits h2{font-size:32px}.about-strip{margin:0 15px 50px;display:grid;grid-template-columns:56px 1fr;gap:15px;padding:20px}.about-strip a{grid-column:1/-1;justify-self:start}.footer-row{flex-direction:column;align-items:flex-start}.footer-links{flex-wrap:wrap;gap:15px}.footer{padding-bottom:115px}.mobile-bar{position:fixed;bottom:0;left:0;right:0;padding:11px max(16px,env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid #e6e7ea;box-shadow:0 -4px 22px #00000008;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:20;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.mobile-bar>span{display:flex;flex-direction:column;gap:4px;min-width:0}.mobile-bar strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-bar small{font-size:10px;color:#989ba5}.mobile-bar .button{min-width:118px;min-height:44px}}
@media(max-width:420px){.brand{font-size:16px}.brand-mark{width:30px;height:30px}.github-link span:nth-of-type(1){display:none}.hero{padding:30px 18px 25px}.hero h1{font-size:43px}.desktop-break{display:none}.trust-line{gap:11px;font-size:11px}.workspace{padding:0 11px}.preview-panel,.tool-panel{padding:17px}.preview-stage{height:345px;min-height:315px;max-height:49vh}.empty-art{height:155px}.fake-card{transform:scale(.91) rotate(-7deg)}.empty-preview h3{font-size:15px;margin:8px 0}.empty-preview p{font-size:11px}.empty-actions{margin-top:15px}.preview-live{padding:6px 8px}.preview-head h2,.panel-head h2{font-size:19px}.mode-card{padding:8px 2px}.mode-art{max-width:68px}.mode-name{font-size:10px}.mode-desc{font-size:9px}.export-box{padding:14px}.export-head strong{font-size:15px}.export-step{display:none}.file-row-title{flex-wrap:wrap}.benefits{margin-top:64px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* v1.1: reinforce the airy default and give users a one-tap reset. */
.preset-hint{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:16px 0 0;padding:12px 13px;border-radius:10px;background:#f8f8fb;border:1px solid #eeedf1;color:#717782;font-size:11px;line-height:1.6}
.preset-hint .inline-action{flex-shrink:0;font-size:11px;white-space:nowrap;color:#5a5ec2}
.mode-art-tile i{font-weight:500;opacity:.65;letter-spacing:.25px}
.mode-art-tile i:nth-child(2){left:42px;top:36px}
@media(max-width:480px){.preset-hint{align-items:flex-start;flex-wrap:wrap}.preset-hint .inline-action{padding-left:0}}
