/* Enneagram Test: own visuals, loaded only on this test's pages (IMT_Frontend::test_css). */

/* Prep and loading screens: the nine-point figure from IMT_Test_Enneagram::emblem(). */
.imt-app .imt-emblem-ennea { color: #fff; filter: drop-shadow(0 8px 26px rgba(232, 163, 61, .5)); animation: imtEnneaPulse 3.2s ease-in-out infinite; }
.imt-app .imt-emblem-load .imt-emblem-ennea { color: #2F7D4E; filter: none; }
@keyframes imtEnneaPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: .88; } }
@media (prefers-reduced-motion: reduce) { .imt-app .imt-emblem-ennea { animation: none; } }

/* Landing intro on phones and tablets. imt-fx.js cuts the intro paragraph into fixed lines (.fx-line, display: block).
   If that cut runs while the layout is still settling (the screen rotates, the window resizes, a full-page capture), the
   lines freeze too short and the paragraph turns into a narrow, very tall column. Below 900px the lines flow inline, so
   the text always fills the width; the grey-to-black fill on scroll still works. */
/* Guide tables: the shared CSS shows tables as blocks (to scroll sideways on phones), so on wider screens a short table
   left the right side of its rounded box empty. From 761px they are real tables that fill the width; corners stay round. */
@media (min-width: 761px) {
	#imtl-enneagram .imtl-gbody table { display: table; width: 100%; table-layout: auto; overflow: hidden; }
	#imtl-enneagram .imtl-gbody thead th:first-child { border-top-left-radius: 17px; }
	#imtl-enneagram .imtl-gbody thead th:last-child { border-top-right-radius: 17px; }
	#imtl-enneagram .imtl-gbody tbody tr:last-child td:first-child { border-bottom-left-radius: 17px; }
	#imtl-enneagram .imtl-gbody tbody tr:last-child td:last-child { border-bottom-right-radius: 17px; }
}

@media (max-width: 899px) {
	html.imt-fx #imtl-enneagram .fx-fill .fx-line { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
}
