/* CCN Casual Games · Nonograms · © Computational Classnotes · CC BY-NC-SA 4.0 */
#board { display: grid; gap: 1px; margin: 10px 0; max-width: 640px; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
#board .clue { font: 600 clamp(8px, 2.4vw, 13px) var(--font); color: var(--ink); display: flex; align-items: flex-end; justify-content: center; gap: 0; line-height: 1.1; padding: 2px; }
#board .clue.col { flex-direction: column; justify-content: flex-end; align-items: center; }
#board .clue.row { justify-content: flex-end; align-items: center; gap: 4px; padding-right: 6px; }
#board .clue.done { color: #b9b0a5; }
#board button { aspect-ratio: 1; min-height: 0; padding: 0; border-radius: 2px; background: #fff; border: 1px solid #e3d6c6; color: var(--muted); font: 700 clamp(8px, 2.5vw, 14px) var(--font); display: grid; place-items: center; }
#board button.on { background: var(--ink); border-color: var(--ink); }
#board button.x::after { content: '✕'; }
#board button.b5r { border-right: 2px solid var(--ink); } #board button.b5b { border-bottom: 2px solid var(--ink); }
.mode[aria-pressed="true"] { background: var(--orange); }
.hud { gap: 8px; } .hud h2 { margin-right: auto; } .score { font: 700 2rem var(--head); }
