/* GE2studio V1.10.15 — centered assistant dialog on smartphones.
 * Scope: mobile panel position only. Dual launcher, voice, content and desktop
 * behavior remain unchanged.
 */

@keyframes ge2-contact-enter-centered {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 14px)) scale(.985);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 620px) {
  .ge2-contact-panel {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(520px, calc(100vw - 24px));
    max-height: min(820px, calc(100dvh - 32px));
    padding: 23px max(18px, env(safe-area-inset-right)) max(22px, calc(18px + env(safe-area-inset-bottom))) max(18px, env(safe-area-inset-left));
    border: 1px solid rgba(244, 240, 232, .15);
    border-radius: 25px;
    transform: translate(-50%, -50%);
    animation: ge2-contact-enter-centered .24s cubic-bezier(.2, .75, .22, 1) both;
  }
}

@media (max-width: 360px) {
  .ge2-contact-panel {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 24px);
    padding-inline: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  @media (max-width: 620px) {
    .ge2-contact-panel {
      animation: none !important;
      transform: translate(-50%, -50%);
    }
  }
}
