* {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html,
#board {
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}
.player {
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: #333;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 900;
  display: inline-block;
  width: 50%;
  height: 50%;
  text-align: center;
  color: #efef66;
  font-size: 70px;
  white-space: nowrap;
  overflow: hidden;
}
.kela {
  background: #f9c418;
  width: 33.333%;
  height: 33.333%;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 100%;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: #333;
  color: #f9c418;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 900;
  font-size: 70px;
  text-align: center;
  background-image: url(/img/kela.png);
  background-size: auto 80%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.cancel {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  height: 60px;
  background: #333;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: #333;
  color: #999;
  font-family: 'Titillium Web', sans-serif;
  font-weight: 900;
  font-size: 40px;
  text-align: center;
  display: none;
}
.fail {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 900;
  display: block;
  width: 150px;
  height: 150px;
  border: 2px solid #fff;
  text-align: center;
  color: #e02;
  background: #000;
  font-size: 80px;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  margin: -3px;
  line-height: 150px;
}
.fail[data-i="0"] {
  top: 0;
  left: 0;
  border-bottom-right-radius: 50px;
}
.fail[data-i="1"] {
  top: 0;
  right: 0;
  border-bottom-left-radius: 50px;
}
.fail[data-i="2"] {
  bottom: 0;
  left: 0;
  border-top-right-radius: 50px;
}
.fail[data-i="3"] {
  bottom: 0;
  right: 0;
  border-top-left-radius: 50px;
}
.log {
  font-size: 20px;
  line-height: 20px;
  height: auto;
  max-height: 50%;
  width: 50%;
  overflow: hidden;
  color: #000;
  position: absolute;
  pointer-events: none;
  padding: 5px;
}
.log[data-i="0"] {
  color: white;
  top: 0;
  left: 0;
}
.log[data-i="1"] {
  top: 0;
  right: 0;
}
.log[data-i="2"] {
  bottom: 0;
  left: 0;
}
.log[data-i="3"] {
  bottom: 0;
  right: 0;
}
.num {
  display: inline-block;
  vertical-align: middle;
}
.num.last {
  font-weight: bold;
  font-size: 133%;
}
