html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  font-family: Verdana, sans-serif;
  font-size: 12px;
  color: #fff;
  background-color: #000;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  image-rendering: -moz-crisp-edges;    /* Firefox */
  image-rendering: -webkit-crisp-edges; /* Webkit (Safari) */
  image-rendering: pixelated;           /* Chrome */
}

div.wrapper {
  width: 100%;
  height: 100%;
}
div.container {
  width: 100%;
}
div#top {
  height: 75%;
  position: relative;
  background-color: #111;
}
div#bottom {
  height: 25%;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}
div#alternate {
  height: calc(100% - 60px);
}


@media (orientation: landscape) {
  div.wrapper {
    display: flex;
  }
  div.container {
    width: 50%;
    height: 100%;
  }
  div#top {
    width: 75%;
    height: 100%;
  }
  div#bottom {
    width: 25%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
  }
  div#flip {
    position: absolute;
    width: 100vh;
    transform: translate(0, 100vh) rotate(270deg);
    transform-origin: top left;
  }
  div#alternate {
    width: calc(100% - 40px);
    height: calc(100% - 20px);
  }
  div#table-header {
    width: 100vh;
    transform: translate(75vw, 0vh) rotate(270deg);
    transform-origin: bottom left;
  }
}

div#nav {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 20px;
  color: #000;
  background-color: #fff;
}
div#nav svg {
  width: 12px;
  margin-right: 2px;
}
div#nav a {
  color: inherit;
  text-decoration: none;
}
div.title {
  font-weight: 600;
}

div#table-header {
  width: min(100vw, 100vh);
  min-width: 550px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;

  color: #000;
  background-color: #fff;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;

  position: absolute;
  bottom: 0;
  left: 0;
}

div.item {
  width: min(100vw, 100vh);
  min-width: 550px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #fff;
}
div.item:first-child {
  border-top: none;
}

div.item.selected {
  background-color: #999;
}

div.item:hover {
  color: #000;
  background-color: #999;
  cursor: pointer;
}
div.item:hover svg#version .outlined {
  stroke: #000;
  fill: #fff;
}
div.item:hover svg#version .filled {
  fill: #000;
}
div.item:hover svg#colors rect.frame {
  stroke: #000;
}
div.item:hover svg#layout line {
  stroke: #000;
}
div.item svg {
  pointer-events: none;
  vertical-align: bottom;
}
div.edition {
  width: 24px;
}
div.version {
  width: 48px;
}
div.seed {
  width: 80px;
}
div.colors {
  width: 48px;
}
div.system {
  width: 86px;
}
div.layout {
  width: 48px;
}
div.owner {
  width: 160px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
div.hidden {
  display: none;
}