.bn-legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.bn-legend b.hit { color: #e10600; }
.bn-legend b.miss { color: #38bdf8; }

.bn-fleet {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.bn-ship {
  border: 1px solid var(--line);
  background: #000;
  color: #fff;
  padding: 10px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
}
.bn-ship.selecionado {
  border-color: var(--accent);
  box-shadow: inset 3px 0 0 var(--accent);
}
.bn-ship.colocado {
  opacity: 0.35;
  cursor: not-allowed;
}

.bn-orient {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 8px;
}

.bn-boards {
  display: grid;
  gap: 20px;
  margin: 8px 0 20px;
}
@media (min-width: 860px) {
  .bn-boards { grid-template-columns: 1fr 1fr; }
}

.bn-panel {
  border: 1px solid var(--line);
  background: #000;
  padding: 14px;
}
.bn-panel h3 {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
  font-size: 1rem;
  margin: 0 0 10px;
}

.bn-wrap {
  display: grid;
  grid-template-columns: 22px 1fr;
  grid-template-rows: 22px 1fr;
  width: min(420px, 100%);
  margin: 0 auto;
  gap: 4px;
}
.bn-cols, .bn-rows {
  display: grid;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
}
.bn-cols {
  grid-column: 2;
  grid-template-columns: repeat(10, 1fr);
  text-align: center;
}
.bn-rows {
  grid-row: 2;
  grid-template-rows: repeat(10, 1fr);
  align-items: center;
  text-align: center;
}

.bn-board {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #071018;
}
.bn-board .cell {
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
  background: #0b1c28;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.bn-board .cell:hover { background: #123044; }
.bn-board .cell.navio { background: #4b5563; }
.bn-board .cell.preview { background: rgba(255, 62, 0, 0.45); }
.bn-board .cell.preview-bad { background: rgba(225, 6, 0, 0.28); }
.bn-board .cell.agua { background: #0e4a6e; }
.bn-board .cell.agua::after,
.bn-board .cell.acerto::after,
.bn-board .cell.afundado::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(0.55rem, 2.4vw, 0.9rem);
}
.bn-board .cell.agua::after { content: "·"; color: #7dd3fc; }
.bn-board .cell.acerto { background: #e10600; }
.bn-board .cell.acerto::after { content: "×"; color: #fff; font-weight: 800; }
.bn-board .cell.afundado { background: #7f1d1d; }
.bn-board .cell.afundado::after { content: "■"; color: #fca5a5; }
.bn-board .cell.last { box-shadow: inset 0 0 0 2px #facc15; }
.bn-board .cell.reveal { background: #334155; }

.bn-score {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.bn-score b { color: #fff; }

#posicionamento { display: none; }
