@include block ('render') {

  border: 0;
  border-bottom: $border-code $color-border;
  border-top: $border-code $color-border;
  position: relative;

  $transition-mask: 0.25s ease(out-quint);

  &::after {
    background-color: $color-body-background;
    bottom: 0;
    content: '';
    left: s(-1);
    position: absolute;
    top: 0;
    transition: background-color $ease-render-mask;
    width: s(1);
    z-index: 2;
  }

  @include modifier ('force-desktop') {
    &::before {
      $transparency: rgba($color-body-background, 0);
      $fill: rgba($color-body-background, 1);
      background-image: linear-gradient(to right, $transparency 0%, $fill 90%);
      bottom: 0;
      content: '';
      position: absolute;
      right: -1px;
      top: 0;
      transition: background $ease-render-mask;
      width: s(1);
      z-index: 3;
    }
    @include element ('wrapper') {
      &::after {
        width: 1024px !important;
      }
      background-color: $color-body-background !important;
    }
    @include element ('area') {
      width: 1024px !important;
    }
  }

  @include modifier ('desktop') {
    @include element ('wrapper') {
      &::after {
        width: 1024px;
      }
    }
    @include element ('area') {
      width: 1024px;
    }
  }

  @include modifier ('tablet') {
    @include element ('wrapper') {
      &::after {
        width: 768px;
      }
    }
    @include element ('area') {
      width: 768px;
    }
  }

  @include modifier ('mobile') {
    @include element ('wrapper') {
      &::after {
        width: 320px;
      }
    }
    @include element ('area') {
      width: 320px;
    }
  }

  @include modifier ('dark') {
    &::before {
      $transparency: rgba($color-border, 0);
      $fill: rgba($color-border, 1);
      background-image: linear-gradient(to right, $transparency 0%, $fill 100%);
      right: 0;
    }
    @include element ('wrapper') {
      background-color: $color-body-background;
      margin-left: 0;
    }
    @include element ('area') {
      background-color: $color-border;
      padding-left: 0;
      padding-right: s(1);
    }
  }

  @include modifier ('light') {
    &::before {
      $transparency: rgba($color-body-background, 0);
      $fill: rgba($color-body-background, 1);
      background-image: linear-gradient(to right, $transparency 0%, $fill 90%);
    }
    &::after {
      background-color: transparent;
      transition: background-color $ease-render-mask $ease-render-delay;
    }
    @include element ('wrapper') {
      background-color: $color-border;
    }
    @include element ('area') {
      background-color: $color-body-background;
      padding-left: 0;
    }
  }

  @include modifier ('transparency') {
    &::before {
      display: none;
    }
    @include element ('wrapper') {
      background-color: $color-border;
      margin-left: 0;
    }
    @include element ('area') {
      padding-left: 0;
      padding-right: s(1);
    }
  }

  @include element ('wrapper') {
    background-color: $color-body-background;
    line-height: 0;
    margin-left: s(-1);
    overflow: hidden;
    position: relative;
    transition: background-color $ease-render, margin-left $ease-render;

    &::after {
      background-image: theme('transparent-background.svg');
      background-size: 128px;
      bottom: 0;
      content: '';
      display: block;
      left: 0;
      position: absolute;
      right: 0;
      top: 0;
      transition: width $ease-render;
    }
  }

  @include element ('area') {
    background-color: transparent;
    border: 0;
    position: relative;
    transition: width $ease-render, background-color $ease-render, padding $ease-render;
    width: 100%;
    z-index: 1;
  }
}
