/* Two-half CPT stimuli, after the manual's figure: a white square on a
   black field, with a small black square in its upper or lower half. The
   position is the only difference, so colour vision plays no part. No
   transition: the square is fully drawn on the frame its onset is timed
   from. The colours are fixed, not themed: the field stays black. */
.tova-mode { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; }
.tova-mode legend { padding: 0 4px; font-weight: 700; }
.tova-mode label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.tova-mode input { accent-color: var(--accent-strong); margin: 0; }
.tova-legend { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.tova-legend li { display: flex; align-items: center; gap: 12px; }
.tova-legend[hidden], .tova-listen[hidden], .tova-dot[hidden] { display: none; }
.tova-listen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 12px; }
.tova-listen .odak-btn { font-size: 14px; padding: 8px 14px; }

.tova-stage { min-height: 340px; }
.tova-screen { position: relative; display: flex; align-items: center; justify-content: center; width: 240px; height: 240px; border-radius: 6px; background: #000; box-shadow: 0 0 0 1px var(--border); }
.tova-stim { position: relative; width: 150px; height: 150px; background: #fff; visibility: hidden; }
.tova-stim > span { position: absolute; left: 50%; width: 46px; height: 46px; margin-left: -23px; background: #000; }
.tova-stim.target, .tova-stim.nontarget { visibility: visible; }
.tova-stim.target > span { top: 16px; }
.tova-stim.nontarget > span { bottom: 16px; }
/* The auditory test shows one still dot that never changes with the tone. */
.tova-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #888; }
.tova-swatch { display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 4px; background: #000; }
.tova-swatch .tova-stim { width: 28px; height: 28px; }
.tova-swatch .tova-stim > span { width: 9px; height: 9px; margin-left: -4.5px; }
.tova-swatch .tova-stim.target > span { top: 3px; }
.tova-swatch .tova-stim.nontarget > span { bottom: 3px; }
.odak-stage[data-odak-state="running"] .odak-stage-msg { display: none; }

@media (max-width: 480px) {
	.tova-stage { min-height: 290px; padding: 16px; }
	.tova-screen { width: 200px; height: 200px; }
	.tova-stim { width: 126px; height: 126px; }
	.tova-stim > span { width: 38px; height: 38px; margin-left: -19px; }
	.tova-stim.target > span { top: 13px; }
	.tova-stim.nontarget > span { bottom: 13px; }
}
