body {
  overflow: hidden;
  background: #000;
  line-height: 1.4;
  text-align: center;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}
.hide {
  position: absolute !important;
  display: block !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  padding: 0 !important;
  margin: -1px !important;
  height: 1px !important;
  width: 1px !important;
  top: 0 !important;
  left: -999em !important;
}
#debug {
  position: fixed;
  z-index: 9;
  box-sizing: border-box;
  cursor: default;
  background: #333;
  color: #9F3;
  font: 20px monospace;
  border: none;
  width: 100%;
  top: 0;
  left: 0;
}
/* TODO: Figure out how to do this cross-browser */
/*
aside {
  position: absolute;
  box-sizing: border-box;
  color: #FFF;
  font: 64px monospace;
  text-orientation: upright;
  text-shadow: -2px 2px 0 #777, 0 2px 0 #777, 2px 2px 0 #AAA, 2px -2px 0 #AAA;
  writing-mode: sideways-lr;
  padding: 0 24px;
  width: calc((100% - 1024px) / 2);
  height: 100%;
  top: 0;
  left: 0;
}
*/
#canvas-wrapper {
  position: fixed;
  overflow: hidden;
  margin: -320px auto 0;
  width: 1024px;
  height: 640px;
  top: 50%;
  left: 0;
  right: 0;
}
#canvas {
  position: absolute;
  background: #555;
  width: 100%;
  top: 0;
  left: 0;
}
#canvas table {
  background: #000;
  border-collapse: collapse;
  color: #FFF;
  font: bold 1em/1.2em Helvetica;
  letter-spacing: 1px;
  margin: 16px auto;
}
#canvas caption,
#canvas th,
#canvas td {
  background: #000;
  border: 1px solid #FFF;
  padding: 1em;
}
#canvas td {
  padding: 0.5em 1em;
}

#audio-controls {
  position: absolute;
  background: #654;
  color: #FFF;
  font: 16px monospace;
  border: 4px solid #987;
  border-radius: 4px;
  padding: 12px 6px;
  top: 50%;
  right: calc((100% - 1024px) / 4);
  transform: translate(50%, -50%);
}
#audio-controls .audio-unavailable {
  display: none;
}
/* Gray out controls and display message that audio is unavailable */
#audio-controls.disabled {
  background: #777;
  width: 80px;
}
#audio-controls.disabled .audio-available {
  display: none;
}
#audio-controls.disabled .audio-unavailable {
  display: block;
  line-height: 1.4;
  margin: 0;
}

#mute + label {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
  text-indent: -999em;
  margin: 0 0 8px;
  width: 36px;
  height: 28px;
}
#mute + label:before,
#mute + label:after {
  content: "";
  position: absolute;
  border-color: transparent #FFF transparent transparent;
  border-radius: 100%;
  border-style: solid;
  border-width: 4px;
  top: 50%;
}
#mute + label:before {
  margin-top: -14px;
  width: 20px;
  height: 20px;
  left: 0px;
}
#mute + label:after {
  margin-top: -20px;
  width: 32px;
  height: 32px;
  left: -4px;
}
#mute:checked + label:before,
#mute:checked + label:after {
  background: #FFF;
  border: 0;
  border-radius: 0;
  margin-top: -2px;
  width: 16px;
  height: 4px;
  left: 20px;
}
#mute:checked + label:before {
  transform: rotate(45deg);
}
#mute:checked + label:after {
  transform: rotate(-45deg);
}

.speaker {
  position: absolute;
  display: block;
  background: #FFF;
  width: 10px;
  height: 10px;
  top: calc(50% - 5px);
  left: 0;
}
.speaker:after {
  content: "";
  position: absolute;
  border-color: transparent #FFF transparent transparent;
  border-radius: 100%;
  border-style: solid;
  border-width: 16px;
  top: -11px;
  left: -15px;
}

#volume {
  display: block;
  margin: 0 auto;
  width: 24px;
  height: 88px;
  -webkit-appearance: slider-vertical; /* Webkit */
  writing-mode: bt-lr; /* IE */
}
