/* CCN Casual Games · Tower of Hanoi · © Computational Classnotes · CC BY-NC-SA 4.0 */
#board { width: 100%; height: auto; display: block; background: linear-gradient(#fff, #fff7ee); border-radius: 14px; border: 1px solid var(--line); touch-action: manipulation; user-select: none; -webkit-user-select: none; margin: 8px 0 12px; }
#board .peg { fill: var(--ink); }
#board .base { fill: var(--ink); }
#board .hit { fill: transparent; cursor: pointer; }
#board .cursor { fill: var(--orange); opacity: 0.18; }
#board .disc { transition: transform 0.14s ease; }
#board .disc rect { stroke: rgba(23,32,43,0.35); stroke-width: 1.5; }
#board .disc.lifted { transform: translateY(-34px); }
#board .disc text { font: 700 13px var(--font); fill: var(--ink); }
#board .label { font: 600 14px var(--font); fill: var(--muted); }
#board.won { border-color: var(--ok); }
.hud { gap: 8px; } .hud h2 { margin-right: auto; }
.score { font: 700 2rem var(--head); }
#board .target { fill: var(--ok); opacity: 0.16; }
#step { margin: 0 0 8px; font-weight: 600; min-height: 1.4em; }
