/* Five natural-proportion wagons shared by vowels and the two number groups. */
.train-mode-selector{display:flex;align-items:center;justify-content:center;gap:8px;margin:8px 0 12px}
.train-mode-selector button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;min-width:98px;min-height:46px;padding:4px 13px;border:1px solid #b8d0ed;border-bottom:3px solid #aac2e3;border-radius:14px;background:linear-gradient(145deg,#fff,#edf5ff);color:#315d93;box-shadow:0 2px 5px #294f7a0d;touch-action:manipulation}
.train-mode-selector button>span{font-family:FalaPiano,system-ui;font-size:19px;font-weight:900;line-height:1.1;white-space:nowrap}
.train-mode-selector button>strong{font-size:11px;line-height:1.1}
.train-mode-selector button[aria-pressed="true"]{background:linear-gradient(145deg,#4c82c0,#31659f);border-color:#28598f;color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 3px 0 #244e80}
.train-mode-selector button:focus-visible{outline:4px solid #2b75c5;outline-offset:3px}
.game-immersive .vowel-game .train-mode-selector{position:absolute;top:10px;left:80px;right:var(--game-action-gutter,76px);min-height:46px;margin:0;z-index:6}
.game-immersive .vowel-game .train-mode-selector button{min-height:46px;min-width:96px;max-width:170px;flex:0 1 140px;padding:4px 9px}
.game-immersive .vowel-game .vowel-pieces{left:84px;right:var(--game-action-gutter,76px)!important;top:66px;height:max(62px,calc(45% - 74px))!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;align-items:center;justify-items:center}
.game-immersive .vowel-game .vowel-piece{width:100%!important;max-width:138px!important;max-height:150px!important;height:100%!important;min-width:44px;min-height:44px!important}
.game-immersive .vowel-game .vowel-stage{top:45%;bottom:26px;left:12px;right:var(--game-action-gutter,76px)!important;height:auto!important;min-height:0}
.game-immersive .vowel-game .vowel-board{flex:none;min-width:0;min-height:0;overflow:visible}
.game-immersive .vowel-game .vowel-slot{border-radius:10px;min-width:44px!important;min-height:44px!important}
.game-immersive .vowel-game .learn-success>.train-mode-selector{z-index:6}
.game-immersive .vowel-game .learn-success{padding-top:66px!important}
.high-contrast .vowel-game .train-mode-selector button{border-color:#31557f;color:#143d70;background:#fff}
.high-contrast .vowel-game .train-mode-selector button[aria-pressed="true"]{background:#214f87;color:#fff}
@media(max-height:350px),(max-width:350px){.game-immersive .vowel-game .train-mode-selector{gap:6px}.game-immersive .vowel-game .train-mode-selector button{min-width:80px;min-height:44px;padding:3px 7px}.train-mode-selector button>span{font-size:17px}.train-mode-selector button>strong{font-size:10px}.game-immersive .vowel-game .vowel-pieces{gap:5px}}
@media(forced-colors:active){.vowel-game .train-mode-selector button{background:ButtonFace;color:ButtonText;border-color:ButtonText}.vowel-game .train-mode-selector button[aria-pressed="true"]{outline:3px solid Highlight;outline-offset:-3px}}
