/* === Guide Règles Bataille Navale - CSS spécifique === */

/* Sommaire cliquable */
.sommaire {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0;
}
.sommaire strong {
  display: block;
  color: #a5b4fc;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.sommaire ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sommaire li {
  margin: 0;
}
.sommaire a {
  color: #c4b5fd;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(196, 181, 253, 0.4);
  padding-bottom: 1px;
}
.sommaire a:hover {
  color: #e9d5ff;
  border-bottom-color: rgba(233, 213, 255, 0.7);
}

/* Tableau des navires */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.table-navires {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.table-navires thead {
  background: rgba(99, 102, 241, 0.1);
}
.table-navires th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: #a5b4fc;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.table-navires td {
  padding: 11px 16px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.table-navires tr:last-child td {
  border-bottom: none;
}
.table-navires tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}
.table-navires td:first-child {
  font-weight: 600;
  color: #e2e8f0;
}

/* Schéma SVG */
.schema-bataille {
  margin: 28px auto;
  max-width: 420px;
  text-align: center;
}
.schema-bataille svg {
  width: 100%;
  height: auto;
  background: rgba(20, 20, 35, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
}
.schema-bataille figcaption {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 12px;
  font-style: italic;
  line-height: 1.5;
}
