#json-view-container {
  all: unset;
  position: fixed;
  top: 0;
  left: 50%;
  right: 0;
  bottom: 0;
  overflow: auto;
  background: #121212;
  color: white;
  font-family: monospace;
  line-height: 1.5em;
  font-size: 12px;
  z-index: 999999;
  padding: 20px;
  tab-size: 4em;
  white-space: pre-wrap;
}

#json-view-container *, #json-view-container *:before, #json-view-container *:after {
  all: unset;
}

#json-view-container.full {
  left: 0;
}

#json-view-container > pre {
  margin: 0;
}

#json-view-container > pre > code {
  counter-reset: step;
  counter-increment: step 0;
  white-space: normal;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#json-view-container > pre > code > .line::before {
  content: counter(step);
  counter-increment: step;
  width: 1em;
  padding-right: 1.5em;
  display: inline-block;
  text-align: right;
  color: rgba(115, 138, 148, .4);
  cursor: pointer;
}

#json-view-container > pre > code > .line.closed::after {
  content: '...';
  padding-left: 1em;
  color: rgb(115, 138, 148);
  cursor: pointer;
}

#json-view-container > pre > code > .line {
  white-space: pre;
}

#json-view-container > pre > code > .line.hidden {
  display: none;
}

#json-view-container > pre > code > .line.hidden {
  display: none;
}

#json-view-container a {
  text-decoration: underline;
  color: cornflowerblue;
  cursor: pointer;
}
