#lexis-button {
    position: fixed;
    right: 24px;
    bottom: 95px;
    z-index: 9999;
    padding: 14px 20px;
    border: 0;
    border-radius: 28px;
    background: #172b4d;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,.22);
  }
  #lexis-button[hidden] { display: none !important; }
  #lexis-button:hover { background: #294b80; }
  #lexis-window {
    max-height: calc(100dvh - 170px);
    position: fixed;
    right: 24px;
    bottom: 155px;
    z-index: 10000;
    width: min(640px, calc(100vw - 32px));
    overflow: hidden;
    border-radius: 16px;
    background: #111;
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
  }
  #lexis-window[hidden] { display: none !important; }
  #lexis-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100dvh - 170px);
    border: 0;
  }
  #lexis-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    background: #222;
    color: white;
    font-size: 24px;
    cursor: pointer;
  }
  @media (max-width: 600px) {
    #lexis-button {
    display: block;
    font-family: inherit; right: 12px; bottom: 90px; padding: 12px 16px; font-size: 14px; }
    #lexis-window { right: 8px; bottom: 145px; width: calc(100vw - 16px); }
  }

/* LiveAvatar Lexis vorübergehend deaktiviert */
#lexis-button,
#lexis-window {
    display: none !important;
}
