.robot-frame {
  position: fixed;
  top: 55px;
  right: -610px;
  z-index: 100;
  width: 600px;
  height: calc(100% - 55px);
  background-color: #fff;
  box-shadow: -6px 0 16px 0 rgba(0, 0, 0, 0.08), -3px 0 6px -4px rgba(0, 0, 0, 0.12),
    -9px 0 28px 8px rgba(0, 0, 0, 0.05);
  transition: right 0.3s ease-in-out;

  // 增加优先级
  &&--visible {
    right: 0;
  }

  &__header {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 60px;
    padding: 0 15px;
    border-bottom: 1px solid @border-color;
  }

  &__iframe {
    width: 100%;
    height: calc(100% - 60px);
    border: 0;
  }
}
