html, body {
  margin: 0;
  padding: 0;
}

h1 {
  text-align: center;
  font-size: 1.6em;
  font: sans-serif;
  font-weight: normal;
  margin: 1.4em 0 0;
  padding: 0;
}

.a-board {
  margin: 10px auto;
  width: 360px;
  overflow: hidden;
  padding: 0;
}

.a-board button {
  padding: 0.4em 1.2em;
  border: solid 1px;
  color: white;
  background-color: #999;
  border-radius: 5px;
}

.a-board .score {
  font-size: 0.8em;
  font-weight: bold;
  color: #333;
  border: solid 1px #ccc;
  border-radius: 5px;
  float: right;
  text-align: center;
  width: 4em;
  line-height: 2;
  box-sizing: border-box;
  margin-top: 0.5em;
}

.a-board .toolbar {
  padding: 0px;
  width: 335px;
  line-height:2.4em;
  vertical-align: middle;
  margin: 10px auto;
}

.a-board > div.items {
  text-align: center;
  position: relative;
  margin: 10px auto;
  background-color: #eee;
  width: 325px;
  height: 405px;
  overflow: hidden;
  border: solid 5px #ccc;
  border-radius: 5px;
}

.a-board div.empty {
  font-size: 1.2em;
  color: #ccc;
  line-height: 405px;
}

.a-board div.finish {
  font-size: 1.5em;
  color: #393;
  background-color: #efe;
  line-height: 405px;
}

.a-block {
  position: absolute;
  display: block;
  width: 75px;
  height: 75px;
  margin: 5px;
  line-height: 80px;
  color: #333;
  background-color: #efe;
  text-align: center;
  cursor: pointer;

  border-radius: 4px;
  box-sizing: border-box;
  border: solid 1px #ccc;

  transition: all 0.3s ease-out;

  user-select: none;
}

.a-block.a {
  font-size: 1.2em;
  background-color: #ffe;
}

.a-block.b {
  font-size: 0.9em;
}

.a-block.active {
  background-color: #cfc;
}

.a-block.matched {
  background-color: #9f9;
}

.a-block.error {
  background: #f99;
}

.list-item {
  margin-right: 10px;
  transition: all 0.2s;
}

.list-complete-enter, .list-complete-leave-to
/* .list-complete-leave-active below version 2.1.8 */ {
opacity: 0;
transform: translateY(30px);
}
.list-complete-leave-active {
  position: absolute;
}