/* Gaze cueing: a cartoon dog in the middle, a ball on either side. The dog
   and the balls are hidden with visibility, so nothing shifts when they
   come and go; no transition on appearance, so each is fully drawn on the
   frame it appears. */
.gaze-small { color: var(--text-soft); font-size: 14px; }
.gaze-stage { cursor: default; padding: 16px; }
.gaze-field {
	display: grid;
	grid-template-columns: 1fr minmax(0, 1.4fr) 1fr;
	align-items: center;
	gap: 4%;
	width: 100%;
	max-width: 640px;
	min-height: 240px;
}
.gaze-dog { justify-self: center; width: 100%; max-width: 230px; visibility: hidden; }
.gaze-dog svg { display: block; width: 100%; height: auto; }
.gaze-dog.is-shown { visibility: visible; }
.gaze-toy {
	justify-self: center;
	width: min(110px, 100%);
	aspect-ratio: 1;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	visibility: hidden;
	cursor: pointer;
	touch-action: manipulation;
}
.gaze-toy svg { display: block; width: 100%; height: 100%; }
.gaze-toy.is-shown { visibility: visible; }
.gaze-toy.is-caught { transform: scale(0.85); transition: transform 150ms ease-out; }
.gaze-toy:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.gaze-explain { margin-top: 24px; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.gaze-explain[hidden] { display: none; }
.gaze-explain h2 { margin: 0 0 10px; font-size: 20px; }
.gaze-explain h2:focus { outline: none; }
.gaze-explain h3 { margin: 16px 0 6px; font-size: 16px; }
.gaze-explain p { margin: 0; }
.odak-stage[data-odak-state="running"] .odak-stage-msg { display: none; }
/* On a phone the dog takes a larger share of the row, so its eyes stay
   large enough for the gaze to be seen. */
@media (max-width: 480px) {
	.gaze-stage { padding: 8px; }
	.gaze-field { grid-template-columns: 1fr minmax(0, 1.8fr) 1fr; gap: 2%; min-height: 200px; }
}
