/* ============================================================
   arcane-counter.css — extrait de styles.css le 2026-05-07
   Phase 3 (extraction CSS module-par-module).
   8 règles, ~47 lignes.
   Cut & paste pur — aucune simplification ni reformat.
   ============================================================ */

.arcane-badge-inline {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(212, 175, 55, 0.85);
  margin-top: 3px;
  line-height: 1;
}

.arcane-badge-inline::before { content: "✦ "; color: #d4af37; }

.arcane-cost-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.72rem;
  color: rgba(212, 175, 55, 0.6);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.arcane-cost-hint::before { content: "✦"; color: #d4af37; }

.arcane-counter {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.82rem;
  color: #e8d27a;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  transition: border-color 0.2s;
}

.arcane-counter .arcane-icon {
  color: #d4af37;
  font-size: 0.75rem;
}

.arcane-counter.low {
  border-color: rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

.arcane-counter.low .arcane-icon { color: #f87171; }

/* BUG_6_FIX 2026-05-24 : pulse visuel quand le solde tombe a 0 */
.arcane-counter.zero {
  border-color: rgba(239, 68, 68, 0.85);
  color: #fca5a5;
  animation: arcaneZeroPulse 1.6s ease-in-out infinite;
}
.arcane-counter.zero .arcane-icon {
  color: #f87171;
  animation: arcaneZeroPulse 1.6s ease-in-out infinite;
}
@keyframes arcaneZeroPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
  50%      { box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.18); }
}



/* ──────────────────────────────────────────────────────────────────────
   AD QUICK ICON — Bouton AdMob rewarded a cote du compteur arcanes.
   Visible uniquement sur Android natif via JS (classe .is-visible).
   Ajoute le 2026-05-25 — lancement public J+1.
   ────────────────────────────────────────────────────────────────────── */
.arcane-ad-quick {
  display: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 6px;
  padding: 0;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  color: #d4af37;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: arcaneAdQuickPulse 2.4s ease-in-out infinite;
}
.arcane-ad-quick.is-visible {
  display: inline-flex;
}
.arcane-ad-quick:hover,
.arcane-ad-quick:focus-visible {
  transform: scale(1.08);
  border-color: rgba(212, 175, 55, 0.85);
  outline: none;
}
.arcane-ad-quick:active {
  transform: scale(0.95);
}
.arcane-ad-quick-icon {
  display: inline-block;
  line-height: 1;
}
@keyframes arcaneAdQuickPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
  50%      { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.18); }
}
