/* Mika is the only visible persona; Dino's routes remain unchanged behind the scenes. */
#ela-md-root { right: 16px !important; bottom: calc(124px + env(safe-area-inset-bottom, 0px)) !important; z-index: 9989 !important; }
#ela-md-root #ela-md-launch { max-width: calc(100vw - 32px); box-shadow: 0 14px 40px rgba(8, 27, 49, .27); }
#ela-md-root #ela-md-panel { bottom: 72px !important; height: min(625px, calc(100dvh - 215px - env(safe-area-inset-bottom, 0px))) !important; max-width: calc(100vw - 24px); }
#ela-md-root .ela-md-head { box-shadow: inset 0 -2px 0 #b9975e; }
#ela-md-root .ela-md-choices { max-height: 180px; overflow-y: auto; }
#ela-md-root .ela-md-choices.ela-mika-simple-menu { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 9px 12px; }
#ela-md-root .ela-md-choices.ela-mika-simple-menu > button { width: auto; flex: 1 1 42%; min-height: 38px; margin: 0; padding: 8px; font-size: 12px; text-align: center; }
#ela-md-root .ela-mika-talk-note { width: 100%; padding: 3px 2px 6px; margin: 0; font-size: 12px; line-height: 1.5; color: #445875; }
#ela-md-root .ela-md-bubble.automated { line-height: 1.78; border-radius: 14px 14px 14px 4px; }
#ela-md-root .ela-md-form textarea { min-height: 50px; font-size: 14px; }
#ela-md-root .ela-md-footer { gap: 6px; }
@media(max-width: 520px) {
  #ela-md-root { right: 10px !important; bottom: calc(118px + env(safe-area-inset-bottom, 0px)) !important; }
  #ela-md-root #ela-md-panel { bottom: 68px !important; height: min(610px, calc(100dvh - 205px - env(safe-area-inset-bottom, 0px))) !important; }
  #ela-md-root .ela-md-choices.ela-mika-simple-menu { max-height: 142px; }
}
@media(max-height: 610px) {
  #ela-md-root #ela-md-panel { height: calc(100dvh - 190px - env(safe-area-inset-bottom, 0px)) !important; min-height: 190px; }
}
@media(prefers-reduced-motion: reduce) {
  #ela-md-root *, #ela-md-root *::before, #ela-md-root *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
