/* v12.17 — the board (the arena: hero portraits, hands, decks, the blue centre glow) exists only while a match is on.
   Root cause of the "arena glimpse" when the intro was skipped: the intro faded out (.5s) while the main menu faded in (.9s) at the same time, so for a few frames
   BOTH were half transparent and the board that is dressed behind the menus showed through. Now (1) the board is hidden by default in CSS (also before any JS runs) and shown only
   under html.match-on, which ui.js toggles in one place (setTitleUp); leaving a match hides it only after the menu has finished fading in (1s delayed visibility);
   (2) the menu is placed fully opaque under the intro in the same frame (#mainmenu.cut: no fade-in) and the intro alone cross-fades away over it. */
#viewport{visibility:hidden;transition:visibility 0s linear 1s}
html.match-on #viewport{visibility:visible;transition:none}
html:not(.match-on) #viewport *,html:not(.match-on) #ptip{visibility:hidden!important}
/* the menu appears opaque in the same frame the intro starts to leave: no half-transparent moment */
#mainmenu.cut{transition:none}
/* intro -> menu cross-fade: short and clean on a skip, a little longer on the natural end; the menu is already fully opaque underneath */
#intro.leaving{transition:opacity .9s cubic-bezier(.4,0,.2,1)}
#intro.leaving-fast{transition:opacity .35s cubic-bezier(.3,0,.3,1)}
