/* Évolutions (evolutions-ui.mjs, 27/09/2026) : rubrique de l'ordinateur de bord depuis l'étape 16, tâche 9 a (bouton et panneau dans
   computer.css). Depuis le 01/11/2026 (étape 6, tâche 8 c ; brief 06-evolutions-brief.md, variante A « Rail ») : l'arbre des modules en
   cartes le long d'un rail, le prérequis dessiné comme un câble (plein tenu, pointillé manquant, toujours doublé d'une phrase), et la fiche
   d'un module à pied collant. Le marqueur du générateur et sa flèche restent. */
.halo-preview {
  --evo-cyan: #8fe3f5; --evo-gold: #e0c98f; --evo-coral: #e8836f; --evo-text: #efe7d5; --evo-muted: #a9b9ad; --evo-soon: #93a397;
  --evo-line: rgb(150 214 228 / 30%); --evo-off: rgb(196 222 207 / 34%);
}
.shield-generator-marker:focus-visible, .computer-section button:focus-visible, .computer-section input:focus-visible { outline: 2px solid #add3be; outline-offset: 3px; }
.shield-generator-marker[hidden], .shield-arrow[hidden] { display: none !important; }

/* Les marqueurs de scène (générateur, sa flèche, console du camion) dans le calque du monde (main.world, isolé ; main.mjs) et au plan des
   portes et du distributeur (7) : sous tout panneau ouvert — tchat 8, menu général et sac 9, carte et distributeur 18 (demande de
   l'utilisateur du 11/10 : ajoutés au body, ils passaient au-dessus de tout). */
.shield-generator-marker {
  position: fixed; z-index: 7; left: 0; top: 0; display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 7px;
  border: 1px solid rgb(150 214 228 / 45%); border-radius: 999px; color: #d8f4fa; background: rgb(15 34 38 / 72%);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 600 11px/1 var(--font-ui, system-ui, sans-serif); letter-spacing: .4px;
  cursor: pointer; pointer-events: auto; white-space: nowrap;
}
.shield-generator-marker svg { width: 17px; height: 17px; color: var(--evo-cyan); }
.shield-arrow { position: fixed; z-index: 7; left: 0; top: 0; color: var(--evo-cyan); filter: drop-shadow(0 0 6px rgb(116 230 255 / 55%)); pointer-events: none; }
.halo-preview:is(.clean-view, .combat-open, .entry-open, .auth-open, .intro-open) :is(.shield-generator-marker, .shield-arrow) { visibility: hidden; pointer-events: none; }
.halo-preview.is-interior :is(.shield-generator-marker, .shield-arrow) { display: none; }

.evolutions-offline { margin: 10px 14px 0; }
.computer-section[data-view="module"] { padding-bottom: 0; }

/* La liste : le rail. Le câble général longe le bord gauche (un point par carte, plein quand le module est en service) ; une branche part
   sous son parent, en équerre vers chaque enfant, pleine si le prérequis est tenu, pointillée sinon. Le dessin est décoratif : la phrase
   de chaque carte dit le même fait. */
.evolutions-rail { position: relative; display: grid; gap: 8px; margin: 0; padding: 12px 12px 4px 34px; list-style: none; }
.evolution-noeud { position: relative; --indent: 0px; }
.evolution-noeud[data-rang="1"] { --indent: 24px; margin-left: 24px; }
.evolution-noeud[data-rang="2"] { --indent: 48px; margin-left: 48px; }
.evolution-noeud::before {
  content: ''; position: absolute; left: calc(-20px - var(--indent)); top: -8px; bottom: -8px; border-left: 1.5px solid rgb(143 227 245 / 42%);
}
.evolution-noeud:first-child::before { top: 22px; }
.evolution-noeud:last-child::before { bottom: calc(100% - 22px); }
.evolution-noeud[data-rang="0"]::after {
  content: ''; position: absolute; left: -25px; top: 17px; width: 9px; height: 9px; box-sizing: border-box; border-radius: 50%;
  border: 1.5px solid var(--evo-cyan); background: rgb(17 33 33 / 90%);
}
.evolution-noeud[data-rang="0"][data-service="true"]::after { background: var(--evo-cyan); box-shadow: 0 0 6px rgb(116 230 255 / 55%); }
.evolution-noeud[data-rang="0"][data-genre="bientot"]::after { border-style: dashed; border-color: var(--evo-off); }
/* L'équerre d'un enfant : du dessous de la carte qui précède jusqu'à sa carte. */
.evolution-noeud:not([data-rang="0"])::after {
  content: ''; position: absolute; left: -16px; top: -8px; width: 16px; height: 30px; box-sizing: border-box;
  border-left: 1.5px dashed var(--evo-off); border-bottom: 1.5px dashed var(--evo-off);
}
.evolution-noeud[data-cable="tenu"]:not([data-rang="0"])::after { border-left: 1.5px solid var(--evo-cyan); border-bottom: 1.5px solid var(--evo-cyan); filter: drop-shadow(0 0 3px rgb(116 230 255 / 45%)); animation: evo-courant 2.6s ease-in-out infinite; }
/* La branche continue vers l'enfant suivant (sa couleur : celle de l'enfant qu'elle rejoint). */
.evolution-noeud:not([data-rang="0"]):not([data-fin="true"]) > .evolution-carte::before {
  content: ''; position: absolute; left: -16px; top: 22px; bottom: -8px; border-left: 1.5px dashed var(--evo-off);
}
.evolution-noeud[data-suite="tenu"]:not([data-rang="0"]):not([data-fin="true"]) > .evolution-carte::before { border-left-style: solid; border-left-color: var(--evo-cyan); }
.evolution-noeud:not([data-rang="0"]) > .evolution-carte::after {
  content: ''; position: absolute; left: -4px; top: 18px; width: 7px; height: 7px; box-sizing: border-box; border-radius: 50%;
  border: 1.5px solid var(--evo-off); background: rgb(17 33 33 / 95%);
}
.evolution-noeud[data-cable="tenu"]:not([data-rang="0"]) > .evolution-carte::after { border-color: var(--evo-cyan); }
@keyframes evo-courant { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }

/* La carte d'un module : un bouton pleine largeur, ≥ 44 px, chevron à droite. */
.evolution-carte {
  position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 12px; align-items: center; gap: 2px 10px; width: 100%;
  min-height: 44px; box-sizing: border-box; padding: 9px 10px 9px 9px; border: 1px solid var(--evo-line); border-radius: 6px;
  color: inherit; background: rgb(22 48 52 / 38%); text-align: left; font: inherit; text-shadow: inherit; cursor: pointer;
}
.evolution-carte:hover { background: rgb(36 72 78 / 50%); border-color: rgb(150 214 228 / 55%); }
.evolution-carte[data-pret="true"] { border-color: rgb(143 233 250 / 80%); box-shadow: 0 0 0 1px rgb(143 233 250 / 25%), 0 0 14px rgb(116 230 255 / 18%); }
.evolution-carte[data-etat="requis"] { border-style: dashed; border-color: rgb(224 201 143 / 50%); }
.evolution-carte[data-etat="bientot"] { border-style: dashed; border-color: rgb(196 222 207 / 22%); background: rgb(19 35 33 / 26%); }
.evolution-carte[data-etat="maximal"] { border-color: rgb(143 227 245 / 45%); }
.carte-icone { grid-column: 1; grid-row: 1 / span 3; align-self: start; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgb(143 227 245 / 35%); color: var(--evo-cyan); background: rgb(116 230 255 / 8%); }
.carte-icone svg { width: 19px; height: 19px; }
.carte-nom { grid-column: 2; grid-row: 1; font: 400 14px/1.3 Georgia, serif; color: var(--evo-text); overflow-wrap: break-word; hyphens: manual; }
.carte-niveau { grid-column: 3; grid-row: 1; justify-self: end; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--evo-cyan); white-space: nowrap; }
.carte-chevron { grid-column: 4; grid-row: 1 / -1; color: #bcd0c6; font-size: 18px; line-height: 1; }
.carte-rangs { grid-column: 2 / 4; grid-row: 2; display: flex; gap: 5px; }
.carte-etat { grid-column: 2 / 4; grid-row: 3; display: flex; align-items: center; gap: 5px; color: #d7ddd2; font-size: 11px; }
.carte-cadenas, .chantier-cadenas { display: inline-grid; flex: none; width: 13px; height: 13px; color: var(--evo-gold); }
.carte-cadenas svg, .chantier-cadenas svg { width: 13px; height: 13px; }
.carte-barre { grid-column: 2; grid-row: 4; height: 5px; border-radius: 3px; overflow: hidden; background: rgb(196 222 207 / 14%); box-shadow: inset 0 0 0 1px rgb(196 222 207 / 12%); }
.carte-barre-fill { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #4fb8cf, #8fe9fa); transition: width .3s ease; }
.carte-progres { grid-column: 3; grid-row: 4; justify-self: end; color: #cfe8ee; font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.carte-manque { grid-column: 2; grid-row: 5; color: #d7ddd2; font-size: 11px; }
.carte-composants { grid-column: 3; grid-row: 5; justify-self: end; padding: 1px 8px; border: 1px solid rgb(143 227 245 / 55%); border-radius: 999px; color: #cfeef6; font-size: 10px; white-space: nowrap; }
.evolution-carte[data-etat="chantier"] .carte-etat { color: var(--evo-cyan); }
.evolution-carte[data-etat="maximal"] .carte-etat { color: var(--evo-cyan); }
.evolution-carte[data-etat="requis"] .carte-etat { color: var(--evo-gold); }
.evolution-carte[data-etat="bientot"] :is(.carte-etat, .carte-nom, .carte-niveau, .carte-icone) { color: var(--evo-soon); }
.evolution-carte[data-etat="bientot"] .carte-icone { border-style: dashed; border-color: rgb(196 222 207 / 25%); background: none; }
.evolution-carte[data-genre="bientot"] { padding-block: 5px; }
.evolution-carte[data-genre="bientot"] .carte-icone { grid-row: 1; width: 30px; height: 30px; }
.evolution-carte[data-genre="bientot"] .carte-niveau { letter-spacing: .4px; text-transform: none; font-size: 11px; }
/* Les rangs : plein en service, contour au suivant, or au suivant requis, pointillé au suivant « bientôt ». */
.rang { width: 9px; height: 9px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid rgb(196 222 207 / 28%); }
.rang.is-done { border-color: var(--evo-cyan); background: var(--evo-cyan); box-shadow: 0 0 5px rgb(116 230 255 / 45%); }
.rang.is-next { border-color: var(--evo-cyan); }
.rang.is-requis { border-color: var(--evo-gold); }
.rang.is-soon { border-style: dashed; }

/* La fiche d'un module. */
.chantier-fiche { padding: 12px 14px 0; }
.chantier-tete { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; }
.chantier-icone { grid-row: 1 / span 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(143 227 245 / 45%); color: var(--evo-cyan); background: rgb(116 230 255 / 8%); }
.chantier-icone svg { width: 22px; height: 22px; }
.chantier-nom { grid-column: 2; margin: 0; font: 400 17px/1.3 Georgia, serif; color: var(--evo-text); }
.chantier-nom:focus { outline: none; }
.chantier-niveau { grid-column: 3; grid-row: 1; justify-self: end; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--evo-cyan); white-space: nowrap; }
.chantier-rangs { grid-column: 2 / 4; display: flex; gap: 6px; }
.chantier-etat { grid-column: 2 / 4; display: flex; align-items: center; gap: 5px; margin: 0; color: #d7ddd2; }
.chantier-etat:is([data-etat="chantier"], [data-etat="maximal"]) { color: var(--evo-cyan); }
.chantier-etat[data-etat="requis"] { color: var(--evo-gold); }
.chantier-etat[data-etat="bientot"] { color: var(--evo-soon); }
.chantier-extension, .chantier-bientot { margin: 8px 0 0; color: #cfd9cf; }
.chantier-bloc { margin-top: 12px; }
.chantier-bloc-titre {
  display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; padding-bottom: 4px; border-bottom: 1px solid rgb(224 201 143 / 32%);
  color: var(--evo-gold); font-size: 10px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase;
}
.chantier-bloc-note { color: var(--evo-muted); letter-spacing: .4px; text-transform: none; }
.chantier-effet { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin: 0; }
.chantier-effet-libelle { color: #d7ddd2; }
.chantier-effet-valeur { color: var(--evo-text); font-variant-numeric: tabular-nums; }
.chantier-lien-atelier {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 12px; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 10px; padding: 0 10px;
  border: 1px solid var(--evo-line); border-radius: 6px; color: inherit; background: rgb(22 48 52 / 30%); font: inherit; text-align: left; cursor: pointer;
}
.chantier-lien-icone { display: grid; place-items: center; color: var(--evo-cyan); }
.chantier-lien-icone svg { width: 18px; height: 18px; }
.chantier-lien-action { color: var(--evo-cyan); font-size: 11px; }
.chantier-chevron { color: #bcd0c6; font-size: 18px; line-height: 1; }
/* Les puces : une zone de toucher de 44 px, le dessin plus bas centré dedans. */
.chantier-puces { display: flex; flex-wrap: wrap; gap: 0 6px; }
.chantier-puce {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 11px; border: 0;
  color: #e3ece6; background: transparent; font: inherit; font-size: 12px; cursor: pointer;
}
.chantier-puce::before { content: ''; position: absolute; z-index: -1; inset: 7px 0; border: 1px solid rgb(143 227 245 / 45%); border-radius: 6px; background: rgb(22 48 52 / 40%); }
.chantier-puce[data-tenu="false"]::before { border-style: dashed; border-color: rgb(224 201 143 / 55%); }
.chantier-puce[data-tenu="false"] { color: var(--evo-gold); }
.chantier-puce:hover::before { background: rgb(36 72 78 / 60%); }
.chantier-puce-icone { display: inline-grid; width: 13px; height: 13px; }
.chantier-puce-icone svg { width: 13px; height: 13px; }
.chantier-puce[data-tenu="true"] .chantier-puce-icone { color: var(--evo-cyan); }
.chantier-puce-note { color: var(--evo-soon); font-size: 10px; }
/* Les lignes de matériau (patron du 18/10, brief 02) : « Déposer N » plein, « Engager la réserve » contour, plein quand il est seul. */
.chantier-couts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chantier-cout { display: grid; gap: 4px; }
.chantier-cout-tete { display: flex; align-items: baseline; gap: 8px; }
.chantier-cout-nom { flex: 1; min-width: 0; font-weight: 600; color: var(--evo-text); }
.chantier-reuni { color: var(--evo-cyan); font-size: 11px; }
.chantier-cout-compte { color: #cfe8ee; font-variant-numeric: tabular-nums; }
.chantier-barre { height: 6px; border-radius: 4px; overflow: hidden; background: rgb(196 222 207 / 14%); box-shadow: inset 0 0 0 1px rgb(196 222 207 / 14%); }
.chantier-barre-fill { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #4fb8cf, #8fe9fa); transition: width .3s ease; }
.chantier-barre[data-attente="true"] .chantier-barre-fill { background: rgb(196 222 207 / 32%); }
.chantier-cout-notes { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0; color: var(--evo-muted); font-size: 11px; }
.chantier-manque { margin-left: auto; color: var(--evo-coral); font-weight: 600; }
.chantier-cout-actions { display: flex; gap: 8px; margin-top: 2px; }
.chantier-cout-actions > button { flex: 1 1 0; min-width: 0; }
.chantier-engager {
  display: grid; place-content: center; gap: 1px; min-height: 44px; padding: 4px 10px; border: 1px solid rgb(150 214 228 / 45%); border-radius: 6px;
  color: #dff6fb; background: transparent; font: 600 12px var(--font-ui, system-ui, sans-serif); text-align: center; cursor: pointer;
}
.chantier-engager.is-alone { color: #eafcff; background: rgb(56 124 138 / 42%); }
.chantier-engager:hover { background: rgb(66 146 162 / 30%); }
.chantier-engager.is-alone:hover { background: rgb(66 146 162 / 58%); }
.chantier-engager.is-armed { border-color: var(--evo-cyan); color: #f2fdff; background: rgb(143 227 245 / 16%); box-shadow: 0 0 0 1px var(--evo-cyan) inset; }
.chantier-engager-sous, .chantier-principal-sous { font-size: 10px; font-weight: 400; color: #bfe6ef; font-variant-numeric: tabular-nums; }
.chantier-deposer, .chantier-principal, .chantier-pas, .chantier-retour {
  min-height: 44px; padding: 0 14px; border: 1px solid rgb(150 214 228 / 45%); border-radius: 6px; color: #eafcff; background: rgb(56 124 138 / 42%);
  font: 600 12px var(--font-ui, system-ui, sans-serif); cursor: pointer;
}
.chantier-deposer:hover, .chantier-principal:hover, .chantier-pas:hover, .chantier-retour:hover { background: rgb(66 146 162 / 58%); }
:is(.chantier-deposer, .chantier-engager, .chantier-principal, .chantier-pas):disabled { opacity: .5; cursor: default; }
/* Le travail : « Verser » et ses − / +, le curseur natif, la conséquence écrite. */
.chantier-travail-attente { margin: 6px 0 0; color: var(--evo-muted); }
.chantier-travail { display: grid; grid-template-columns: minmax(0, 1fr) 44px 44px 44px; align-items: center; gap: 6px 8px; margin-top: 8px; }
.chantier-verser { color: #d7ddd2; }
.chantier-pas { width: 44px; padding: 0; font-size: 18px; font-weight: 400; background: transparent; }
.chantier-valeur { text-align: center; color: var(--evo-text); font-size: 15px; font-variant-numeric: tabular-nums; }
.chantier-curseur { grid-column: 1 / -1; width: 100%; height: 44px; margin: 0; accent-color: var(--evo-cyan); cursor: pointer; }
.chantier-endurance { grid-column: 1 / -1; margin: 0; color: var(--evo-muted); font-size: 11px; }
.chantier-ou { margin: 12px 0 0; color: #cfd9cf; }
.chantier-statut { min-height: 18px; margin: 6px 0 0; color: #bfe6ef; }
.chantier-statut[data-erreur="true"] { color: var(--evo-coral); }
.chantier-contributions { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; color: #cfd9cf; font-size: 11px; }
.chantier-voyage { margin: 12px 0 0; color: var(--evo-muted); font-size: 11px; font-style: italic; }
/* Le pied collant : « ← » et le geste du moment sous le pouce (≥ 44 px), toujours visibles dans la fiche. */
.chantier-pied {
  position: sticky; bottom: 0; z-index: 1; display: flex; gap: 8px; margin: 12px -14px 0; padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgb(180 205 183 / 16%); background: rgb(17 33 33 / 94%);
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
}
/* Un contrôle focalisé au clavier ne passe pas sous le pied (recette 11 i, 1440 × 900 : « Engager … » caché dessous) : chacun s'arrête
   au-dessus de lui en défilant (sa hauteur : 44 px de bouton, 16 px de marges, la bordure, l'encoche). Sur les contrôles du corps seulement : une
   marge du conteneur faisait sauter la liste jusqu'en bas dès qu'on tabulait sur un bouton du pied. */
.chantier-fiche :is(button, input, select, textarea, a, [tabindex]):not(.chantier-pied *) { scroll-margin-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
.chantier-retour { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 52px; padding: 0; background: transparent; }
.chantier-retour.is-seul { flex: 1; width: auto; }
.chantier-retour-icone { display: inline-grid; width: 18px; height: 18px; }
.chantier-retour-icone svg { width: 18px; height: 18px; }
.chantier-principal { display: grid; place-content: center; gap: 1px; flex: 1; border-color: rgb(143 227 245 / 70%); }

/* Le grand écran (tâche 8 d ; Q25, Q28 ; brief § 4.2, maquette 2026-11-01-etape6-maquette-evolutions-A-grand.jpg) : l'arbre à gauche en deux
   colonnes, la fiche à droite, chacun son défilement. Posé par evolutions-ui.mjs (`setWide`, data-wide), que main.mjs n'allume qu'à
   `(min-width: 1800px) and (pointer: fine)` ; le panneau prend sa largeur dans computer.css. Les colonnes de la grille sont celles de
   evolutions-cables.mjs (COLONNES) : la colonne 0 en deux moitiés, la gouttière des câbles, la colonne 1. */
.computer-section[data-wide="true"] {
  display: grid; grid-template-columns: minmax(0, 1fr) 392px; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; padding: 0;
}
/* Le bandeau hors ligne au-dessus de l'arbre (la fiche tient toute la hauteur de sa colonne) ; le chargement et le vide sur toute la largeur. */
.computer-section[data-wide="true"] > .evolutions-offline { grid-column: 1; grid-row: 1; }
.computer-section[data-wide="true"] > .evolutions-empty { grid-column: 1 / -1; }
.computer-section[data-wide="true"] > .evolutions-plan { position: relative; grid-column: 1; grid-row: 2; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.computer-section[data-wide="true"] > .chantier-fiche {
  grid-column: 2; grid-row: 1 / -1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 14px 16px 0;
  border-left: 1px solid rgb(180 205 183 / 16%);
}
/* La fiche en colonne : son pied au bas du panneau quand elle est courte (la maquette), collant quand elle défile. */
.computer-section[data-wide="true"] > .chantier-fiche { display: flex; flex-direction: column; }
.computer-section[data-wide="true"] .chantier-pied { margin: auto -16px 0; padding-inline: 16px; }
.computer-section[data-wide="true"] .evolutions-rail {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px minmax(0, 2fr); column-gap: 8px; row-gap: 10px; align-items: start;
  padding: 14px 30px 16px 14px;
}
.computer-section[data-wide="true"] .evolutions-rail .evolution-noeud { margin-left: 0; }
/* Un enfant sous son parent dans la colonne 1 (rang 2) : en retrait, rejoint par le bas du parent. */
.computer-section[data-wide="true"] .evolutions-rail .evolution-noeud[data-rang="2"] { margin-left: 20px; }
/* Les câbles du rail du téléphone cèdent la place au calque mesuré. */
.computer-section[data-wide="true"] .evolutions-rail .evolution-noeud::before,
.computer-section[data-wide="true"] .evolutions-rail .evolution-noeud::after,
.computer-section[data-wide="true"] .evolutions-rail .evolution-noeud > .evolution-carte::before,
.computer-section[data-wide="true"] .evolutions-rail .evolution-noeud > .evolution-carte::after { content: none; }
/* La carte : sans chevron (la fiche est à côté) ; le niveau sous le nom, ses rangs en face. */
.computer-section[data-wide="true"] .evolution-carte { grid-template-columns: 34px minmax(0, 1fr) auto; }
.computer-section[data-wide="true"] .carte-chevron { display: none; }
.computer-section[data-wide="true"] .carte-nom { grid-column: 2 / 4; }
.computer-section[data-wide="true"] .carte-niveau { grid-column: 2; grid-row: 2; justify-self: start; }
.computer-section[data-wide="true"] .carte-rangs { grid-column: 3; grid-row: 2; justify-self: end; align-self: center; }
/* Le manquant sur toute la largeur de la carte, l'étiquette « Composants » dessous (côte à côte, le manquant se coupait en trois lignes). */
.computer-section[data-wide="true"] .carte-manque { grid-column: 2 / 4; }
.computer-section[data-wide="true"] .carte-composants { grid-column: 2; grid-row: 6; justify-self: start; margin-top: 3px; }
.computer-section[data-wide="true"] .evolution-carte[data-genre="bientot"] .carte-niveau { grid-column: 3; grid-row: 1; justify-self: end; }
.computer-section[data-wide="true"] .evolution-carte[data-genre="bientot"] .carte-nom { grid-column: 2; }
/* La carte de la fiche : le trait plein et clair de la maquette (le cadre de son état cède : la phrase le dit toujours). */
.computer-section[data-wide="true"] .evolution-carte[data-choisi="true"] {
  border: 1px solid var(--evo-cyan); background: rgb(36 72 78 / 55%); box-shadow: 0 0 0 1px rgb(143 227 245 / 40%), 0 0 16px rgb(116 230 255 / 18%);
}
/* Les « bientôt » de rang 0 sans enfant (le Mur des noms, le Moteur) : côte à côte au bas de la colonne 0, « Bientôt » sous le nom. */
.computer-section[data-wide="true"] .evolution-noeud[data-colonne^="demi"] .evolution-carte { grid-template-columns: 24px minmax(0, 1fr); gap: 0 6px; padding: 6px 7px; }
.computer-section[data-wide="true"] .evolution-noeud[data-colonne^="demi"] .carte-icone { grid-row: 1 / span 2; width: 24px; height: 24px; }
.computer-section[data-wide="true"] .evolution-noeud[data-colonne^="demi"] .carte-icone svg { width: 15px; height: 15px; }
.computer-section[data-wide="true"] .evolution-noeud[data-colonne^="demi"] .carte-nom { grid-column: 2; font-size: 12px; white-space: nowrap; }
.computer-section[data-wide="true"] .evolution-noeud[data-colonne^="demi"] .carte-niveau { grid-column: 2; grid-row: 2; justify-self: start; }
/* Le calque des câbles (evolutions-cables.mjs) : sous les cartes, à angles droits ; plein tenu, pointillé manquant ; plus épais pour le
   module de la fiche (dans les deux sens). */
.evolutions-cables { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.computer-section:not([data-wide="true"]) .evolutions-cables { display: none; }
.evolutions-cables .cable { fill: none; stroke: var(--evo-off); stroke-width: 1.5; stroke-dasharray: 4 4; stroke-linejoin: miter; }
.evolutions-cables .cable.is-tenu { stroke: var(--evo-cyan); stroke-dasharray: none; filter: drop-shadow(0 0 3px rgb(116 230 255 / 45%)); animation: evo-courant 2.6s ease-in-out infinite; }
.evolutions-cables .cable.is-choisi { stroke-width: 2.5; }

/* Un téléphone étroit (320 px) : le niveau passe sous le nom, aucun mot coupé (brief § 9.5). */
@media (max-width: 359px) {
  .evolutions-rail { padding-right: 8px; }
  .carte-nom { grid-column: 2 / 4; }
  .carte-niveau { grid-column: 2 / 4; grid-row: 2; justify-self: start; }
  .carte-rangs { grid-row: 3; }
  .carte-etat { grid-row: 4; }
  .carte-barre, .carte-progres { grid-row: 5; }
  .carte-manque, .carte-composants { grid-row: 6; }
  .carte-icone { grid-row: 1 / span 4; }
  .evolution-carte[data-genre="bientot"] .carte-niveau { grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .evolution-noeud::after, .evolution-noeud > .evolution-carte::before, .carte-barre-fill, .chantier-barre-fill { animation: none; transition: none; }
  .evolution-noeud[data-cable="tenu"]:not([data-rang="0"])::after, .evolutions-cables .cable, .evolutions-cables .cable.is-tenu { animation: none; }
}
