.tab-symbol--tangram{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#eee8fa;color:#8870b6;font-size:25px}
.tangram-top,.tangram-edit,.tangram-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 20px;border-top:1px solid #edf1f3;background:#fff}
.tangram-top label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:650;color:#405868}
.tangram-top select{max-width:180px;border:1px solid #d6e2e7;border-radius:8px;padding:7px;color:#243246;background:white}
.tangram-top input[type=range]{width:105px;accent-color:#8870b6}
.tangram-edit{background:#f9fbfb}.tangram-edit strong{font-size:12px;color:#405868;flex:1;min-width:220px}
.tangram-edit button,.tangram-top button{font-size:12px}
.tangram-toolbar{justify-content:space-between}.tangram-toolbar .drawing-tools{flex-wrap:wrap;justify-content:flex-start}
.tangram-color{width:25px;height:25px;padding:0;border-radius:50%;border:2px solid #fff;background:var(--ink);box-shadow:0 0 0 1px #c6d3dd}
.tangram-color.is-active{box-shadow:0 0 0 2px #405868}
.tangram-board{position:relative;height:650px;margin:0 20px 14px;background:white;border:1px solid #e0e9ed;border-radius:14px;overflow:hidden;isolation:isolate}
#tangram-svg{position:absolute;inset:0;width:100%;height:100%;z-index:1;touch-action:none}
.tangram-piece{cursor:grab;outline:none}.tangram-piece polygon{stroke-width:1.5;stroke-linejoin:round}
.tangram-piece.is-selected polygon,.tangram-piece:focus-visible polygon{stroke:#243246;stroke-width:3;stroke-dasharray:5 3}
.tangram-piece:active{cursor:grabbing}
#tangram-guide{pointer-events:none}.tangram-silhouette{fill:#f1f3f6;stroke:#c0c9d3;stroke-width:1.5;stroke-dasharray:6 5;stroke-linejoin:round}
.tangram-solution{fill:none;stroke:#9aa9b8;stroke-width:1;stroke-dasharray:4 3}
#tangram-drawing-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:2;touch-action:none;cursor:crosshair}
#tangram-drawing-canvas.is-select{pointer-events:none;cursor:default}#tangram-drawing-canvas.is-eraser{cursor:cell}
.tangram-bottom{padding:0 20px 16px;font-size:11px;color:#718490;line-height:1.6}
@media(max-width:700px){.tangram-top,.tangram-edit,.tangram-toolbar{padding:10px;gap:7px}.tangram-edit strong{width:100%;flex-basis:100%}.tangram-board{height:720px;margin:0 10px 10px}.tangram-bottom{padding:0 12px 12px}.tangram-top label{font-size:11px}.tangram-toolbar .drawing-tools{gap:6px}}
