.bs-phase {
  text-align: center;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  margin: 10px 0 6px;
}
.bs-fleet {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  min-height: 30px;
}
.bs-ship {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}
.bs-ship.done { opacity: 0.4; }
.bs-ship.sunk { border-color: #ff5470; color: #ff5470; text-decoration: line-through; }
.bs-ship i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grape);
  display: inline-block;
}
.bs-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  width: min(94vw, 400px);
  margin: 8px auto;
  background: #cfe9f7;
  padding: 6px;
  border-radius: 12px;
  user-select: none;
  box-shadow: var(--shadow-sm);
}
.bs-cell {
  aspect-ratio: 1 / 1;
  background: #eaf6fd;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(13px, 4vw, 20px);
  cursor: pointer;
  transition: background 0.12s;
}
.bs-cell.ship { background: #9b8bd6; }
.bs-cell.miss { background: #dbe6ee; color: #7d8ba0; }
.bs-cell.hit { background: #ff8fa3; }
.bs-cell.sunk { background: #e5405e; }
.bs-cell.ok { outline: 2px solid var(--mint); }
.bs-cell.bad { outline: 2px solid #ff5470; }
.bs-status {
  text-align: center;
  font-weight: 700;
  min-height: 24px;
  color: var(--muted);
}
.bs-cover {
  position: fixed;
  inset: 0;
  background: rgba(43, 36, 64, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 20px;
}
.bs-cover.hidden { display: none; }
.bs-cover-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  box-shadow: var(--shadow);
}
.bs-cover-title { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.bs-cover-sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
