/* Keep the 44px toolbar and its composer anchor stable after a full answer.
   The answer sits above the 30px live-caption band with a 4px gap. */
.floating-assistant--character .character-panel > .realtime-reception__answer {
  position: absolute;
  left: 0;
  bottom: calc(100% + 34px);
  width: 100%;
  margin: 0;
  max-block-size: max(44px, calc(var(--character-panel-max-height, 400px) - 78px));
  overflow: auto;
  pointer-events: auto;
  background: var(--surface, #171216);
}

@media (max-width: 900px), (max-height: 520px) and (pointer: coarse) {
  .assistant-mobile-dialog .character-panel > .realtime-reception__answer {
    position: static;
    inset: auto;
    max-block-size: none;
    margin-block: 10px;
    overflow: visible;
  }
}
