.cb-shape { width: 28px; height: 28px; display: block; }
.cb-slots, .cb-pal { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-slot, .cb-sym { min-width: 48px; min-height: 48px; padding: 4px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: var(--text); }
.cb-slot.sel { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
.cb-sym:disabled { opacity: .35; }
.cb-sym small { font-size: .65rem; line-height: 1.1; max-width: 64px; text-align: center; }
.cb-sym { min-width: 64px; }
.cb-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cb-row .cb-shape { width: 24px; height: 24px; }
.cb-fb { display: inline-flex; gap: 8px; font-weight: 700; margin-left: auto; font-size: .9rem; }
.cb-peg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--text); vertical-align: middle; margin-right: 3px; }
.cb-peg.x { background: var(--text); }
.cb-sh { fill: currentColor; }
.cb-c0 { color: #d32f2f; } .cb-c1 { color: #1565c0; } .cb-c2 { color: #2e7d32; } .cb-c3 { color: #c9a400; }
.cb-c4 { color: #7b1fa2; } .cb-c5 { color: #ef6c00; } .cb-c6 { color: #d81b60; } .cb-c7 { color: #607d8b; }
:root[data-theme="dark"] .cb-c1 { color: #64b5f6; } :root[data-theme="dark"] .cb-c4 { color: #ce93d8; } :root[data-theme="dark"] .cb-c2 { color: #81c784; }
.cb-hist { max-height: 40dvh; overflow-y: auto; }
