:root{--b:#1758d7;--ink:#172033;--muted:#6b778b;--line:#dfe6ef;--bg:#f4f7fb}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,sans-serif}header{height:58px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100% - 1200px)/2));position:sticky;top:0;z-index:20}header a{font-size:22px;font-weight:900;color:var(--b);text-decoration:none}header a span{color:#111}header small{color:var(--muted)}main{max-width:1200px;margin:auto;padding:0 18px 45px}.hero{text-align:center;padding:42px 0 27px}.hero>b{font-size:10px;letter-spacing:2px;color:var(--b)}.hero h1{font-size:clamp(32px,5vw,52px);margin:8px 0;letter-spacing:-1.5px}.hero p{max-width:800px;margin:auto;color:var(--muted);line-height:1.7}.hero em{display:inline-block;margin-top:12px;padding:8px 12px;background:#eaf8f1;color:#376c53;border-radius:8px;font-size:10px}.tool,.share,.seo{background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:0 10px 30px #12213b0b;padding:18px}.steps{text-align:center;padding:7px;color:#6c788b;font-size:11px}.uploads{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:15px}.upload{border:2px dashed #b9c9dd;background:#f8fbff;border-radius:13px;text-align:center;padding:25px}.upload i{font-size:36px}.upload h2{font-size:18px;margin:7px}.upload p{font-size:11px;color:var(--muted)}button{border:0;border-radius:8px;padding:10px 13px;font-weight:900;font-size:11px;cursor:pointer}.upload button,.primary{background:linear-gradient(135deg,#1758d7,#3e7ef0);color:#fff}.alt{background:#edf4ff;color:var(--b);border:1px solid #cbdcf9}.upload small{display:block;color:var(--muted);margin-top:9px;overflow:hidden;text-overflow:ellipsis}.choice{text-align:center;background:#f8fbff;border:1px solid #d7e2f0;border-radius:12px;margin-top:15px;padding:18px}.choice h2{margin:0}.choice p{font-size:11px;color:var(--muted)}.work{display:grid;grid-template-columns:330px 1fr;gap:15px;margin-top:15px}.controls{display:grid;gap:10px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}.panel h3{margin:0 0 11px;font-size:13px}.panel label{display:block;font-size:9px;font-weight:900;text-transform:uppercase;color:#657186;margin:10px 0 5px}.panel output{float:right;color:var(--b)}.panel input[type=range]{width:100%;accent-color:var(--b)}.panel input[type=text],.panel input:not([type]),.panel select{width:100%;height:37px;border:1px solid var(--line);border-radius:8px;padding:0 8px;margin:3px 0}.panel input[type=color]{width:100%;height:34px;padding:2px}.tabs{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:8px;overflow:hidden}.tabs button{border-radius:0;background:#fff;color:#687487}.tabs .active{background:var(--b);color:#fff}.swatches,.designs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.swatch,.design{height:34px;border-radius:7px;border:2px solid transparent}.swatch.active,.design.active{border-color:var(--b)}.design{background:#f2f5f8;font-size:15px}.preview{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;min-width:0}.preview>div:first-child{display:flex;justify-content:space-between}.preview h2{font-size:17px;margin:0}.preview span{font-size:10px;color:var(--muted)}.canvasBox{min-height:540px;margin-top:12px;padding:15px;display:grid;place-items:center;overflow:auto;background:repeating-conic-gradient(#eef2f6 0 25%,#fff 0 50%) 50%/22px 22px;border-radius:12px}.canvasBox canvas{max-width:100%;max-height:700px;box-shadow:0 10px 25px #1112}.tip{font-size:10px;color:var(--muted);line-height:1.5;background:#f8fafc;padding:9px;border-radius:8px}.wide{width:100%;margin-top:7px}.share,.seo{margin-top:15px}.share h2,.seo h2{margin-top:0}.share button{margin:4px 5px 0 0}.seo p,.seo li{font-size:13px;color:#566276;line-height:1.8}.seo h3{margin-top:25px}.seo details{border-top:1px solid var(--line);padding:12px 0}.seo summary{font-weight:800;cursor:pointer}footer{max-width:1200px;margin:auto;padding:25px 18px 40px;color:#7b8697;font-size:10px;display:flex;justify-content:space-between}.hide{display:none!important}.modal{position:fixed;inset:0;background:#08122bd9;z-index:100;display:grid;place-items:center;padding:18px}.cropBox{background:#fff;padding:15px;border-radius:15px;max-width:850px;width:100%}.cropBox h2{margin:0 0 10px}.cropBox h2 button{float:right;border-radius:50%;padding:5px 10px;background:#edf1f5}.cropBox>p{font-size:10px;color:var(--muted)}#stage{position:relative;background:#111;display:grid;place-items:center;overflow:hidden;max-height:65vh}#cropCanvas{max-width:100%;max-height:65vh;display:block}.modal #rect{position:absolute;border:2px solid #fff;box-shadow:0 0 0 9999px #0008;cursor:move}.modal #rect i{position:absolute;width:16px;height:16px;right:-9px;bottom:-9px;border:2px solid var(--b);background:#fff;border-radius:50%;cursor:nwse-resize}#toast{position:fixed;right:18px;bottom:18px;background:#142039;color:#fff;padding:11px 15px;border-radius:8px;font-size:11px;opacity:0;transition:.2s;z-index:200}#toast.show{opacity:1}@media(max-width:900px){.work{grid-template-columns:1fr}.canvasBox{min-height:400px}}@media(max-width:600px){.uploads{grid-template-columns:1fr}.canvasBox{min-height:320px}header small{display:none}}
