body.agent-bifang-host .agent-msg-image-pending .agent-image-card {
  white-space: normal;
}

body.agent-bifang-host .agent-image-placeholder.has-wait-game {
  position: relative;
  min-height: 300px;
  max-height: 420px;
  overflow: hidden;
}

.agent-image-placeholder.has-wait-game > .agent-image-placeholder-shimmer,
.agent-image-placeholder.has-wait-game > .agent-image-placeholder-label {
  display: none;
}

.agent-wait-game {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #f4f1e8;
}

.agent-wait-game-canvas {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.agent-wait-game canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
