/* Le carnet des Smapimon (smapimon.js) : une carte par bestiole, en grille ; celles qu'on n'a pas
   encore vues en silhouette, avec un indice ; celle qui vous suit, cerclée. */
.smapimon-intro {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.45;
}
.smapimon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
}
.smapimon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 10px 10px;
  border-radius: 14px;
  background: var(--fill);
  border: 1px solid var(--hairline);
  text-align: center;
  min-width: 0;
}
.smapimon-card.own {
  background: var(--glass-strong);
}
/* Celle qui vous suit : un cadre plus épais, à la couleur de Smappen (et le bouton « La renvoyer »). */
.smapimon-card.follows {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}
.smapimon-portrait {
  image-rendering: pixelated;
  max-width: 100%;
  height: 72px;
  width: auto;
  object-fit: contain;
}
.smapimon-portrait.hidden {
  opacity: 0.7;
}
.smapimon-name {
  font-weight: 600;
  font-size: 14px;
}
.smapimon-shiny {
  color: var(--orange);
}
.smapimon-note {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-2);
}
.smapimon-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
}
/* Dans le téléphone : le compte en tête, deux cartes par rangée. */
.smapimon-count {
  margin: 0 0 6px;
  font-weight: 600;
}
.smapimon-body {
  padding-bottom: 12px;
}
