#bh-board { display: inline-flex; flex-direction: column; font-family: var(--mono); }
.bh-row { display: flex; align-items: center; }
.bh-row.rule { border-top: 2px solid var(--ink); margin-top: 3px; padding-top: 3px; }

.bh-cell {
    width: 42px;
    height: 48px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin: 2px;
    background: var(--surface);
}
.bh-cell.blank { visibility: hidden; }
.bh-cell.sign { width: 28px; border: none; background: none; color: var(--muted); justify-content: flex-start; }
.bh-cell.clickable { cursor: pointer; }
.bh-cell.clickable:hover { border-color: var(--primary); }
.bh-cell.result { font-weight: 800; }
.bh-cell.correct { background: #e8f8ef; border-color: var(--success); color: #136b3a; }
.bh-cell.wrong-pick { background: #fdecec; border-color: var(--danger); color: #8a1f1f; }
.bh-cell.reveal { background: #fff6e4; border-color: var(--accent); }

.bh-badge-row .bh-cell {
    width: 42px;
    height: 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-dark);
    border-style: dashed;
    margin: 2px 2px 0 2px;
}
.bh-badge-row.is-borrow .bh-cell { color: var(--danger); }

@media (max-width: 480px) {
    .bh-cell { width: 32px; height: 38px; font-size: 18px; margin: 1px; }
    .bh-cell.sign { width: 20px; }
    .bh-badge-row .bh-cell { width: 32px; height: 20px; font-size: 11px; }
}
