/* Act 11: the double-angle proof stage carries two equations; each shows only in its own window.
   The cos 2x row keeps one face at a time after "cos 2x =", so it fits a phone in one line. */
.a11-proof .a11-eq { transition: opacity .45s var(--xp-out), visibility 0s linear .45s; }
.a11-proof .a11-eq:not(.on) { opacity: 0; visibility: hidden; }
.a11-proof .a11-eq.on { opacity: 1; visibility: visible; transition: opacity .45s var(--xp-out), visibility 0s; }
.a11-proof .a11-eq + .a11-eq .mx-t:not(.op):not(:first-child):not(.on) { display: none; }
.a11-proof .mx-eq { font-size: clamp(1.25rem, 5.6vw, 2.4rem); }
html.xp-reduced .a11-proof .a11-eq, html:not(.xp-js) .a11-proof .a11-eq { opacity: 1; visibility: visible; position: relative; }
html.xp-reduced .a11-proof .a11-eq .mx-t, html:not(.xp-js) .a11-proof .a11-eq .mx-t { display: inline-grid !important; }
/* the lite answer to "cos 20° cos 40° cos 80°" is one long line of maths: it scrolls inside its column instead of
   widening the page (the closed back room keeps its real width) */
.xs-back .xw-ans { max-width: 100%; overflow-x: auto; overflow-y: hidden; }
/* the guess-first widget's formula buttons are long ("cos 3x vs 3cos x − 4cos³x"): let them wrap on a phone */
#s-guess .fsel button { flex-basis: 100%; }   /* wrapping is kit-wide now (xp.css §17) */
@media (min-width: 600px) { #s-guess .fsel button { flex-basis: 45%; } }
