:root{--ink:#142e26;--green:#126047;--line:#d5ded5;--muted:#597065;--bg:#f6f7f3}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"PingFang SC","Noto Sans CJK SC","Microsoft YaHei",system-ui,sans-serif;-webkit-font-smoothing:antialiased}.defs{display:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}header{border-bottom:1px solid var(--line)}.bar,main{width:min(1120px,calc(100% - 96px));margin:auto}.bar{height:78px;display:flex;align-items:center;justify-content:space-between}.wordmark,.headernote,.previewhead,h2,.save,.local,.previewfoot{display:flex;align-items:center}.wordmark{gap:11px;font-size:22px;font-weight:760}.wordmark svg{width:32px;height:32px;color:var(--green);stroke:none}.wordmark span{width:1px;height:18px;background:#b6c3b9;margin:0 2px}.wordmark b{font-size:16px;font-weight:550;letter-spacing:-.04em}.headernote{font-size:14px;gap:8px;color:#426052}.headernote i{display:block;width:7px;height:7px;border-radius:50%;background:#42845b}main{padding:clamp(36px,6.3vh,70px) 0 60px}.intro{margin-bottom:32px}h1{margin:0;font-size:clamp(32px,4.3vw,58px);letter-spacing:-.055em;line-height:1.25;font-weight:750}.intro h1 span{color:#418867;padding-left:4px}.intro p{color:var(--muted);margin:12px 0 0;font-size:17px}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:22px}.control,.preview{border:1px solid var(--line);border-radius:17px;overflow:hidden}.control{background:#fff;padding:32px;display:flex;flex-direction:column}h2{margin:0;font-size:19px;font-weight:680;letter-spacing:.015em;gap:10px}.control h2{margin-bottom:32px}.iconbox{background:#e9f1e9;border-radius:8px;width:34px;height:34px;display:grid;place-items:center;color:var(--green)}.label{font-size:15px;font-weight:650;margin-bottom:9px;display:block}.urlbox{display:flex;align-items:center;border:1px solid #b9c9be;border-radius:8px;height:52px;gap:9px;padding:0 13px;background:#fbfcfa;color:var(--muted)}.urlbox:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #14614719}.urlbox input{min-width:0;flex:1;border:none;background:transparent;outline:0;font:inherit;color:var(--ink)}.urlbox input::placeholder{color:#79877f}#clear{border:none;border-radius:6px;font:20px sans-serif;background:#edf2ec;cursor:pointer;color:var(--ink);width:28px;height:28px}.hint{font-size:13px;color:var(--muted);margin:8px 0 24px;min-height:19px}.hint.error{color:#9a392b}fieldset{border:0;margin:0;padding:0;min-width:0}legend{padding:0}.sizes{display:flex;gap:8px}.sizes label{flex:1;position:relative;cursor:pointer}.sizes input{opacity:0;position:absolute;inset:0;margin:0;cursor:pointer}.sizes span{display:block;text-align:center;padding:11px 0;border:1px solid var(--line);border-radius:7px;font-size:14px;font-weight:550;color:#53665c}.sizes input:checked+span{color:var(--green);background:#eaf3e9;border-color:#589374;box-shadow:inset 0 0 0 .5px #589374}.sizes input:focus-visible+span,button:focus-visible{outline:3px solid #4e9269;outline-offset:3px}.save{margin:28px 0 22px;justify-content:center;gap:10px;background:var(--green);border:0;border-radius:8px;color:white;height:52px;font:650 16px inherit;font-family:inherit;font-size:16px;font-weight:650;cursor:pointer}.save:disabled{background:#466d5d;cursor:default}.save:hover:enabled{background:#0b4935}.save span{padding:2px 5px;border:1px solid #ffffff60;border-radius:4px;font:600 10px/1.3 monospace;letter-spacing:.05em}.local{border-top:1px solid #e0e6df;margin-top:auto;padding-top:18px;font-size:13px;color:var(--muted);gap:8px}.local svg{width:16px;height:16px}.preview{background:#eaf1e8;display:flex;flex-direction:column}.previewhead,.previewfoot{justify-content:space-between;gap:12px;padding:19px 24px}.previewhead{border-bottom:1px solid #c9d8c9}.previewhead h2{font-size:17px}.previewhead h2 svg{width:18px;height:18px}.previewhead>span{font-size:13px;padding:3px 9px;color:#446752;border:1px solid #bbcebc;border-radius:20px}.stage{min-height:276px;flex:1;display:grid;place-items:center;padding:22px;background-color:#deeadb;background-image:radial-gradient(#a4bda4 .85px,transparent .95px);background-size:12px 12px}.target{position:relative;padding:10px;width:min(234px,82%);aspect-ratio:1}.target i{width:13px;height:13px;position:absolute;border:solid #518465}.target i:nth-child(1){left:0;top:0;border-width:2px 0 0 2px}.target i:nth-child(2){right:0;top:0;border-width:2px 2px 0 0}.target i:nth-child(3){bottom:0;left:0;border-width:0 0 2px 2px}.target i:nth-child(4){bottom:0;right:0;border-width:0 2px 2px 0}canvas{width:100%;height:auto;display:block;background:white;box-shadow:0 4px 15px #234b3020;image-rendering:pixelated}.previewfoot{border-top:1px solid #c9d8c9;color:#48634f;font-size:13px;padding:14px 24px}.previewfoot span:first-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.previewfoot span:last-child{font:13px ui-monospace,monospace;white-space:nowrap}@media(max-width:800px){.bar,main{width:calc(100% - 40px)}.control{padding:24px}.workspace{gap:15px}}@media(max-width:680px){.bar{height:60px}.intro{margin-bottom:22px}.intro p{font-size:15px}.workspace{grid-template-columns:1fr}.control h2{margin-bottom:20px}.control{padding:20px}.save{margin:20px 0 16px}.local{padding-top:13px}.hint{margin-bottom:16px}.previewhead,.previewfoot{padding:14px 20px}.stage{min-height:250px}.wordmark b{font-size:14px}main{padding-top:28px}}
