/* [97-mystery] Boîtes mystère : illustration et fiche de contenu */
.mystery-box-art {
  width: 100%;
  height: 100%;
  max-width: 120px;
  max-height: 95px;
  margin: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6));
}
.mystery-box-art .mb-glow { animation: mb-glow 2.6s ease-in-out infinite; }
.mystery-box-art .mb-spark { animation: mb-twinkle 1.8s ease-in-out infinite; transform-origin: center; }
@keyframes mb-glow { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes mb-twinkle { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }

.card-btn-contents {
  position: absolute;
  left: 5px;
  bottom: 5px;
  top: auto;
  right: auto;
  z-index: 5;
  padding: 1px 6px;
  border: 1px solid var(--gold-classic);
  border-radius: 2px;
  background: rgba(17, 15, 13, 0.9);
  color: #e6c293;
  font-family: 'Josefin Sans', Arial, sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.card-btn-contents:hover { background: #4d3920; color: #fff; }

.mystery-box-modal { width: 760px; max-width: 95vw; }
.mystery-head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; color: var(--text-cream); }
.mystery-head h3 { margin: 0 0 4px; color: var(--gold-light); }
.mystery-head p { margin: 2px 0; }
.mystery-art { flex: 0 0 110px; height: 110px; }
.mystery-price { margin-left: 8px; color: var(--gold-light); font-weight: bold; }
.mystery-note { font-size: 12px; color: #a89c82; line-height: 1.35; }
.mystery-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 360px; overflow-y: auto; }
.mystery-group { padding: 6px 10px; background: rgba(16, 18, 19, 0.85); border: 1px solid #514433; border-radius: 3px; color: var(--text-cream); }
.mystery-group h4 { margin: 0 0 4px; color: var(--gold-light); font-size: 14px; }
.mystery-group ul, .mystery-soon ul { margin: 0; padding-left: 16px; font-size: 13px; line-height: 1.55; }
.mystery-soon { margin-top: 8px; color: #8a8070; font-size: 12px; }
.mystery-soon summary { cursor: pointer; }
.mystery-wait { color: #c3b6a4; text-align: center; padding: 16px; }
@media (max-width: 640px) { .mystery-groups { grid-template-columns: 1fr; } }
.art-emoji { width: 84px; height: 84px; display: flex; align-items: center; justify-content: center; font-size: 46px; border: 2px solid var(--gold-bronze); border-radius: 50%; background: radial-gradient(circle, #42382a 0%, #19150f 80%); box-shadow: 0 0 14px rgba(196, 155, 102, 0.35); }
.mystery-how { color: #a2cebe; font-size: 12px; }
.card-rotation-tag { position: absolute; top: 4px; left: 4px; z-index: 3; padding: 2px 6px; border: 1px solid #75d1af; border-radius: 3px; background: rgba(18, 16, 13, 0.88); color: #a2cebe; font-size: 9px; font-weight: bold; }

/* Paquet de troupes : portrait de la troupe dans la carte */
.art-troop { max-width: 100%; max-height: 120px; object-fit: contain; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.8)); }
