/* « Équipage sur la carte » (crew-list-ui.mjs, étape 3, tâche 9 b ; brief 03-ennemis-client-brief.md § 5, § 8.3, § 8.6) : sous la légende, dans le
   pied de la fenêtre de carte. Lignes et « Centrer » de 44 px ; le disque à initiale reprend la forme du marqueur (plein en ligne, pointillé hors
   ligne) et l'anneau d'appel du cas (double corail : trouvé ; corail à encoches : au combat ; ambre pointillé : fusée) ; le mot dit toujours l'état. */
.navigation .crew-list { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgb(159 185 173 / 18%); color: #f0e1c5; }
.navigation .crew-list[hidden], .navigation .crew-list [hidden] { display: none !important; }
.navigation .crew-list-title { margin: 0 0 4px; color: #c4ccbf; font-size: 11px; font-weight: 400; line-height: 1.4; letter-spacing: 1.4px; text-transform: uppercase; }
.navigation .crew-list-offline { margin: 0 0 4px; color: #e2bc7e; font-size: 10px; line-height: 1.5; }
.navigation .crew-list-empty { margin: 4px 0 0; color: #c4ccbf; font-size: 10px; line-height: 1.5; }
.navigation .crew-list-rows { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.navigation .crew-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; min-height: 44px; border-radius: 4px;
  transition: background-color 120ms ease; }
.navigation .crew-item.is-selected { background: rgb(155 203 189 / 13%); }
.navigation .crew-row { display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 44px; padding: 0 8px; border: 0; border-radius: 4px; background: transparent;
  color: #f0e1c5; font: inherit; font-size: 11px; line-height: 1.3; text-align: left; cursor: pointer; }
.navigation .crew-row-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.navigation .crew-row-sub { grid-column: 1 / -1; margin: -6px 0 6px 37px; color: #c4ccbf; font-size: 10px; line-height: 1.45; }
.navigation .crew-center { display: grid; place-items: center; height: 44px; min-width: 76px; padding: 0 14px; border: 1px solid rgb(170 205 195 / 23%); border-radius: 4px;
  background: rgb(18 31 32 / 91%); color: #c6dfd5; font: inherit; font-size: 10px; cursor: pointer; }

/* Le disque de 18 px : plein (#9bcbbd, initiale sombre) en ligne, tireté (initiale claire) hors ligne ; la sélection, un anneau blanc de 2 px. */
.navigation .crew-disc { position: relative; box-sizing: border-box; display: grid; place-items: center; flex: 0 0 18px; width: 18px; height: 18px; margin: 0 2px;
  border-radius: 50%; font-size: 10px; font-weight: 700; line-height: 1; }
.navigation .crew-disc.is-plein { background: #9bcbbd; color: #10191a; }
.navigation .crew-disc.is-pointille { border: 1.5px dashed #9bcbbd; background: rgb(155 203 189 / 8%); color: #f0e1c5; }
.navigation .crew-item.is-selected .crew-disc { box-shadow: 0 0 0 2px #ffffff; }
.navigation .crew-disc::before { content: none; position: absolute; inset: -6px; box-sizing: border-box; border-radius: 50%; pointer-events: none; }
.navigation .crew-disc.has-ring-trouve::before { content: ""; border: 4px double #e8836f; }
.navigation .crew-disc.has-ring-combat::before { content: ""; background: repeating-conic-gradient(from -10deg, #e8836f 0 70deg, transparent 70deg 90deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px)); }
.navigation .crew-disc.has-ring-fusee::before { content: ""; border: 2px dotted #e2bc7e; }

.navigation .crew-list-more { margin-top: 2px; }
.navigation .crew-list-summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; border-radius: 4px; color: #9bcbbd; font-size: 10px; cursor: pointer; }
.navigation .crew-list-summary::marker { color: #9bcbbd; }

/* Hors ligne : positions à la dernière liaison, lignes à 60 % ; « Centrer » reste actif. */
.navigation .crew-list.is-offline .crew-row, .navigation .crew-list.is-offline .crew-row-sub { opacity: .6; }

.navigation .crew-list :is(.crew-row, .crew-center, .crew-list-summary):focus-visible { outline: 2px solid #a4cdc0; outline-offset: 2px; }
@media (hover: hover) {
  .navigation .crew-list .crew-item:not(.is-selected):hover { background: rgb(155 203 189 / 7%); }
  .navigation .crew-list :is(.crew-center, .crew-list-summary):hover { background: rgb(43 63 60 / 92%); border-color: rgb(170 205 195 / 40%); }
}
@media (max-width: 720px) { .navigation .crew-list { margin-top: 10px; padding-top: 8px; } }
/* Mouvement réduit : rien ne glisse ; l'anneau se lit à sa forme, 3 px et un petit point plein sur son bord haut. */
@media (prefers-reduced-motion: reduce) {
  .navigation .crew-item { transition: none; }
  .navigation .crew-disc.has-ring-fusee::before { border-width: 3px; }
  .navigation .crew-disc.has-ring-combat::before { -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px)); }
  .navigation .crew-disc.has-ring-trouve::before { border-width: 5px; }
  .navigation .crew-disc:is(.has-ring-trouve, .has-ring-combat, .has-ring-fusee)::after { content: ""; position: absolute; left: 50%; top: -7px; width: 5px; height: 5px;
    margin-left: -2.5px; border-radius: 50%; background: currentColor; pointer-events: none; }
  .navigation .crew-disc.has-ring-fusee::after { background: #e2bc7e; }
  .navigation .crew-disc:is(.has-ring-trouve, .has-ring-combat)::after { background: #e8836f; }
}
/* Les tentes et les balises (étape 6, tâche 9 d) : la forme du canevas, de la couleur de l'équipage ; la sienne, un double contour. */
.navigation .crew-list-lieux-title { margin-top: 10px; }
.navigation .crew-shape { position: relative; box-sizing: border-box; flex: 0 0 18px; width: 18px; height: 18px; margin: 0 2px; }
.navigation .crew-shape.is-triangle { clip-path: polygon(50% 4%, 96% 90%, 4% 90%); background: #9bcbbd; }
.navigation .crew-shape.is-triangle:is(.is-tirete, .is-barre) { background: repeating-linear-gradient(90deg, #9bcbbd 0 3px, transparent 3px 5px); opacity: .85; }
.navigation .crew-shape.is-triangle.is-barre { background: linear-gradient(150deg, transparent 46%, #9bcbbd 46% 56%, transparent 56%), rgb(155 203 189 / 18%); }
.navigation .crew-shape.is-cible { border: 2px solid #9bcbbd; border-radius: 50%; }
.navigation .crew-shape.is-cible.is-plein::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #9bcbbd; }
.navigation .crew-shape.is-mienne { outline: 1.5px solid #9bcbbd; outline-offset: 2px; }
.navigation .crew-shape.is-triangle.is-mienne { outline: 0; filter: drop-shadow(0 0 0 #9bcbbd) drop-shadow(0 0 1.5px #9bcbbd); }
.navigation .crew-lieu .crew-lieu-sub { margin-top: -6px; }
