.cell {
  width: 28px;
  height: 28px;
  border-radius: 2px;
  border: 1px solid #20323e;
  position: relative;
  background-image: url("/assets/board/cell-0fac8d53.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;

  &.empty_slot {
    background-image: url("/assets/board/cell-empty-a68cb8c7.png");
  }

  &:is(.start, .p1_start, .p2_start) {
    --start-ink: #fff5d9;
    border-color: #57416e;
  }

  &.p1_start {
    --start-ink: #16475c;
    border-color: #28667f;
  }

  &.p2_start {
    --start-ink: #672f29;
    border-color: #8d4941;
  }

  &.l2 {
    border-color: #789488;
  }

  &.l3 {
    border-color: #398164;
  }

  &.l4 {
    border-color: #0c6045;
  }

  &.w2 {
    border-color: #9f8f4e;
  }

  &.w3 {
    border-color: #9c6835;
  }

  &.w4 {
    border-color: #8d4621;
  }

  &.gamble {
    border-color: #2b3942;
  }

  &.block {
    background: transparent;
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .icon.bomb {
    transform: scale(0.40);
    position: absolute;
    border-radius: 5px;
    margin: -18px;
  }

  &.fortress {
    background-image: url("/assets/board/cell-fortress-81372d87.png");
  }

  &.empty_slot.fortress {
    background-image: url("/assets/board/cell-empty-fortress-c287ad7f.png");
  }

  .fa {
    font-size: 22px;
    position: absolute;
    top: 4px;
    background-color: transparent;
  }

  .fa-question {
    left: -1px;
  }

  .fa-star {
    inset: 0;
    margin: auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72%;
    height: 72%;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--start-ink, #fff5d9);
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
  }

  .territory_value {
    width: 12px;
    position: absolute;
    right: 0;
    text-align: center;
    font-size: 11px;
    font-family: 'Yanone Kaffeesatz';
  }

  .point_value {
    top: 1px;
  }

  .territory_value {
    color: black;
    z-index: 1;
    bottom: 1px;
    line-height: 1;
    font-weight: 700;
  }
}

.cell_desc {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #182832;
  font-size: 14px;
  line-height: 1;
  font-family: 'Ubuntu Mono', Monospace;
  font-weight: 700;
  pointer-events: none;
}
