/* Conseils aux joueurs (7/11/2026, demande de Kiko) :
   - sur l'écran « Expédition ratée… », des cartes de conseils animées (Pijako parle, chaque carte glisse à son tour,
     l'icône sautille, le conseil principal brille en or) ;
   - sur les cartes de donjon, un petit badge « Conseillé : Feu » avec l'icône du type. */
.ty-ico { width: 32px; height: 14px; image-rendering: pixelated; vertical-align: middle; }

.cs-bloc { margin: 2px 0 12px; padding: 8px 10px 6px; border: 2px solid #3d5ea8; border-radius: 10px;
  background: linear-gradient(180deg, rgba(36, 58, 120, .72), rgba(18, 28, 64, .78)); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .35), 0 3px 0 rgba(0, 0, 0, .35);
  animation: cs-entre .4s .15s ease-out both; }
.cs-tete { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 6px; }
.cs-guide { width: 44px; height: 44px; image-rendering: pixelated; border: 2px solid var(--gold); border-radius: 8px; background: #0d1530;
  animation: cs-parle 1.2s .5s ease-in-out 3; }
.cs-carte { display: flex; align-items: center; gap: 10px; margin: 5px 0; padding: 6px 10px; border-left: 4px solid #7fa6ef; border-radius: 6px;
  background: linear-gradient(90deg, rgba(127, 166, 239, .18), rgba(127, 166, 239, .03) 85%); animation: cs-glisse .4s var(--d, 0s) ease-out both; }
.cs-carte.fort { border-left-color: var(--gold); background: linear-gradient(90deg, rgba(255, 211, 92, .24), rgba(255, 211, 92, .03) 85%);
  animation: cs-glisse .4s var(--d, 0s) ease-out both, cs-brille 2.4s calc(var(--d, 0s) + .5s) ease-in-out infinite; }
.cs-ico { flex: none; width: 40px; display: inline-flex; justify-content: center; filter: drop-shadow(0 2px 0 #000);
  animation: cs-saute 1.6s calc(var(--d, 0s) + .4s) ease-in-out infinite; }
.cs-ico .ty-ico { width: 40px; height: 18px; }
.cs-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: 19px; line-height: 1.15; }
.cs-txt small { font-size: 16px; color: var(--dim); margin-top: 2px; }
.cs-carte.fort .cs-txt b { color: var(--gold); }
.cs-btn { flex: none; white-space: nowrap; }
.cs-pied { display: flex; justify-content: flex-end; margin-top: 2px; }
.cs-guide-btn { font-size: 15px; padding: 2px 10px; }
@keyframes cs-entre { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cs-glisse { from { transform: translateX(-18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cs-saute { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-5px); } 90% { transform: translateY(0); } }
@keyframes cs-brille { 0%, 100% { box-shadow: 0 0 0 rgba(255, 211, 92, 0); } 50% { box-shadow: 0 0 14px -2px rgba(255, 211, 92, .7); } }
@keyframes cs-parle { 0%, 100% { transform: none; } 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .cs-bloc, .cs-carte, .cs-ico, .cs-guide { animation: none !important; } }
body.is-touch .cs-tete { font-size: 15px; }
body.is-touch .cs-guide { width: 34px; height: 34px; }
body.is-touch .cs-txt { font-size: 16px; }
body.is-touch .cs-txt small { font-size: 14px; }
@media (max-width: 640px) { .cs-carte { flex-wrap: wrap; } .cs-btn { margin-left: 50px; } }

/* Carte de donjon : type conseillé */
.dg-conseil { display: inline-block; white-space: nowrap; margin-left: 6px; padding: 0 6px; font-size: 15px; vertical-align: middle;
  border: 1px solid rgba(127, 166, 239, .45); border-radius: 6px; background: rgba(13, 21, 48, .6); }
.dg-conseil .type { font-size: inherit; padding: 0 5px; margin-left: 2px; vertical-align: baseline; }
.dg.locked .dg-conseil { opacity: .6; }
body.is-touch .dg-conseil { font-size: 13px; }
/* (7/11 soir, Kiko) conseils avancés : petite étiquette dorée au-dessus du titre */
.cs-avance { font-style: normal; font-size: 13px; letter-spacing: .5px; color: var(--gold); text-transform: uppercase; opacity: .9; }
.cs-carte .gel-ico { width: 28px; height: 28px; image-rendering: pixelated; }
.cs-ico .cs-statue { width: 48px; height: 48px; image-rendering: pixelated; display: block; }
/* (7/11 soir, Kiko) plus d'icône de type (elle ressemblait à une gelée) : l'étiquette de couleur du type, comme sur les cartes de donjon */
.cs-ico .cs-type { font-size: 15px; padding: 3px 8px; white-space: nowrap; }
