html,
body {
  background-color: #fff;
  font-family: "Helvetica", "Arial", "Verdana", sans-serif;
  margin: 0;
  padding: 0;
}

.app-container {
  max-width: 100%;
  overflow: hidden;
}

.header {
  background-color: #369;
  padding: 10px 0;
}

.header > h1 {
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  margin: 0;
  text-align: center;
}

.container {
  margin: 20px auto;
  width: 352px;
}

.board,
.pool {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  margin-bottom: 16px;
}

.row {
  align-items: center;
  display: flex;
  gap: 4px;
  justify-content: center;
}

.row div {
  border-radius: 4px;
  display: block;
  float: left;
  height: 56px;
  position: relative;
  width: 56px;
}

.board .row div {
  background-color: #fff;
  border: 1px solid #0002;
}

.board .row .empty {
  background-color: #ccc;
}

.pool .row div {
  border: 1px solid transparent;
}

.row .empty {
  background-color: #eee;
}

.mode-placing .board .row .empty {
  background-color: #ddd;
  border: 1px solid #0004;
  cursor: pointer;
}

.mode-placing .board .row .empty.suggested {
  background-color: #acf;
}

.mode-placing .board .row .empty.suggested:hover {
  background-color: #bdf;
}

.mode-placing .board .row .empty:hover {
  background-color: #eee;
}

.mode-placing .board .row .empty:active {
  background-color: #bbb;
}

.row div:not(.empty) {
  cursor: pointer;
  position: relative;
}

.row div:not(.empty):after {
  border-style: solid;
  border-width: 3px;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
}

.little:after {
  height: 24px;
  margin-left: -15px;
  margin-top: -15px;
  width: 24px;
}

.big:after {
  height: 38px;
  margin-left: -22px;
  margin-top: -22px;
  width: 38px;
}

.lime:after {
  background-color: #8d2;
  border-color: #8d2;
}

.orange:after {
  background-color: #f93;
  border-color: #f93;
}

.circle:after {
  border-radius: 50%;
}

.hollow:after {
  background: transparent !important;
}

.pool .row div:hover {
  outline: 1px solid #ddd;
}

.pool .row div:active {
  outline: 1px solid #bbb;
}

.pool .row .selected,
.pool .row .selected:hover {
  outline: 2px solid #fb0;
}

.pool .row .suggested {
  outline: 2px solid #47a;
}

.pool .row .suggested:hover {
  outline: 2px solid #69c;
}
