/* A-not-B scene: a table with two wells covered by blue cloths, as in the
   apparatus Cuevas and Bell (2010) describe, and a toy ball. The scene has
   its own fixed colours, like a photograph of a table, in both themes. */
.anb-small { color: var(--text-soft); font-size: 14px; }
.anb-stage { cursor: default; padding: 16px; }
.anb-cue { margin: 0; min-height: 1.6em; font-size: 20px; font-weight: 700; text-align: center; }
.anb-scene { position: relative; width: 100%; max-width: 560px; aspect-ratio: 16 / 10; }
.anb-table {
	position: absolute; left: 2%; right: 2%; top: 38%; bottom: 4%;
	border-radius: 18px; background: #dcc29a;
	box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.18);
}
.anb-well {
	position: absolute; top: 50%; width: 34%; height: 34%;
	padding: 0; border: 0; background: none; border-radius: 16px; cursor: default;
}
.anb-left { left: 8%; }
.anb-right { left: 58%; }
.anb-hole {
	position: absolute; inset: 18% 6% 6%; border-radius: 50%;
	background: #4a3424; box-shadow: inset 0 8px 10px rgba(0, 0, 0, 0.45);
}
.anb-cloth {
	position: absolute; left: 0; right: 0; top: 6%; bottom: 0; z-index: 3;
	border-radius: 46% 46% 24% 24% / 34% 34% 22% 22%;
	background: linear-gradient(160deg, #3b82f6 0%, #1d4ed8 55%, #1e40af 100%);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
	opacity: 0; transform: translateY(-55%) rotate(-4deg);
	transition: transform 400ms ease-out, opacity 300ms ease-out;
	pointer-events: none;
}
.anb-cloth::after {
	content: ''; position: absolute; left: 16%; right: 16%; top: 40%; height: 9%;
	border-radius: 50%; background: rgba(255, 255, 255, 0.2);
}
.anb-well.is-covered .anb-cloth { opacity: 1; transform: none; }
.anb-stage.is-choosing .anb-well { cursor: pointer; }
.anb-stage.is-choosing .anb-well:hover .anb-cloth { filter: brightness(1.12); }
.anb-well:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.anb-toy {
	position: absolute; z-index: 2; width: 13%; aspect-ratio: 1;
	transition: left 550ms ease-in-out, top 550ms ease-in-out;
}
.anb-toy svg { display: block; width: 100%; height: 100%; }
.anb-toy.at-center { left: 43.5%; top: 6%; }
.anb-toy.at-left { left: 18.5%; top: 58%; }
.anb-toy.at-right { left: 68.5%; top: 58%; }
.anb-explain { margin-top: 24px; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.anb-explain[hidden] { display: none; }
.anb-explain h2 { margin: 0 0 10px; font-size: 20px; }
.anb-explain h2:focus { outline: none; }
.anb-explain h3 { margin: 16px 0 6px; font-size: 16px; }
.anb-explain p { margin: 0; }
.odak-stage[data-odak-state="running"] .odak-stage-msg { display: none; }
