@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Quicksand:wght@300..700&display=swap");*,
*::before,
*::after {
  box-sizing: border-box;
}html,
body,
h1,
h2,
h3,
p,
button,
dl,
dt,
dd,
label,
progress,
i,
em,
svg,
ul,
li {
  padding: 0;
  margin: 0;
}h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}i,
em,
strong {
  font-style: normal;
}ul,
ol {
  list-style: none;
}dialog {
  margin: 0;
  padding: 0;
  border: none;
}body {
  background-color: #000;
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1em;
  font-weight: 400;
  font-style: normal;
}body.no-scroll {
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}#renderer-error {
  display: none;
  position: fixed;
  left: 0;
  top: 48px;
  width: 100%;
  height: calc(100% - 48px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
}header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  background-color: #222;
  height: 48px;
}h1 {
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  padding: 0 8px;
}main {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  gap: 16px;
  padding-top: 64px;
}app-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  height: 120px;
  background-color: #222;
  border-radius: 8px;
  transition: background-color 0.1s;
}app-dropzone p {
  pointer-events: none;
}app-dropzone.dragging {
  background-color: #333;
}app-upload {
  background-color: #222;
  line-height: 28px;
  border-radius: 8px;
  transition: background-color 0.1s;
}app-upload:hover {
  background-color: #333;
}app-upload label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  cursor: pointer;
}app-upload input {
  display: none;
}app-upload path {
  fill: #fff;
}app-gallery {
  display: block;
  max-width: 100%;
  background-color: #222;
  padding: 8px 16px;
  max-width: 440px;
  border-radius: 8px;
}@media (max-width: 459px) {
  app-gallery {
    max-width: 336px;
  }
}app-gallery p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 8px;
}app-gallery ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}app-gallery li {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #000;
  cursor: pointer;
  transition: box-shadow 0.1s;
}app-gallery li:hover {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}app-splitter {
  position: absolute;
  left: 200px;
  bottom: 16px;
  width: 96px;
  height: 48px;
  background-color: #222;
  border-radius: 16px;
  z-index: 10;
  margin-left: -48px;
}app-splitter span {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}app-splitter span:before, app-splitter span:after {
  position: absolute;
  content: "";
  left: 50%;
  width: 1px;
  background-color: #fff;
  opacity: 0.5;
  transition: opacity 0.1s;
  z-index: 0;
  height: 9999px;
}app-splitter span:before {
  bottom: 100%;
}app-splitter span:after {
  top: 100%;
}app-splitter svg {
  height: 20px;
  transform: rotate(90deg);
  fill: #fff;
  opacity: 0.5;
  transition: opacity 0.1s;
}app-splitter:hover {
  cursor: grab;
}app-splitter.dragging span:before, app-splitter.dragging span:after, app-splitter:hover span:before, app-splitter:hover span:after {
  opacity: 1;
}app-splitter.dragging svg, app-splitter:hover svg {
  opacity: 1;
}app-options {
  display: flex;
  position: fixed;
  top: 48px;
  left: 0;
  background-color: #222;
  padding: 16px 0;
  z-index: 100;
}.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
}.field > label {
  font-size: 12px;
  line-height: 20px;
  opacity: 0.7;
  font-weight: 500;
}.field + .field {
  margin-top: 8px;
}.field-radio ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
}.field-radio li {
  display: flex;
  gap: 4px;
}.field-radio li label {
  font-size: 16px;
  line-height: 24px;
  flex-grow: 1;
  cursor: pointer;
}select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
  line-height: 24px;
  height: 32px;
  color: #fff;
  background-color: #000;
  border: none;
  border-radius: 4px;
  padding: 0 8px;
}app-viewer {
  display: block;
  position: fixed;
  top: 48px;
  left: 0;
  width: 100%;
  height: calc(100% - 48px);
  z-index: 0;
  background-color: #000;
}app-viewer [data-mode] {
  display: none;
  position: absolute;
  bottom: 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.75);
  color: #000;
  padding: 4px 16px;
}app-viewer .close {
  display: block;
  position: absolute;
  right: 8px;
  top: 8px;
  font-size: 32px;
  line-height: 48px;
  width: 48px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: background-color 0.1s;
}app-viewer .close:hover {
  background-color: #000;
}app-viewer app-splitter {
  display: none;
}app-viewer[data-status=original] [data-mode=original] {
  display: block;
  right: 16px;
}app-viewer[data-status=encoded] [data-mode=encoded] {
  display: block;
  right: 16px;
}app-viewer[data-status=splitted] [data-mode=original],
app-viewer[data-status=splitted] [data-mode=encoded] {
  display: block;
}app-viewer[data-status=splitted] [data-mode=original] {
  left: 16px;
}app-viewer[data-status=splitted] [data-mode=encoded] {
  right: 16px;
}app-viewer[data-status=splitted] app-splitter {
  display: block;
}app-viewer[data-status=diff] [data-mode=diff] {
  display: block;
  right: 16px;
}
