body{height:100dvh;overflow:hidden}.top .bar{gap:10px}.d3{flex:1;display:grid;grid-template-columns:210px 1fr;min-height:0}.shapes{background:#fff;border-inline-end:1.5px solid var(--line);padding:12px;overflow:auto;display:flex;flex-direction:column;gap:6px}.shapes h2{font-size:16px;margin:6px 0 0}.sgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.shp{all:unset;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 4px;border-radius:14px;border:1.5px solid var(--line);background:#fff;font-size:12.5px;font-weight:700;text-align:center}.shp:hover,.shp:focus-visible{border-color:var(--brand);background:#f7f4ff}.shp svg{width:46px;height:46px}.stagewrap{display:flex;flex-direction:column;min-width:0;min-height:0}.tbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:8px 10px;background:#fff;border-bottom:1.5px solid var(--line)}.tg{display:flex;gap:4px;align-items:center;background:#f4f7ff;border-radius:12px;padding:3px}.tb{all:unset;cursor:pointer;min-width:36px;height:36px;padding:0 10px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:700;font-size:14px;color:var(--ink)}.tb span{font-size:13px}.tb:hover{background:#fff}.tb.on{background:var(--brand);color:#fff}.tb:disabled{opacity:.35;cursor:default}.tb.danger:hover{background:#ffe5e6}.snap{font-size:13px;font-weight:700;display:flex;gap:6px;align-items:center;padding:0 6px}.snap select{height:32px;border-radius:9px;padding:0 6px}.stage3{position:relative;flex:1;min-height:0;background:#eaf0fb}#c3{display:block;width:100%;height:100%;touch-action:none}.hint3{position:absolute;bottom:10px;inset-inline-start:12px;font-size:12.5px;color:var(--muted);background:#ffffffd9;border-radius:10px;padding:4px 10px;pointer-events:none}.props,.multi{position:absolute;top:12px;inset-inline-end:12px;width:250px;background:#fff;border:1.5px solid var(--line);border-radius:18px;padding:12px;box-shadow:0 12px 28px #121a3324;display:flex;flex-direction:column;gap:10px}.props .phead{display:flex;align-items:center;justify-content:space-between}.seg{display:flex;background:#f4f7ff;border-radius:12px;padding:3px}.seg button{all:unset;cursor:pointer;flex:1;text-align:center;padding:7px;border-radius:9px;font-weight:700;font-size:14px}.seg button.on{background:#fff;box-shadow:0 1px 3px #0000001f}.swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.swatches button{all:unset;cursor:pointer;aspect-ratio:1;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1.5px var(--line)}.swatches button.on{box-shadow:0 0 0 3px var(--brand)}.dims{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.dims label{display:flex;flex-direction:column;font-size:12px;font-weight:700;gap:2px}.dims input{height:36px;border:1.5px solid var(--line);border-radius:10px;padding:0 6px;font:700 15px var(--f-mono);width:100%;direction:ltr;text-align:center}.dims small{color:var(--muted);font-weight:500}.multi{font-weight:700}@media (max-width:760px){body{height:auto;overflow:auto}.d3{grid-template-columns:1fr;grid-template-rows:auto 70dvh}.shapes{border:0;border-bottom:1.5px solid var(--line);flex-direction:row;flex-wrap:nowrap;align-items:center;overflow-x:auto;padding:8px;min-width:0}.shapes h2,.shapes .sub{display:none}.sgrid{display:flex;gap:6px;flex-wrap:nowrap}.shp{flex:none;min-width:58px}.top .bar{flex-wrap:wrap;gap:8px;padding-block:6px}.logo img{height:44px}#myBtn{padding:0 10px}.tbar{gap:6px;overflow-x:auto;flex-wrap:nowrap}.tg{flex:none}.shp{padding:4px}.shp svg{width:34px;height:34px}.tb span{display:none}.props{width:auto;inset-inline-start:12px;top:auto;bottom:12px}.hint3,.top .crumbs{display:none}.pname{width:120px;flex:1;min-width:0}.stagewrap,.d3{min-width:0;max-width:100vw}}
