/**
 * 颜色
 */
/**
 * 尺寸
 */
/**
 * 字体
 */
/**
 * 动画
 */
/**
 * 间距
 */
/**
 * 位置
 */
/**
 * 边框弧度
 */
.l-drawer {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: var(--td-text-color-primary);
  font-size: var(--td-font-size-body-medium);
  font-family: var(--td-font-family);
  list-style: none;
  position: fixed;
  z-index: 1500;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  outline: none;
}
.l-drawer--lock {
  overflow: hidden;
}
.l-drawer--attach {
  position: absolute;
}
.l-drawer--left,
.l-drawer--right {
  top: 0;
}
.l-drawer--left {
  left: 0;
}
.l-drawer--right {
  right: 0;
}
.l-drawer--top,
.l-drawer--bottom {
  left: 0;
}
.l-drawer--top {
  top: 0;
}
.l-drawer--bottom {
  bottom: 0;
}
.l-drawer__mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--td-mask-active);
  transition: opacity 0.2s cubic-bezier(0.38, 0, 0.24, 1);
  opacity: 0;
}
.l-drawer__content-wrapper {
  display: flex;
  flex-direction: column;
  background: var(--td-bg-color-container);
  width: 16px;
  height: 16px;
  font-size: var(--td-font-body-medium);
  color: var(--td-text-color-secondary);
  box-shadow: var(--td-shadow-2);
  overflow: hidden;
  pointer-events: auto;
  transition: transform 0.28s cubic-bezier(0.38, 0, 0.24, 1), visibility 0.28s cubic-bezier(0.38, 0, 0.24, 1);
  position: relative;
}
.l-drawer .l-drawer__content-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  visibility: hidden;
}
.l-drawer .l-drawer__content-wrapper--left,
.l-drawer .l-drawer__content-wrapper--right {
  top: 0;
}
.l-drawer .l-drawer__content-wrapper--left {
  left: 0;
  transform: translateX(-100%);
}
.l-drawer .l-drawer__content-wrapper--right {
  right: 0;
  transform: translateX(100%);
}
.l-drawer .l-drawer__content-wrapper--top,
.l-drawer .l-drawer__content-wrapper--bottom {
  left: 0;
}
.l-drawer .l-drawer__content-wrapper--top {
  top: 0;
  transform: translateY(-100%);
}
.l-drawer .l-drawer__content-wrapper--bottom {
  bottom: 0;
  transform: translateY(100%);
}
.l-drawer__header {
  min-height: 56px;
  padding: 16px 16px;
  font: var(--td-font-body-large);
  color: var(--td-text-color-primary);
  border-bottom: 1px solid var(--td-border-level-1-color);
  border-radius: var(--td-radius-small) var(--td-radius-small) 0 0;
  box-sizing: border-box;
}
.l-drawer__body {
  padding: 16px;
  overflow: auto;
  flex: 1;
}
.l-drawer__footer {
  width: 100%;
  min-height: 56px;
  padding: 10px 16px;
  text-align: left;
  border-top: 1px solid var(--td-border-level-1-color);
  background-color: var(--td-bg-color-container);
  box-sizing: border-box;
}
.l-drawer__footer .l-button {
  margin-left: 8px;
}
.l-drawer__footer .l-button:first-child {
  margin-left: 0;
}
.l-drawer__close-btn {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  top: 16px;
  right: 16px;
  color: var(--td-text-color-primary);
  background-color: var(--td-bg-color-container);
  border-radius: var(--td-radius-default);
  cursor: pointer;
  transition: background-color 0.2s;
}
.l-drawer__close-btn:hover {
  background-color: var(--td-bg-color-container-hover);
}
.l-drawer__close-btn:active {
  background-color: var(--td-bg-color-container-active);
}
.l-drawer__close-btn .l-icon {
  font-size: var(--td-font-size-body-large);
  vertical-align: unset;
}
.l-drawer--open {
  width: 100%;
  height: 100%;
  pointer-events: auto;
}
.l-drawer--open .l-drawer__content-wrapper {
  visibility: visible;
}
.l-drawer--open .l-drawer__mask {
  opacity: 1;
  width: 100%;
  height: 100%;
}
.l-drawer--without-mask {
  pointer-events: none;
}
[tabindex='-1']:focus {
  outline: none !important;
  /* stylelint-disable-line */
}
