body{
  max-width: 750px;
  margin: 0px auto;
  font-family: monaco, Consolas, 'Lucida Console', monospace; 
}

.fixed{
  position: sticky;
  top: 0px;
}

.score, .log{
  display: inline-block;
}

.score{
  font-size: 35px;
  width: 70px;
  position: relative;
  left: 8px;
  top: -10px;
  background: #fff;
}

.log{
  width: calc(100% - 80px);
  height: 45px;
  overflow: hidden;
  top: -1px;
  position: relative;
  background: #fff;
}

.log-col{
  display: inline-block;
  width: 20px;
  border-left: 1px solid #ccc;
}
.log-col:last-child{
  border-right: 1px solid #ccc;
}

.log-col > div{
  padding-right: 8px;
  padding-left: 5px;
}
.log .is-left{
  background: #000;
  color: #fff;
}

.button > div{
  width: calc(50% - 2px);
  display: inline-block;
  text-align: center;
  border: 1px solid #000;
  height: 30px;
  cursor: pointer;
  position: relative;
  top: -14px;
  background: #fff;
}

.button > div:first-child{
  /*border-left: 0px;*/
  border-right: 0px;
}

.button > div > div{
  position: relative;
  top: 5px;
}

.tree{
  margin-top: 30px;
  margin-bottom: 30px;
}

body{
}


.tooltip {
  top: -1000px;
  position: fixed;
  padding: 10px;
  background: rgba(255, 255, 255, .90);
  border: 1px solid lightgray;
  pointer-events: none;
}
.tooltip-hidden{
  opacity: 0;
  transition: all .3s;
  transition-delay: .1s;
}

@media (max-width: 590px){
  div.tooltip{
    bottom: -1px;
    width: calc(100%);
    left: -1px !important;
    right: -1px !important;
    top: auto !important;
    width: auto !important;
  }
}

svg{
  overflow: visible;
}

.domain{
  display: none;
}

text{
  pointer-events: none;
  text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff;
}
