#grid{
  display:grid;
  gap:0;
  margin-top:10px;
}

.cell{
  width:42px;
  height:42px;
  border:1px solid #aaa;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  cursor:pointer;
  box-sizing:border-box;
  background:#fff;
}

.star{
  background:#ffe7a3;
}

.cross{
  color:#bbb;
}

.regionBorderTop{
  border-top:3px solid #000;
}

.regionBorderBottom{
  border-bottom:3px solid #000;
}

.regionBorderLeft{
  border-left:3px solid #000;
}

.regionBorderRight{
  border-right:3px solid #000;
}

.playerLayout{
  display:grid !important;
  grid-template-columns:max-content 320px !important;
  gap:40px !important;
  align-items:start !important;
}

.boardArea{
  min-width:0;
}

.notesArea{
  width:320px;
  padding:16px;
  border:1px solid #ddd;
  border-radius:6px;
  background:#fafafa;
  position:sticky;
  top:80px;
  align-self:start;
}

.boardHeader{
  margin-bottom:8px;
  font-weight:600;
}

.boardActions{
  margin-top:14px;
}

.metaBlock{
  margin-bottom:18px;
}

.notesText{
  margin-top:4px;
  font-size:0.9em;
  color:#555;
}

textarea#internalNotesInput{
  width:100%;
  min-height:120px;
  margin-top:6px;
  padding:8px;
  font-family:inherit;
  font-size:14px;
  resize:vertical;
  box-sizing:border-box;
}

.notesActions{
  margin-top:8px;
}

.difficultyBadge{
  display:inline-block;
  padding:2px 8px;
  border-radius:4px;
  font-size:12px;
  background:#ddd;
}

.difficultyBadge.Easy{
  background:#8bd48b;
}

.difficultyBadge.Medium{
  background:#ffd56b;
}

.difficultyBadge.Hard{
  background:#ff9d6b;
}

.difficultyBadge.Expert{
  background:#ff6b6b;
  color:#fff;
}

@media (max-width: 900px){
  .playerLayout{
    grid-template-columns:1fr !important;
  }

  .notesArea{
    width:auto;
    position:static;
  }
}

.solutionStar{
  background:#dff6ff;
  box-shadow: inset 0 0 0 2px #2c8fff;
}