.score{flex-shrink:0}.score strong{font-size:28px;white-space:nowrap}
@media(max-width:760px){.score{flex-shrink:0;min-width:100px;width:100px;height:100px}.score strong{font-size:20px;white-space:nowrap}}

/* Keep cell inputs from stretching the approved square grid on narrow screens. */
.board { grid-template-rows: repeat(15, minmax(0, 1fr)); }
.board .cell { min-height: 0; }
.board .cell input { position: absolute; inset: 0; padding: 2px 0 0; }


@media (max-width: 760px) {
  .mode { padding: 6px 12px; gap: 8px 18px; }
  .mode label { min-height: 48px; padding: 0 6px; }
  .active-clue { min-height: 0; font-size: 17px; }
  #entry-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; margin-top: 12px; }
  #entry-controls label { grid-column: 1 / -1; }
  #entry-controls input { min-width: 0; min-height: 48px; margin: 0; }
  #entry-controls button, .actions button, .clues button { min-height: 48px; }
  .actions { justify-content: flex-end; }
  .quiz-option { min-height: 52px; }
}
