* { margin: 0; padding: 0;}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body, html { height:100%; }

#view {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#stage-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#log {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  border: 1px solid red;
  padding: 0.5rem;
}

body.log-visible #log {
  display: block;
}
body.log-visible #stage-view {
  height: calc(100% - 7rem);
}

#log-content {
  height: 5rem;
  overflow-y: scroll;
}

#log-control {
  display: flex;
  height: 1rem;
  gap: 0.5rem;
}

#log-content div {
  background-color: rgba(0, 0, 0, 0.05);
}

#log-content div:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}
