@charset "UTF-8";
/*
  @component list
  @display List
  @chinese 列表
  @family data-display
*/
:root {
  /*
    @desc padding(t,b)
    @semantic 上下内边距
    @namespace size/bounding
  */
  --list-item-padding-tb: var(--s-3);
  /*
    @desc padding(l,r)
    @semantic 左右内边距
    @namespace size/bounding
  */
  --list-item-padding-lr: var(--s-4);
  /*
    @desc background
    @semantic 背景色
    @namespace style/common
  */
  --list-bg-color: var(--color-white);
  /**
    @desc border-width
    @semantic 分割线粗细
    @namespace statement/normal
  */
  --list-border-width: var(--line-1);
  /*
    @desc active-bg-color
    @semantic 激活背景色
    @namespace style/common
  */
  --list-active-bg-color: var(--color-fill1-1);
  /*
    @desc height
    @semantic 列表项最小高度
    @namespace size/bounding
  */
  --list-item-min-height: var(--s-14);
  /*
  @desc title-color
  @semantic 标题颜色
  @namespace style/common
  */
  --list-title-color: var(--color-text1-4);
  /*
    @desc divider-color
    @semantic 分割线颜色
    @namespace style/common
  */
  --list-divider-border-bottom-color: var(--color-line1-3);
  /**
    @desc media-spacing
    @semantic 头像间隙
    @namespace size/common
  */
  --list-item-spacing: var(--box-medium-spacing);
  /*
    @desc title-font-size
    @semantic 标题字体大小
    @namespace size/title
  */
  --list-title-font-size: var(--p-subhead-font-size);
  /*
    @desc title-gap
    @semantic 标题与副标题间隙
    @namespace size/title
  */
  --list-title-padding-bottom: var(--s-zero);
  /*
    @desc caption-font-size
    @semantic 副标题(含描述文案)字体大小
    @namespace size/title
  */
  --list-caption-font-size: var(--p-body-1-font-size);
  /*
    @desc caption-color
    @semantic 副标题颜色
    @namespace style/common
  */
  --list-caption-color: var(--color-text1-2);
  /*
    @desc size
    @semantic 右侧图标大小
    @namespace size/common
  */
  --list-icon-font-size: var(--icon-s);
  /*
    @desc icon color
    @semantic 右侧图标颜色
    @namespace style/common
  */
  --list-icon-color: var(--color-text1-2);
}

.mt-list-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: var(--list-item-min-height);
  padding-left: var(--list-item-padding-lr);
  background-color: var(--list-bg-color);
  color: var(--list-title-color);
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  transition: background-color var(--motion-time-1);
}
.mt-list-item--disabled {
  opacity: 0.3;
}
.mt-list-item:active {
  background: var(--list-active-bg-color);
}
.mt-list-item:last-child .mt-list-item-container {
  border-bottom: none;
}
.mt-list-item-container {
  flex: 1;
  min-height: var(--list-item-min-height);
  min-width: 0.13333333333333333vw;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding-top: var(--list-item-padding-tb);
  padding-bottom: var(--list-item-padding-tb);
  padding-right: var(--list-item-padding-lr);
  border-bottom: var(--list-border-width) solid var(--list-divider-border-bottom-color);
  box-sizing: border-box;
}
.mt-list-item-content {
  flex: 1;
  min-width: 0.13333333333333333vw;
}
.mt-list-item-media {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-right: var(--list-item-spacing);
}
.mt-list-item-media--last {
  justify-content: flex-end;
  margin-right: 0;
  margin-left: var(--list-item-spacing);
}
.mt-list-item-title {
  flex: 1;
  min-width: 0.13333333333333333vw;
  color: var(--list-title-color);
  overflow: hidden;
  white-space: nowrap;
  font-size: var(--list-title-font-size);
  text-align: left;
  text-overflow: ellipsis;
  word-wrap: break-word;
  line-height: 1.5;
}
.mt-list-item-content > .mt-list-item-caption:nth-child(2) {
  margin-top: var(--list-title-padding-bottom);
}
.mt-list-item-caption {
  font-size: var(--list-caption-font-size);
  color: var(--list-caption-color);
  line-height: 1.5;
}
.mt-list-item-icon {
  font-size: var(--list-icon-font-size);
  color: var(--list-icon-color);
}