/* ============================================================
   neo — la mémoire longue : ce que le jeu se rappelle de ta vie
   Chargé après neo.css, sous html.neo comme lui. Un fichier par
   chantier pour que les refontes parallèles ne se marchent pas dessus.
   ============================================================ */

/* Le sceau 記 (« consigner ») : la marque de tout ce qui se souvient. */
html.neo .souv-sceau {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 6px;
  background: rgba(242, 193, 78, 0.14);
  border: 1px solid rgba(242, 193, 78, 0.45);
  color: var(--n-or);
  font: 700 13px/1 var(--n-titre);
}

/* Sur une carte de rappel : ce qui revient, et d'où. Posé sous l'énoncé. */
html.neo #card-zone .souv-bandeau {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 18px 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(242, 193, 78, 0.12), rgba(242, 193, 78, 0.03));
  border-left: 3px solid var(--n-or);
  text-align: left;
  animation: souv-entre 0.5s ease-out both;
}
html.neo #card-zone .game-card:not(.neo-a-scene) .souv-bandeau { margin: 10px 4px 4px; }
html.neo #card-zone .souv-bandeau .souv-corps { display: grid; gap: 3px; min-width: 0; }
html.neo #card-zone .souv-bandeau b {
  color: var(--n-or);
  font: 700 11px/1.3 var(--n-titre);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html.neo #card-zone .souv-bandeau i {
  color: var(--n-encre);
  font: italic 400 14px/1.45 var(--n-titre);
}

/* Sous une issue qui pose une marque : « … s'en souviendra ». */
html.neo #card-zone .souv-dit {
  display: grid;
  gap: 6px;
  margin: 10px 18px 2px;
  color: var(--n-doux);
  font: 500 13.5px/1.4 var(--n-titre);
  animation: souv-entre 0.6s 0.25s ease-out both;
}
html.neo #card-zone .game-card:not(.neo-a-scene) .souv-dit { margin: 10px 4px 2px; }
html.neo #card-zone .souv-dit > span { display: flex; gap: 8px; align-items: center; }

/* Le fil de l'année, dans le rapport de saison. */
html.neo .souv-fil .report li { display: block; }
html.neo .souv-fil .report li i { color: var(--n-doux); }
html.neo .souv-fil .souv-sceau { width: 18px; height: 18px; font-size: 11px; margin-right: 4px; vertical-align: -3px; }
html.neo .souv-fil .souv-revenu .souv-sceau { color: var(--n-orange); border-color: rgba(255, 138, 31, 0.5); background: rgba(255, 138, 31, 0.12); }

/* Le fil d'une vie, à l'écran de fin. */
html.neo .souv-fin .souv-etat {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  font: normal 600 11px/1.6 var(--n-titre);
  white-space: nowrap;
  color: var(--n-pale);
  border: 1px solid var(--n-filet);
}
html.neo .souv-fin .souv-revenu .souv-etat { color: var(--n-or); border-color: rgba(242, 193, 78, 0.45); }

@keyframes souv-entre {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.neo #card-zone .souv-bandeau,
  html.neo #card-zone .souv-dit { animation: none; }
}
