@include b(tab-bar) {
  display: flex;
  width: 100%;
  background: var(--tabbar-background);
  height: var(--tabbar-height);
  justify-content: center;
  align-content: center;
  align-items: center;
  text-align: center;
  position: fixed;
  left: 0;
  bottom: 0;
  transition-duration: .2s;
  transition-property: height bottom;
  overflow: hidden;

  @include m(hidden) {
    bottom: var(--tabbar-hidden-bottom);
    height: 0;
  }

  @include m(active) {
    @include e(title) {
      color: var(--tabbar-item-active-color);
    }
  }

  @include e(item) {
    flex: 1;

    @include e(title) {
      font-size: var(--tabbar-item-font-size);
      line-height: 1;
      margin-top: 2px;
    }

    @include e(icon) {
      display: inline-block;
      vertical-align: middle;
      width: 24px;
      height: 24px;
    }
  }
}
