body {
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 20px;
  background-color: #f0f0f0;
}
#game-container {
  display: none;
}
.board-visual {
  display: grid;
  gap: 5px;
  margin: 5px auto;
  width: 20%;
}
@keyframes blink {
  0% { border-color: transparent; }
  40% { border-color: #ff0000; }
  60% { border-color: #ff0000; }
  100% { border-color: transparent; }
}
.blink-border {
  position: absolute;
  top: 1px; /* Adjust to sit inside the solid border */
  left: 1px; /* Adjust to sit inside the solid border */
  right: 1px; /* Adjust to sit inside the solid border */
  bottom: 1px; /* Adjust to sit inside the solid border */
  animation: blink 1s infinite; /* 1 second duration, infinite loop */
  border: 4px dashed;
}
.solid-border {
  border: 1px solid #000000;
}
.cell {
  position: relative;
  padding: 5px;
  font-size: 14px;
  text-align: center;
  background-color: #fff;
  aspect-ratio: 1 / 1;
}
.header {
  background-color: #ddd;
  font-weight: bold;
}
.laser, .missile {
  position: absolute;
  top: 45px;
  left: 25px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size:25px;
  color: #000000;
  z-index: 10;
}
.laser {
  background-color: rgba(119, 229, 9, 0.8);
  color: rgba(119, 229, 9, 0.8);
  z-index: 12; 
}
.hit {
  position: absolute;
  top: 40px;
  left: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  font-weight: bold;
  color: #ff0000;
  z-index: 12;
}
.miss {
  position: absolute;
  top: 30px;
  left: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  font-weight: bold;
  color: #0091ff;
  z-index: 12;
}
.disabled {
  opacity: 0.5;
  pointer-events: none;
}
#round-info {
  font-size: 18px;
  margin: 10px 0;
}
#transcript {
  display: inline-block;
  width: 400px;
  height: 30px;
  border: 1px solid #ccc;
  padding: 10px;
  overflow-y: auto;
  background-color: #f9f9f9;
  font-size: 14px;
  box-sizing: border-box;
  text-align: left;
}
#instructions {
  display: inline-block;
  width: 600px;
  padding: 8px;
  font-size: 14px;
  text-align: left;
}
