:root{color-scheme:light;--paper:#f7f6fa;--ink:#2c2a38;--muted:#878391;--accent:#7961ad;--accent-light:#f0eaf9;--line:#eeebf2;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-synthesis:weight}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-size:14px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,canvas:focus-visible{outline:3px solid #b29bd5;outline-offset:4px}button{color:inherit}button,input,select{accent-color:var(--accent)}.site-header{height:88px;max-width:1256px;margin:auto;padding:0 44px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e9e6ee}.brand{display:flex;align-items:center;gap:11px;font-size:22px;font-weight:750;letter-spacing:-.8px}.brand img{width:33px;height:33px;border-radius:50%;border:1px solid #e3dde9}.brand-dot{color:var(--accent)}.back-link{color:#777180;font-size:12px;display:flex;gap:18px;align-items:center}.back-link:hover{color:var(--accent)}main{max-width:1256px;margin:auto;padding:24px 44px 0}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:31px}.eyebrow{font-size:11px;letter-spacing:3px;color:var(--accent);margin:0 0 13px}h1{font-size:35px;font-weight:750;letter-spacing:-1.5px;line-height:1.4;margin:0}h1 span{color:#aa94ce}.intro{margin:11px 0 0;color:var(--muted);font-size:13px;line-height:1.7}.local-badge{font-size:11px;color:#7c7687;border:1px solid #e7e1ef;border-radius:30px;padding:8px 12px;margin-bottom:4px;white-space:nowrap}.local-badge span{font-size:8px;color:#8ca68d;margin-right:6px}.workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,1fr);gap:26px;align-items:start;margin-bottom:24px}.preview-panel,.editor-panel{background:#fff;border:1px solid #e9e5ef;border-radius:20px;box-shadow:0 8px 26px #36214903;overflow:hidden}.preview-panel{position:sticky;top:20px}.panel-top{height:66px;padding:0 24px;display:flex;justify-content:space-between;align-items:center}h2{margin:0;font-size:14px;font-weight:650;letter-spacing:.3px}.template-tag{font-size:10px;color:#938b9d;letter-spacing:1px}.preview-stage{position:relative;padding:30px 28px;background-color:#f2f0f5;background-image:radial-gradient(#dcd6e6 .7px,transparent .7px);background-size:14px 14px;min-height:280px;display:flex;align-items:center;justify-content:center}.canvas-wrap{position:relative;width:100%;box-shadow:0 4px 18px #24163610;line-height:0;background:#fff;overflow:hidden;border-radius:3px}canvas{display:block;width:100%;height:auto;touch-action:none;cursor:grab}canvas:active{cursor:grabbing}.text-guide{position:absolute;border:1px dashed #a08abc;border-radius:4px;pointer-events:none;transition:opacity .15s}.text-guide:before,.text-guide:after{content:"";position:absolute;width:5px;height:5px;border:1px solid #a08abc;background:#fff;top:-3px;border-radius:1px}.text-guide:before{left:-3px}.text-guide:after{right:-3px}.image-status{position:absolute;background:#fff;padding:10px 14px;border-radius:8px;font-size:12px;line-height:1.7;color:var(--muted);max-width:80%;text-align:center}.image-status[hidden]{display:none}.preview-bottom{min-height:57px;padding:15px 22px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#9b95a2}.hint-icon{font-size:17px;margin-right:5px;color:#aaa0b8;vertical-align:middle}.guide-toggle{white-space:nowrap;display:flex;align-items:center;gap:5px}.guide-toggle input{width:12px;height:12px}.editor-panel{padding:25px 26px 22px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:8px}.text-button{background:none;border:0;padding:2px 0;color:#8a799f;font-size:11px;white-space:nowrap}.text-button:hover{color:#5d3c8b;text-decoration:underline}.textarea-wrap{position:relative}textarea{display:block;resize:vertical;width:100%;min-height:123px;max-height:300px;background:#fbfafc;border:1px solid #e7e1ee;border-radius:10px;padding:14px 15px 34px;font-size:16px;line-height:1.65;letter-spacing:.4px;color:#40354f}textarea::placeholder{color:#b7adbf;font-size:13px}.text-count{position:absolute;right:12px;bottom:10px;color:#aaa2b3;font-size:10px;font-variant-numeric:tabular-nums}.text-count.over-limit{color:#b55151}.input-meta{display:flex;justify-content:space-between;align-items:center;margin:10px 0 0;gap:8px;font-size:10px;color:#a29aa9}.input-meta label{white-space:nowrap}#max-chars{width:42px;padding:3px 2px;border:1px solid #e6e0eb;border-radius:5px;background:#fff;color:#766b82;text-align:center;font-size:11px;margin-left:3px}.sample-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:17px;font-size:10px;color:#aaa1b2}.sample-row>span{margin-right:2px}.sample-row button{font-size:10px;padding:6px 8px;background:#f7f4fb;border:1px solid #eee8f5;border-radius:6px;color:#8a7a9a}.sample-row button:hover{background:#ede4f8}.divider{height:1px;background:var(--line);margin:22px 0}.small-label{font-size:10px;color:#aaa2b3}.mode-switch{background:#f5f3f8;border-radius:8px;display:grid;grid-template-columns:1fr 1fr;padding:4px;margin-bottom:18px}.mode-switch button{background:none;border:0;border-radius:5px;font-size:11px;padding:8px}.mode-switch button[aria-pressed="true"]{color:var(--accent);background:#fff;box-shadow:0 1px 4px #5d437b0e}.mode-switch button[aria-pressed="false"]{color:#a49baa}.setting-row{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#8b8095;margin-top:12px}.number-unit{display:flex;align-items:center;gap:3px;color:#a59bad;font-size:10px}.number-unit input{width:46px;font-size:11px;text-align:right;border:0;border-bottom:1px solid #eee8f2;color:#6b5d7b;border-radius:0;padding:3px 0;background:transparent}.number-unit input::-webkit-inner-spin-button{display:none}.range{display:block;width:100%;height:14px;cursor:pointer;margin:8px 0 1px;padding:0;background:transparent}.range::-webkit-slider-runnable-track{height:3px;border-radius:4px;background:#e9e0f2}.range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:#fff;width:13px;height:13px;border:3px solid #ad95c8;border-radius:50%;margin-top:-5px}.range{-webkit-appearance:none;appearance:none}.range::-moz-range-track{height:3px;border-radius:4px;background:#e9e0f2}.range::-moz-range-thumb{background:#fff;width:7px;height:7px;border:3px solid #ad95c8;border-radius:50%}.typography-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:19px;font-size:10px;color:#918799}.typography-row label{display:flex;align-items:center;gap:5px}.typography-row select{max-width:95px;border:1px solid #e9e3ef;border-radius:5px;background:#fff;font-size:10px;color:#7c6e89;padding:4px 1px}.bold-toggle input{width:12px;height:12px;margin:0}.color-control input{padding:1px;border:1px solid #e5deeb;background:#fff;width:25px;height:24px;border-radius:5px;cursor:pointer}.align-row{margin-top:19px;display:flex;align-items:center;gap:12px;font-size:10px;color:#918799}.align-row>div{display:flex;gap:3px}.align-row>div button{width:26px;height:25px;background:#faf9fc;border:1px solid #eee9f3;border-radius:4px;font-size:10px}.align-row button[aria-pressed="true"]{background:#eee7f6;color:#796196;border-color:#e0d3ed}.align-row>.text-button{margin-left:auto}.feedback{margin:10px 0 0;padding:8px 10px;background:#fff7ed;border-radius:6px;color:#a06c3e;font-size:11px;line-height:1.6}.export-area{margin-top:26px}.download-button{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;background:#8064a7;border:1px solid #785e9b;border-radius:9px;color:#fff;height:47px;font-size:13px;box-shadow:0 5px 12px #8465aa20}.download-button:hover:enabled{background:#6e5099}.download-button svg{width:17px;height:17px}.download-format{font-size:9px;opacity:.6;border-left:1px solid #ffffff40;padding-left:11px;margin-left:3px;letter-spacing:.5px}.export-area>p{font-size:9px;text-align:center;color:#aea5b6;line-height:1.6;margin:10px 0 0}.export-area .export-status{color:#806499;font-size:11px;margin:0}.export-area #save-fallback{font-size:12px;text-decoration:underline;display:block;text-align:center;color:var(--accent);margin-top:8px}.export-area #save-fallback[hidden]{display:none}.page-note{margin:25px 0 36px;text-align:center;font-size:10px;letter-spacing:.4px;color:#a9a0b1;line-height:2}.page-note span{margin-left:14px;color:#b6aebc}footer{max-width:1168px;margin:0 auto;padding:20px 0 24px;border-top:1px solid #e9e6ee;display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#b0a9b9;line-height:1.6}footer>div{display:flex;gap:18px;flex-wrap:wrap}footer a{display:inline-flex;align-items:center;gap:4px}footer img{width:10px;height:11px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(min-width:1300px){.preview-stage{padding:39px 36px}.editor-panel{padding:28px 30px}.workspace{grid-template-columns:minmax(0,1.5fr) minmax(340px,1fr)}}
@media(max-width:900px){.site-header{padding:0 25px;height:72px}main{padding:20px 25px 0}.workspace{gap:18px;grid-template-columns:minmax(0,1.2fr) minmax(310px,1fr)}.preview-stage{padding:18px}.preview-bottom{flex-direction:column;align-items:start;padding:12px 18px}.editor-panel{padding:22px 19px}h1{font-size:30px}.local-badge{display:none}footer{margin:0 25px;flex-direction:column}}
@media(max-width:680px){.site-header{height:65px;padding:0 20px}.brand{font-size:20px}.brand img{width:29px;height:29px}main{padding:17px 17px 0}.page-heading{margin-bottom:22px}.eyebrow{font-size:10px;margin-bottom:8px}h1{font-size:28px}.intro{font-size:12px;margin-top:8px}.workspace{grid-template-columns:1fr;gap:18px}.preview-panel{position:static;border-radius:14px}.panel-top{height:52px;padding:0 18px}.preview-stage{padding:20px 28px}.canvas-wrap{max-width:470px}.preview-bottom{flex-direction:row;align-items:center;padding:12px 15px;font-size:9px;min-height:47px}.editor-panel{border-radius:14px;padding:24px}.page-note{margin:23px 0;font-size:9px}.page-note span{display:block;margin:0}footer{margin:0 20px;font-size:8px}footer>div{gap:10px}.range{height:24px;margin:10px 0}.mode-switch button{padding:11px}.text-button{padding:5px 0}.input-meta{font-size:10px}.sample-row button{padding:8px 10px}.download-button{height:51px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
