/* Blackjack maths (2.6.18) */
.bjm-chart { margin-top: 16px; }
.bjm-tbl th, .bjm-tbl td { text-align: center; white-space: nowrap; }
.bjm-tbl tr[data-pick] { cursor: pointer; }
.bjm-tbl tr.is-sel th, .bjm-tbl tr.is-sel td { background: color-mix(in srgb, var(--c-accent) 18%, transparent); }
.bjm-tbl .bjm-bust { font-weight: 700; }
.bjm-tbl td[data-cell] { cursor: pointer; padding: 4px 3px; line-height: 1.1; }
.bjm-tbl td[data-cell] b { display: block; font-size: 14px; }
.bjm-tbl td[data-cell] small { font-size: 10px; opacity: .8; }
.bjm-tbl td.is-sel { outline: 2px solid currentColor; outline-offset: -2px; }
.bjm-sec th { text-align: left; padding-top: 14px; font-size: 15px; }
.bjm-stand, .bjm-tbl .bjm-stand { background: #fde68a; color: #1f2937; }
.bjm-hit, .bjm-tbl .bjm-hit { background: #fff; color: #1f2937; }
.bjm-dbl, .bjm-tbl .bjm-dbl { background: #86efac; color: #14532d; }
.bjm-split, .bjm-tbl .bjm-split { background: #93c5fd; color: #1e3a8a; }
.bjm-sur, .bjm-tbl .bjm-sur { background: #fca5a5; color: #7f1d1d; }
.bjm-key span { display: inline-block; min-width: 22px; text-align: center; border-radius: 4px; font-weight: 700; margin-left: 6px; }
.bjm-bars { display: grid; gap: 6px; margin: 12px 0; }
.bjm-bars div { display: grid; grid-template-columns: 42px 1fr 56px; align-items: center; gap: 8px; font-size: 13px; }
.bjm-bars div i { grid-column: 2; grid-row: 1; height: 14px; border-radius: 3px; background: var(--c-accent); min-width: 2px; }
.bjm-bars div span { grid-column: 1; grid-row: 1; }
.bjm-bars div b { grid-column: 3; grid-row: 1; text-align: right; }
.bjm-bars .is-bust i { background: #f87171; }
.ccc .bjm-tbl td.bjm-stand { background: #fde68a; color: #1f2937; }
.ccc .bjm-tbl td.bjm-hit { background: #f8fafc; color: #1f2937; }
.ccc .bjm-tbl td.bjm-dbl { background: #86efac; color: #14532d; }
.ccc .bjm-tbl td.bjm-split { background: #93c5fd; color: #1e3a8a; }
.ccc .bjm-tbl td.bjm-sur { background: #fca5a5; color: #7f1d1d; }
.ccc .bjm-tbl td[data-cell] small { color: inherit; }
/* 1.0.1 (ds2 A+B): calm dark move colours, same as the main strategy chart */
.ccc[data-ds="2"] .is-ab .bjm-stand, .ccc[data-ds="2"] .is-ab .bjm-tbl td.bjm-stand { background: #234d2c; color: #bef264; }
.ccc[data-ds="2"] .is-ab .bjm-hit, .ccc[data-ds="2"] .is-ab .bjm-tbl td.bjm-hit { background: #4f2028; color: #ffb4b4; }
.ccc[data-ds="2"] .is-ab .bjm-dbl, .ccc[data-ds="2"] .is-ab .bjm-tbl td.bjm-dbl { background: #213c66; color: #a9d1ff; }
.ccc[data-ds="2"] .is-ab .bjm-split, .ccc[data-ds="2"] .is-ab .bjm-tbl td.bjm-split { background: #574413; color: #fde68a; }
.ccc[data-ds="2"] .is-ab .bjm-sur, .ccc[data-ds="2"] .is-ab .bjm-tbl td.bjm-sur { background: #3a3d46; color: #f3f4f6; }
.ccc[data-ds="2"] .is-ab .bjm-tbl td[data-cell] { border: 1px solid rgba(0,0,0,.35); }
.ccc[data-ds="2"] .is-ab .bjm-tbl td.is-sel { outline: 2px solid var(--c-accent); }
.ccc[data-ds="2"] .is-ab .bjm-bars .is-bust i { background: #c2414b; }
