/* Google Keyboard 4.1, LXX Light (mm-ime.js), in dp: 1080 px = 411.43 dp wide, 539 px keyboard + the 40 dp strip. */
.screen.ime #viewport{bottom:calc(48 * var(--dp) + var(--ime-h))}
.mmime{position:absolute;left:0;right:0;bottom:calc(48 * var(--dp));z-index:15;font-family:Roboto,sans-serif;touch-action:none;user-select:none}
.mmime-strip{position:relative;display:flex;align-items:center;height:calc(40 * var(--dp));padding:0 calc(36 * var(--dp));background-color:#eceff1}
.mmime-strip span{flex:1;min-width:calc(44 * var(--dp));padding:0 calc(6 * var(--dp));color:rgba(55,71,79,.851);font-size:calc(18 * var(--dp));text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mmime-strip span.mid{flex:none;width:36%}
.mmime-strip .div{flex:none;width:1px;height:50%;background:url('assets/ime-suggestions_strip_divider_lxx_light.png') center/100% 100%}
.mmime-voice{position:absolute;right:0;top:0;width:calc(36 * var(--dp));height:100%;padding:0;border:0;background:none;display:grid;place-items:center}
.mmime-voice img{width:calc(24 * var(--dp));height:calc(24 * var(--dp))}
.mmime-voice.down{background:rgba(55,71,79,.149)}
.mmime-kb{position:relative;height:calc(205.333 * var(--dp));background-color:#eceff1}
.mmime-key{position:absolute;display:grid;place-items:center;padding:0;border:0;background:none;color:#37474f;font-family:Roboto,sans-serif}
.mmime-key.down{background-color:rgba(55,71,79,.149)}
.mmime-key b{font:400 calc(20.952 * var(--dp))/1 Roboto,sans-serif}
.mmime-key span{color:rgba(55,71,79,.8);font:500 calc(12.952 * var(--dp))/1 Roboto,sans-serif}
.mmime-key i{grid-area:1/1;width:calc(24 * var(--dp));height:calc(24 * var(--dp));background:var(--ic) center/contain no-repeat}
.mmime-key.space{padding:calc(8 * var(--dp)) 0}
.mmime-key.space u{width:100%;height:100%}
.mmime-key.space.down u{border-image-source:url('assets/ime-btn_keyboard_spacebar_pressed_lxx_light.9.png')}
.mmime-key.space.down,.mmime-key.act.down{background-color:transparent}
.mmime-key.act u{grid-area:1/1;width:calc(38.095 * var(--dp));height:calc(38.095 * var(--dp));background:url('assets/ime-btn_keyboard_key_active_lxx_light.9.png') center/100% no-repeat}
.mmime-key.act.down u{background-image:url('assets/ime-btn_keyboard_key_active_pressed_lxx_light.9.png')}
.mmime-preview{position:absolute;display:flex;justify-content:center;padding-top:calc(14 * var(--dp));color:#37474f;font-family:Roboto,sans-serif;line-height:1;pointer-events:none;z-index:2}
.mmime-preview[hidden]{display:none}
/* Google voice typing (Velvet ime.xml): 240 dp, the state 20 dp down in 22 sp, the 90 dp mic, the Google logo foot. */
.mmime.voice{height:calc(240 * var(--dp))}
.mmime-vpanel{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;color:#757575;font-family:Roboto,sans-serif}
.mmime-vstate{margin:calc(20 * var(--dp)) calc(24 * var(--dp)) 0;min-height:calc(56 * var(--dp));font-size:calc(22 * var(--dp));line-height:1.25;text-align:center}
.mmime-vmic{flex:none;width:calc(90 * var(--dp));height:calc(90 * var(--dp));margin-top:calc(8 * var(--dp));padding:0;border:0;border-radius:50%;background:none;display:grid;place-items:center;animation:mmime-pulse 1.2s ease-in-out infinite}
.mmime-vmic img{width:calc(64 * var(--dp));height:calc(64 * var(--dp))}
.mmime-vmic.idle{animation:none}
.mmime-vmic.idle img{filter:grayscale(1) brightness(1.25)}
@keyframes mmime-pulse{50%{box-shadow:0 0 0 calc(12 * var(--dp)) rgba(229,57,53,.18)}}
.mmime-vfoot{position:absolute;left:0;right:0;bottom:calc(8 * var(--dp));display:flex;align-items:center;justify-content:center}
.mmime-vkbd{position:absolute;left:calc(8 * var(--dp));width:calc(48 * var(--dp));height:calc(48 * var(--dp));padding:0;border:0;border-radius:50%;background:none;display:grid;place-items:center}
.mmime-vkbd img{width:calc(24 * var(--dp));height:calc(24 * var(--dp))}
.mmime-vlogo{width:calc(78 * var(--dp));height:calc(24 * var(--dp))}
