@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans','Noto Sans KR',sans-serif;color:#292532;background:#faf9fc;font-synthesis:none;--purple:#a281f3;--deep:#7550c6;--line:#eeebf2;--muted:#88828f}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .18s,box-shadow .18s;white-space:nowrap}button:disabled{cursor:not-allowed;opacity:.42}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ad8afa;outline-offset:3px}button{border:0}a{color:inherit;text-decoration:none}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.header{height:88px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff}.brand{font-size:30px;font-weight:700;letter-spacing:-1.5px;display:flex;align-items:center;gap:10px}.brand-icon{color:#a78aef;font-size:40px;line-height:1}.brand-divider{height:21px;width:1px;background:#ded9e6;margin:0 10px}.brand-caption{font-size:14px;letter-spacing:-.3px;font-weight:500;color:#756e80}.help-link{font-size:14px;color:#79717f}.help-link span{margin-left:8px}main{max-width:1376px;margin:auto;padding:46px 48px 0}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px;gap:24px}.eyebrow{font-size:11px;letter-spacing:2.4px;font-weight:700;color:#9e82d3;margin-bottom:13px}h1{font-size:32px;letter-spacing:-1.35px;margin:0 0 12px;font-weight:700;line-height:1.5}h1 span{color:#9874e3}.intro p{color:var(--muted);font-size:15px;margin:0}.privacy{display:flex;align-items:center;gap:11px;font-size:13px;color:#645b72;flex-shrink:0}.privacy svg{color:#9c7cdf;width:28px;height:28px}.privacy small{display:block;font-size:12px;color:#a39bab;margin-top:4px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 342px;gap:22px;align-items:start}.stage-panel{min-width:0}.stage-toolbar,.stage-footer{display:flex;align-items:center;justify-content:space-between;background:white;border:1px solid var(--line);padding:18px 22px;gap:14px}.stage-toolbar{border-radius:18px 18px 0 0;border-bottom:0;height:70px}.step-title,.editor-heading{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600}.step{color:#aa8edc;font-size:11px;letter-spacing:.4px;background:#f3edfc;padding:5px 7px;border-radius:5px}.text-button{background:transparent;font-size:12px;color:#9a83be;padding:5px}.stage{height:510px;background:#f7f5fb;display:flex;align-items:center;justify-content:center;position:relative;border-left:1px solid var(--line);border-right:1px solid var(--line);overflow:hidden}.stage::before{content:'';position:absolute;inset:22px;border:1px dashed #ded5eb;border-radius:12px;pointer-events:none}.stage.dragging{background:#eee5ff}.stage.dragging::before{border-color:#a281f3;border-width:2px}.empty{text-align:center;position:relative;padding:28px}.upload-icon{margin:0 auto 28px;width:74px;height:74px;border-radius:23px;background:white;box-shadow:0 6px 25px #a68dcc13;display:grid;place-items:center;color:#ab8fe2;position:relative;transform:rotate(-6deg)}.upload-icon svg{width:36px;height:36px}.upload-icon span{position:absolute;bottom:-6px;right:-7px;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#b294ee;color:white;border:3px solid #f7f5fb;font-size:20px}.empty h2{font-size:22px;font-weight:600;letter-spacing:-.7px;margin:0 0 10px}.empty p{font-size:14px;color:#9b92a7;margin:0 0 28px}.primary{color:white;background:var(--purple);border:1px solid #a281f3;border-radius:9px;font-size:14px;font-weight:600;padding:13px 22px;box-shadow:0 4px 8px #aa8ad01a}.primary:hover:not(:disabled){background:#936be8;box-shadow:0 4px 13px #aa8ad045}#upload{width:186px;display:flex;justify-content:space-between;margin:auto}.paste-hint{font-size:12px;color:#9c92a8;margin:22px 0 18px}kbd{font:11px 'DM Sans',sans-serif;border:1px solid #e3ddea;border-radius:4px;background:#fff;padding:3px 5px;color:#887c99}.empty small{font-size:11px;color:#aea5b8}.stage-footer{border-top:0;border-radius:0 0 18px 18px;padding:14px 20px;min-height:60px;color:#aaa1b3;font-size:12px}.view-tools{display:flex;gap:7px;flex-shrink:0}.view-tools button{border:1px solid #eee9f4;border-radius:6px;background:white;color:#756882;font-size:12px;padding:6px 8px}.view-tools svg{width:16px;height:16px;vertical-align:middle}.view-tools button[aria-pressed=true]{background:#eee4ff;color:#7550c6}.status{min-height:52px;padding:16px 3px;font-size:12px;line-height:1.7;color:#9e94aa}.status.error{color:#b34361}.editor{border:1px solid var(--line);border-radius:18px;background:#fff;padding:22px}.editor-heading h2{margin:0;font-size:16px;font-weight:600}.ai-tag{margin-left:auto;font-size:10px;letter-spacing:1px;color:#aa8ad8;border:1px solid #e7d9fa;padding:3px 6px;border-radius:4px}.remove-button{width:100%;margin-top:20px}.remove-button span{margin-right:7px}.engine-note{color:#b0a6bc;font-size:10px;text-align:center;margin:9px 0 0}fieldset{margin:0;padding:0;border:0;min-width:0}fieldset:disabled .control-section{opacity:.65}h3{margin:0;font-size:13px;font-weight:600}.control-section{padding:21px 0 19px;border-bottom:1px solid #f0edf5}.tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;background:#f6f4f9;padding:4px;border-radius:7px;margin:13px 0 15px}.tabs button{font-size:11px;background:transparent;color:#91869e;padding:8px 2px;border-radius:5px}.tabs .active{background:white;color:#8762ca;box-shadow:0 1px 4px #3c205912}.bg-option{display:flex;align-items:center;gap:9px;min-height:37px;font-size:12px;color:#8e809e}.bg-option small{display:block;font-size:10px;color:#b0a6ba;margin-top:5px}.transparent-chip{height:34px;width:34px;border:1px solid #e2dce9;border-radius:6px;flex-shrink:0}.checker,.canvas-wrap{background-color:#fff;background-image:linear-gradient(45deg,#eeeaf2 25%,transparent 25%),linear-gradient(-45deg,#eeeaf2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eeeaf2 75%),linear-gradient(-45deg,transparent 75%,#eeeaf2 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.subtle{font-size:10px;color:#b7adbf}.range-label{display:flex;justify-content:space-between;font-size:12px;color:#8c7e9c;margin:16px 0 8px}.range-label output{font-family:'DM Sans',sans-serif;color:#a28abf;font-size:11px}input[type=range]{width:100%;margin:0;accent-color:#ac8be9;height:14px;cursor:pointer}.micro{font-size:10px;color:#bbb1c3;margin:8px 0 0}.brush-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px}.brush-tools button{border:1px solid #eee8f4;background:#fff;font-size:11px;padding:9px 0;border-radius:6px;color:#998ba5}.brush-tools button.active{background:#f4eefd;color:#9272c8;border-color:#ddcff1}.undo-row{display:flex;align-items:center;justify-content:space-between;margin-top:8px;font-size:10px;color:#b0a3be}.undo-row button{background:transparent;color:#9474bf;font-size:20px}.export{padding-top:19px}.export label{font-size:12px;color:#877b94}.export select{border:0;background:#f8f6fb;border-radius:5px;padding:7px;color:#8b7d99;font-size:11px;max-width:175px}.download-button{display:flex;justify-content:space-between;width:100%;border:1px solid #c7b2ec;background:#f4edff;color:#8a65c5;border-radius:8px;padding:13px 15px;font-size:13px;font-weight:600;margin-top:14px}.export p{text-align:center;font-size:10px;color:#b0a5bc;margin:9px 0 0}.guide{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding:30px 10px 36px;margin-top:12px}.guide>div{display:flex;gap:12px;align-items:flex-start}.guide-num{font-size:12px;color:#a18bbd;background:#eee8f7;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.guide h3{font-size:13px;color:#7b6f88;margin:3px 0 7px}.guide p{font-size:11px;color:#aaa0b5;margin:0;line-height:1.6}.faq{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:21px 10px 28px}details{font-size:12px;color:#91859f}summary{cursor:pointer}details p{line-height:1.8;color:#a396b0}footer{border-top:1px solid var(--line);display:flex;gap:24px;align-items:center;padding:25px 5%;color:#b0a4be;font-size:11px}footer .brand{font-size:23px;color:#a18abf}footer>span:last-child{margin-left:auto;font-size:10px}.canvas-wrap{position:relative;max-height:calc(100% - 40px);max-width:calc(100% - 40px);line-height:0;border-radius:4px;overflow:hidden;box-shadow:0 6px 25px #4030500d}canvas{display:block;max-width:100%;touch-action:none}.busy{position:absolute;inset:0;background:#faf7ffee;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:#8564b9;z-index:4}.busy span{font-size:12px;max-width:80%;text-align:center;line-height:1.6}.spinner{width:38px;height:38px;border:3px solid #e3d6f4;border-top-color:#a281f3;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.swatches{display:flex;gap:6px;flex-wrap:wrap}.swatch{width:24px;height:24px;border-radius:50%;border:1px solid #e0d8e9}.swatch.selected{outline:2px solid #a281f3;outline-offset:2px}.custom-color{display:flex;align-items:center;gap:6px;font-size:10px;margin-left:auto;white-space:nowrap}input[type=color]{width:24px;height:26px;border:0;padding:0;background:transparent;cursor:pointer}.gradient{height:36px;flex:1;border:2px solid white;border-radius:6px}.gradient.selected{outline:2px solid #b594ed}.lavender{background:linear-gradient(135deg,#ebe2ff,#b69bea)}.peach{background:linear-gradient(135deg,#ffe4d9,#efb5c9)}.sky{background:linear-gradient(135deg,#e4f2ff,#94c4eb)}.secondary{font-size:11px;border:1px solid #e7ddf1;background:#faf8fd;border-radius:6px;padding:9px;color:#9680b0}#photo-options{flex-wrap:wrap}#file-info{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#controls:not(:disabled) .tabs button,#controls:not(:disabled) .brush-tools button{font-size:12px}.engine-note,.micro,.undo-row,.export p,.bg-option small,.subtle{font-size:12px}.range-label,.export label,.text-button,.guide h3,.guide p,.faq,.status,.stage-footer,.view-tools button{font-size:14px}.control-section h3{font-size:14px}.guide{gap:20px}.editor{padding:22px}.stage{height:600px}.tabs button{font-size:12px}.empty p{font-size:16px}.empty small,.paste-hint{font-size:13px}.intro p{font-size:16px}.engine-note{line-height:1.6}.control-section{padding:18px 0}.micro{line-height:1.7}.export select{font-size:13px}.export p{font-size:12px}.guide p{font-size:13px}.empty h2{font-size:23px}.guide h3{font-size:14px}.eyebrow{font-size:12px}footer{font-size:12px}footer>span:last-child{font-size:12px}
@media(min-width:1500px){main{padding-top:56px}.stage{height:650px}}
@media(max-width:1100px){main{padding:34px 28px 0}.workspace{grid-template-columns:minmax(0,1fr) 320px;gap:18px}h1{font-size:27px}.privacy{display:none}.stage-toolbar{padding:16px}.stage-footer{padding:12px;flex-wrap:wrap}.stage{height:640px}.empty{padding:18px}.empty h2{font-size:20px}.empty p{font-size:14px}.guide{gap:16px}.guide p{font-size:12px}.editor{padding:20px}}
@media(max-width:760px){.header{height:70px;padding:0 22px}.brand{font-size:27px}.brand-caption,.brand-divider{display:none}main{padding:30px 18px 0}.intro{margin-bottom:25px}h1{font-size:25px;letter-spacing:-1px}h1 span{display:block}.intro p{font-size:14px}.eyebrow{font-size:10px;letter-spacing:2px}.workspace{grid-template-columns:1fr;gap:5px}.stage{height:400px}.stage-footer{font-size:12px}.stage-toolbar{height:60px}.status{font-size:12px;padding:12px 4px}.editor{padding:22px}.editor-heading h2{font-size:18px}.remove-button{margin-top:16px}.tabs button{font-size:14px}.control-section{padding:20px 0}.brush-tools button{font-size:14px!important}.engine-note{font-size:12px}.guide{grid-template-columns:1fr;padding:30px 8px;gap:24px}.guide p{font-size:13px}.faq{grid-template-columns:1fr;gap:20px}footer{padding:22px;gap:16px;flex-wrap:wrap}footer>span:last-child{display:none}.empty h2{font-size:20px}.empty p{font-size:14px}.privacy{display:none}.stage-footer #file-info{max-width:100%;font-size:12px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:0.01ms!important;transition:none!important}}
/* Readable secondary text on the light lavender surfaces. */
.engine-note,.micro,.undo-row,.export p,.bg-option small,.subtle,.status,.stage-footer,.guide p,details,footer,.paste-hint,.empty small{color:#80748d}.range-label,.export label,.bg-option,.text-button{color:#796589}.primary:disabled{opacity:.55}.editor-heading,.step-title{color:#4c4259}footer a.source-link{margin-left:0;font-size:12px;text-decoration:underline;text-underline-offset:3px}.guide p{line-height:1.7}
