body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #CDEDF6;
  text-align: center;
}

/* Sidebar */
#sidebar h4 {
  font-weight: 600;
}

/* Boards */
.board {
  display: grid;
  grid-template-columns: repeat(10, 32px);
  grid-template-rows: repeat(10, 32px);
  gap: 2px;
}

/* Hide elements on small and medium screens */
@media (max-width: 991px) {  /* Bootstrap md breakpoint */
  .hide-sm-md {
    display: none !important;
  }
}

.tile {
  width: 32px;
  height: 32px;
  background: #ffffff;
  border: 1px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  font-size: 20px;
}

.tile.disabled {
  cursor: default;
}

.tile.miss {
  color: #1e88e5;
  font-size: 16px;
}

.tile.hit {
  background: #ffe5e5;
}

.tile.defeated {
  border-color: #e53935;
}

/* Scoreboard */
#scoreboard {
  max-width: 300px;
  margin: 0 auto;
}

.navbar-logo {
  height: 45px;        /* fits Bootstrap navbar */
  width: auto;         /* keeps aspect ratio */
  object-fit: contain; /* prevents distortion */
}

.social-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

footer .social-icon {
    width: 32px;
    height: 32px;
}

.footer-custom {
    background-color: #1D3461;
    color: #ffffff;
}
.custom-nav {
    background-color: #1D3461;
}