/* ===================================================
   KURO ARCANA — Équipement de la page Profil (classes .eq-*, equipement.js)
   =================================================== */
/* Remplacés par la section Équipement (un seul endroit pour tout équiper) */
#page-profil #pf-page, #page-profil #ti-page, #page-profil #pc-page { display: none; }

.eq-page { max-width: 980px; margin: 20px auto; padding: 20px; border-radius: 18px; color: #f3e9ff; border: 1px solid rgba(255, 215, 0, 0.35); background: linear-gradient(160deg, rgba(42, 10, 52, 0.92), rgba(18, 4, 22, 0.95)); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45); }
.eq-titre { margin: 0 0 14px; font-size: 22px; color: var(--or-dore, #ffd700); }
.eq-sous-titre { margin: 18px 0 10px; font-size: 18px; color: #d9c8ea; }
.eq-compte { margin: 0 0 10px; font-size: 16px; color: #bba9cc; }

/* Aperçu en direct */
.eq-apercu { position: relative; display: flex; align-items: center; gap: 18px; padding: 16px 18px; margin-bottom: 16px; border-radius: 16px; border: 1px solid rgba(255, 215, 0, 0.4); background: radial-gradient(circle at 15% 50%, rgba(153, 50, 204, 0.3), transparent 60%), rgba(0, 0, 0, 0.35); transition: border-color 0.2s; }
.eq-apercu-essai { border-color: #fff3a0; border-style: dashed; }
.eq-apercu-medaillon { flex: none; }
.eq-apercu-texte { flex: 1; min-width: 0; }
.eq-apercu-nom { margin: 0; font-size: 22px; font-weight: 800; overflow-wrap: anywhere; }
.eq-apercu-titre { margin: 2px 0 6px; font-size: 16px; font-style: italic; color: var(--or-dore, #ffd700); }
.eq-apercu-detail, .eq-apercu-effet { margin: 0; font-size: 16px; color: #d9c8ea; }
.eq-apercu-effet { color: #bba9cc; }
.eq-apercu-breloque { flex: none; display: grid; place-items: center; width: 56px; height: 112px; }
.eq-apercu-breloque .eq-sans { width: 48px; height: 48px; font-size: 22px; opacity: 0.6; }
.eq-essai { position: absolute; top: 8px; right: 10px; z-index: 1; padding: 2px 10px; border-radius: 999px; font-size: 16px; font-weight: 800; color: #1a0820; background: #fff3a0; }
.eq-vide { color: #9d8bb0; font-style: normal; }
.eq-breloque-grand { width: 56px; height: 112px; }
.eq-breloque { width: 34px; height: 68px; }

/* Onglets */
.eq-onglets { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; }
.eq-onglet { flex: 1; min-height: 44px; padding: 0 14px; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 800; color: #e8dcf4; cursor: pointer; white-space: nowrap; border: 1px solid rgba(255, 215, 0, 0.3); background: rgba(0, 0, 0, 0.3); }
.eq-onglet-actif { color: #1a0820; border-color: #fff3a0; background: linear-gradient(180deg, #ffd700, #b8860b); }

/* Tuiles */
.eq-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.eq-grille-titre { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.eq-tuile { position: relative; width: 100%; height: 100%; min-height: 44px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border-radius: 14px; font: inherit; font-size: 16px; color: #f3e9ff; text-align: center; cursor: pointer; border: 1px solid rgba(255, 215, 0, 0.25); background: rgba(0, 0, 0, 0.35); transition: border-color 0.15s, transform 0.15s; }
.eq-tuile:hover, .eq-tuile:focus-visible { border-color: #fff3a0; transform: translateY(-2px); }
.eq-equipe { border-color: #ffd700; box-shadow: 0 0 14px rgba(255, 215, 0, 0.35); background: rgba(255, 215, 0, 0.1); }
.eq-visuel { position: relative; display: grid; place-items: center; min-height: 72px; }
.eq-nom { font-weight: 700; overflow-wrap: anywhere; }
.eq-etat { font-size: 16px; color: var(--or-dore, #ffd700); }
.eq-sans { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 28px; color: #9d8bb0; border: 2px dashed rgba(255, 255, 255, 0.2); }
.eq-icone-titre { font-size: 32px; }
.eq-grille-titre .eq-visuel { min-height: 40px; }

/* Verrouillé : visible, grisé, avec l'endroit où l'obtenir */
.eq-verrouille { cursor: default; }
.eq-verrouille .eq-visuel > :first-child { filter: grayscale(1) brightness(0.55); }
.eq-verrouille .eq-nom { color: #bba9cc; }
.eq-cadenas { position: absolute; right: -6px; bottom: -4px; font-size: 22px; }
.eq-source { font-size: 16px; color: #bba9cc; }
.eq-lien { min-height: 44px; padding: 0 12px; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 700; color: #fff3a0; cursor: pointer; border: 1px solid rgba(255, 215, 0, 0.45); background: transparent; }

@media (max-width: 768px) {
  .eq-page { margin: 12px 0; padding: 16px; }
  /* Hauteur fixe : l'aperçu au survol ne fait pas bouger la page */
  .eq-apercu { gap: 10px; padding: 14px; min-height: 170px; }
  .eq-apercu-effet { display: none; }
  .eq-apercu-nom { font-size: 18px; }
  .eq-apercu-detail, .eq-apercu-effet { overflow-wrap: anywhere; }
  .eq-onglets { overflow: visible; gap: 6px; }
  .eq-onglet { flex: 1 1 0; min-width: 0; padding: 4px 6px; white-space: normal; line-height: 1.2; }
  .eq-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eq-grille-titre { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .eq-tuile, .eq-apercu { transition: none; }
  .eq-tuile:hover, .eq-tuile:focus-visible { transform: none; }
}
