/* Corsi board: dark board, grey-blue blocks, yellow when lit (the colour
   Brunetti et al. 2014 used). A tap shows a pale flash so the person knows
   it was registered; it says nothing about whether it was right. No
   transition on the lit state: it is fully drawn on the logged frame. */
.corsi-small { color: var(--text-soft); font-size: 14px; }
.corsi-stage { cursor: default; padding: 16px; }
.corsi-prompt { margin: 0; min-height: 1.5em; font-weight: 700; text-align: center; }
.corsi-board {
	position: relative;
	width: 100%;
	max-width: 640px;
	border-radius: 12px;
	background: #1e293b;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.corsi-board[hidden] { display: none; }
.corsi-block {
	position: absolute;
	box-sizing: border-box;
	padding: 0;
	border: 0;
	border-radius: 10%;
	background: #64748b;
	cursor: default;
	touch-action: manipulation;
}
.corsi-block.is-lit { background: #facc15; }
.corsi-board.is-answering .corsi-block { cursor: pointer; }
.corsi-board.is-answering .corsi-block:hover { background: #7c8ba1; }
.corsi-block.is-tapped, .corsi-board.is-answering .corsi-block.is-tapped { background: #e2e8f0; }
.corsi-block:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.corsi-block:disabled { opacity: 1; }
.corsi-panel { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 32em; text-align: center; min-height: 200px; justify-content: center; }
.corsi-panel[hidden] { display: none; }
.corsi-panel-title { margin: 0; font-weight: 700; font-size: 17px; }
.corsi-panel-text { margin: 0 0 6px; }
.odak-stage[data-odak-state="running"] .odak-stage-msg { display: none; }
/* On a phone the board takes the full stage width so a block stays near a
   44 px touch target. */
@media (max-width: 480px) {
	.corsi-stage { padding: 8px; }
}
