/* The handwritten chess puzzles page (puzzles.html), after chess.css. */
.hw-puzzle .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.pz-meta { font-weight: 600; }
.pz-nav { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pz-go { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; margin-left: 4px; }
.pz-go input { width: 4.2rem; padding: .25rem .4rem; }

/* The right-hand column: score, what happened, the tries. */
.pz-side { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pz-score { display: flex; align-items: baseline; gap: 10px; background: var(--ss-panel); border-radius: var(--ss-radius-sm); padding: .45rem .8rem; }
.pz-score .lbl { font-family: var(--ss-font-head); font-weight: 700; }
.pz-score b { font-family: var(--ss-font-head); font-size: 2rem; line-height: 1.1; }
.pz-score b.good { color: var(--ok); }
.pz-score b.bad { color: var(--ss-red); }
.hw-puzzle .status { margin: 4px 0 6px; min-height: 3em; }
.hw-puzzle .status.ok { color: var(--ok); }
.hw-puzzle .status.bad { color: var(--ss-red); font-weight: 600; }
.hw-puzzle h3 { margin: 4px 0 2px; }
.pz-tries { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; max-height: 260px; overflow: auto; }
.pz-tries .try { display: flex; justify-content: space-between; gap: 10px; background: var(--ss-panel); border-radius: var(--ss-radius-sm); padding: .25rem .65rem; font-variant-numeric: tabular-nums; }
.pz-tries .san { font-family: var(--ss-font-mono); font-weight: 700; }
.pz-tries .pts { font-weight: 700; }
.pz-tries .bad .pts { color: var(--ss-red); }
.pz-tries .found { background: var(--ss-panel-strong); }
.pz-tries .found .pts { color: var(--ok); }
.pz-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.pz-source { font-size: .84rem; color: var(--ss-muted); margin: 6px 0 0; }

/* Your record */
.pz-record { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pz-record .ss-stat b { font-family: var(--ss-font-head); font-size: 1.3rem; }
.pz-record .ss-stat span { font-size: .8rem; color: var(--ss-muted); }
