.vz-error-boundary {
  $base: &;
  font-size: 16px;
  &-header {
    font-size: 20px;
    font-weight: 600;
  }
  &-text {
    margin: 30px 0 15px;
  }
  &-block {
    font-size: 18px;
    line-height: 1.4;
    background: var(--background-secondary);
    border: 1px solid var(--background-tertiary);
    border-radius: 4px;
    padding: 20px;
    white-space: pre-line;
    max-height: 20vh;
    overflow: auto;
  }
  &-error-stack::first-line {
    font-weight: 600;
    color: var(--header-primary);
  }
  &-scene {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    animation: vz-error-boundary-scene-in 0.2s ease;
    > div {
      bottom: 0;
    }
  }
}

@media screen and (max-height: 700px) {
  .vz-error-boundary-scene {
    display: none;
  }
}

@keyframes vz-error-boundary-scene-in {
  from {
    transform: translate3d(0, 100%, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
