*{box-sizing:border-box}body{margin:0;font:16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1f2430;background:#faf8f5}
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}.top{background:#fff;border-bottom:1px solid #eee}.top .wrap{display:flex;justify-content:space-between;align-items:center;height:56px}
.logo{color:#c2185b;font-size:18px}nav a{margin-left:18px;color:#444;text-decoration:none;font-size:14px}
.hero{text-align:center;padding:34px 0 18px}.hero h1{font-size:40px;margin:0 0 8px}.sub{max-width:720px;margin:0 auto;color:#555}
.tool{display:grid;grid-template-columns:300px 1fr;gap:22px;background:#fff;border:1px solid #eee;border-radius:14px;padding:20px;box-shadow:0 6px 24px #0000000a}
.controls .row{margin:14px 0}.controls label{font-size:14px;font-weight:600;display:flex;justify-content:space-between;align-items:center;gap:8px}.controls input[type=range],.controls select{width:100%}
.drop{display:block!important;border:2px dashed #e0a1bd;border-radius:12px;padding:22px;text-align:center;cursor:pointer;background:#fff5f9;font-weight:500!important}.drop input{display:none}
button{font:inherit;border:0;border-radius:9px;padding:10px 14px;cursor:pointer;background:#1f2430;color:#fff;width:100%;margin-top:8px}button.ghost{background:#f1f1f1;color:#333}button.pro{background:#c2185b}
.tag{background:#fff;color:#c2185b;border-radius:4px;padding:0 5px;font-size:11px;margin-left:4px}
.stats{font-size:13px;background:#f7f7f9;border-radius:8px;padding:10px;color:#444}
.tabs button{width:auto;background:#eee;color:#333;margin:0 6px 10px 0}.tabs button.on{background:#1f2430;color:#fff}
.canvasBox{overflow:auto;max-height:560px;border:1px solid #eee;border-radius:8px;background:#fff}canvas{display:block;image-rendering:pixelated}
table{width:100%;border-collapse:collapse;font-size:13px}td,th{padding:4px 6px;border-bottom:1px solid #f0f0f0;text-align:left}.sw{width:18px;height:18px;border-radius:3px;border:1px solid #0002}
.note{font-size:12px;color:#888}.content{max-width:820px;margin:40px auto}.content h2{margin-top:30px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.card{background:#fff;border:1px solid #eee;border-radius:12px;padding:16px}.card.hi{border:2px solid #c2185b}.price{font-size:28px;font-weight:700;margin:4px 0}.price small{font-size:13px;color:#777}
details{background:#fff;border:1px solid #eee;border-radius:10px;padding:10px 14px;margin:8px 0}summary{font-weight:600;cursor:pointer}
.modal{position:fixed;inset:0;background:#0007;display:flex;align-items:center;justify-content:center}.modal[hidden]{display:none}.box{background:#fff;border-radius:14px;padding:24px;width:360px;text-align:center}
.foot{color:#999;font-size:13px;padding:30px 20px;text-align:center}
@media(max-width:820px){.tool{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.hero h1{font-size:30px}}
.out{min-width:0}
