.diamonddeduction-game .grid-wrap {
  position: relative;
  width: var(--board-width);
  height: var(--board-height);
}

.diamonddeduction-game .grid {
      display: grid;
      width: var(--board-width);
      height: var(--board-height);
}

.diamonddeduction-game .cell {
  width: var(--cell);
  height: var(--cell);
  position: relative;
  border-style: solid;
  border-color: var(--ink);
  /*Following widths are defined within the template*/
  border-top-width: var(--cell-top);
  border-right-width: var(--cell-right);
  border-bottom-width: var(--cell-bottom);
  border-left-width: var(--cell-left);
}

.diamonddeduction-game .cell-label {
      display: grid;
      place-items: center;
      font-size: 2.0rem;
      color: rgba(64, 40, 61, 0.32);
      font-weight: 400;
    }

    .diamonddeduction-game .cell .corner-note {
      position: absolute;
      top: 0px;
      left: 1px;
      font-size: 0.6rem;
      line-height: 1;
      color: rgba(36, 22, 27, 1);
      z-index: 1;
      pointer-events: none;
    }


.diamonddeduction-game .laser-overlay, 
.diamonddeduction-game .shape-overlay {
  position: absolute;
  overflow: visible;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  
      pointer-events: none;
}


.diamonddeduction-game .shape-preview-row{
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;

}

.diamonddeduction-game .shape-preview-row-text{
      position: relative;
      top:-8px;
      left: 2px;
      font-size: 0.6rem;
      line-height: 1;
      color: rgba(36, 22, 27, 1);
      z-index: 1;
      pointer-events: none;
      display: inline;

    }

    .diamonddeduction-game .shape-preview-row-input{
      position: relative;
      top:-6px;
      left: 10px;
      width: 35px;
      z-index: 1;
    }

.diamonddeduction-game .laser-outline {
  fill: none;
  stroke-width: 5;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke: rgba(64, 40, 61, 0.14);
  z-index: 2;
}

.diamonddeduction-game .laser-path {
  fill: none;
  stroke-width: 4;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  z-index: 2;
}

.diamonddeduction-game .cell.shotExit {
  background: var(--shot-exit-color);
}

.diamonddeduction-game .won-overlay{
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(36, 22, 27, 0.45);
}

.diamonddeduction-game .overlay-box {
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--accent);
  padding: 40px 48px;
  text-align: center;
  max-width: 380px;
  width: 90%;
}

.diamonddeduction-game .underneath-board {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: var(--board-width);
}

.diamonddeduction-game .submit-button {
  position: static;
}