@font-face {
  font-family: 'pickles';
  src: url('unscii-16.ttf') format('truetype');
}

body {
  background: #161032;
  color: #fff;
  font-family: 'pickles';
  margin: 0;
  text-align: center;
  font-size: 24px;
  line-height: 0.75;
  letter-spacing: -1px;
  overflow: hidden;
}

div.viewable {
  width: 398px;
  height: 540px;
  position: relative;
}

div.smol {
  width: 398px;
  height: 176px;
  text-align: right;
  font-size: 4em;
  display: table-cell;
  table-layout: fixed;
  vertical-align: middle;
  padding: 0 8px;
  overflow: hidden;
}

#controls {
  position: absolute;
  top: 0;
  left: 450px;
}

table {
  width: 100%;
  text-align: left;
  font-size: 100%;
}

h1 {
  margin: 6px 0;
  font-size: 200%;
  font-weight: normal;
  letter-spacing: 0px;
  color: #d8ff00;
}

input, button {
  display: block;
  margin: 1em;
}

table {
  border-collapse: collapse;
  white-space: nowrap;
  text-overflow: ellipsis;
}

tr.current {
  background-color: rgba(255, 255, 255, 0.2);
}

td.time {
  text-align: right;
}

td.over {
  color: #ff1d15;
}

td.under {
  color: #3ec300;
}

td.gold {
  color: #d8ff00;
}

td.old {
  color: #999;
}

p#current {
  font-size: 400%;
  text-align: right;
  bottom: 0;
  right: 0;
  position: absolute;
  margin-bottom: -0.05em;
  width: 100%;
}

p#current span {
  padding: 0;
  margin: 0;
}

canvas {
  bottom: 0;
  right: 0;
  position: absolute;
  width: 100%;
  height: 72px;
  display: none;
}

#ms {
  font-size: 50%;
}

#info {
  position: absolute;
  bottom: 3.6em;
  left: 0;
  width: 100%;
}

a {
  text-decoration: none;
  color: #fff;
}

a:hover {
  color: #337ca0;
}

.firework {
  position: absolute;
  display: block;
  height: 4px;
  width: 4px;
}

textarea {
  margin-top: 32px;
  width: 402px;
  height: 128px;
}
