/* ─── Onglet Hall of Fame (icônes Lucide, aucun emoji) ─── */
.hof-i { width: 16px; height: 16px; stroke-width: 2; vertical-align: -3px; flex-shrink: 0; }
#section-halloffame .empty-icon svg { width: 48px; height: 48px; stroke: var(--gold); stroke-width: 1.4; opacity: .7; }

/* Médailles (remplacent 🥇🥈🥉) */
.hof-medaille { --mc: #C9CED6; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-family: 'Bebas Neue', sans-serif; font-size: 14px; line-height: 1; color: #120d00; background: radial-gradient(circle at 30% 25%, #fff 0%, var(--mc) 45%, color-mix(in srgb, var(--mc) 55%, #000) 100%); box-shadow: 0 0 0 2px color-mix(in srgb, var(--mc) 35%, transparent), 0 2px 6px rgba(0,0,0,.4); padding-top: 2px; }
.hof-medaille-1 { --mc: #7AAAF9; }
.hof-medaille-2 { --mc: #C9CED6; }
.hof-medaille-3 { --mc: #CD7F32; }
.hof-medaille-lg { width: 34px; height: 34px; font-size: 20px; }
.hof-hint { font-size: 11px; color: var(--text-dim); letter-spacing: 1px; }

/* KPIs historiques */
.hof-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 12px; margin-bottom: 20px; }
.hof-kpi { --kc: var(--gold); display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--kc) 8%, transparent) 0%, var(--card) 70%); border: 1px solid var(--border); border-radius: 6px; padding: 16px 18px; }
.hof-kpi-ic { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--kc); background: color-mix(in srgb, var(--kc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--kc) 30%, transparent); }
.hof-kpi-ic .hof-i { width: 22px; height: 22px; vertical-align: 0; }
.hof-kpi-val { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px; color: var(--gold); line-height: 1; }
.hof-kpi-lab { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-mid); margin-top: 4px; }
.hof-kpi-sub { font-size: 11px; color: var(--text-dim); margin-top: 2px; }

/* Ma place */
.hof-ma-place { display: flex; align-items: center; gap: 14px; padding: 14px 20px; margin-bottom: 24px; border-radius: 6px; background: rgba(59,130,246,0.07); border: 1px solid rgba(59,130,246,0.3); font-size: 15px; color: var(--text-mid); }
.hof-ma-place strong { color: var(--gold-light); }
.hof-ma-txt { flex: 1; min-width: 0; }
.hof-ma-rang { flex-shrink: 0; font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 1px; color: var(--gold); display: flex; align-items: center; }
.hof-ma-rang .hof-i { width: 26px; height: 26px; vertical-align: 0; filter: drop-shadow(0 0 6px rgba(122,170,249,.5)); }
.hof-ma-av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--card2); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; color: var(--gold); border: 2px solid var(--gold); }

/* Podium */
.hof-podium-block { overflow: hidden; }
.hof-switch { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-mid); cursor: pointer; }
.hof-switch input { accent-color: var(--gold); width: 15px; height: 15px; }
.hof-pills { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 24px 0; justify-content: center; }
.hof-pill { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--border2); color: var(--text-dim); padding: 6px 14px; border-radius: 999px; font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .5px; cursor: pointer; transition: all .15s; }
.hof-pill:hover { border-color: var(--gold); color: var(--gold); }
.hof-pill.active { background: rgba(59,130,246,0.12); border-color: var(--gold); color: var(--gold); }

.hof-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 16px; max-width: 820px; margin: 0 auto; padding: 40px 24px 0; }
.hof-place { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; --pc: #C9CED6; animation: hofMonte .6s ease both; }
.hof-place-1 { --pc: #7AAAF9; animation-delay: .15s; }
.hof-place-2 { --pc: #C9CED6; animation-delay: .05s; }
.hof-place-3 { --pc: #CD7F32; animation-delay: .25s; }
@keyframes hofMonte { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hof-crown { color: #7AAAF9; margin-bottom: -6px; line-height: 0; animation: hofFlotte 2.4s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(122,170,249,.6)); }
.hof-crown .hof-i { width: 34px; height: 34px; fill: rgba(122,170,249,.25); vertical-align: 0; }
@keyframes hofFlotte { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-6px) rotate(6deg); } }
.hof-av { border-radius: 50%; overflow: hidden; border: 3px solid var(--pc); box-shadow: 0 0 0 4px rgba(0,0,0,.4), 0 0 26px color-mix(in srgb, var(--pc) 45%, transparent); background: var(--card2); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; color: var(--pc); }
.hof-place-1 .hof-av { width: 96px; height: 96px; }
.hof-place-2 .hof-av, .hof-place-3 .hof-av { width: 76px; height: 76px; }
.hof-medal { margin-top: -22px; position: relative; z-index: 1; line-height: 0; }
.hof-nom { font-weight: 700; font-size: 18px; color: var(--text); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-val { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 1px; color: var(--pc); line-height: 1; margin-top: 4px; }
.hof-place-1 .hof-val { font-size: 38px; }
.hof-mini span { display: inline-flex; align-items: center; gap: 4px; }
.hof-mini .hof-i { width: 13px; height: 13px; vertical-align: 0; }
.hof-mini { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 12px; color: var(--text-dim); }
.hof-socle { width: 100%; margin-top: 10px; border-radius: 6px 6px 0 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 10px; background: linear-gradient(180deg, color-mix(in srgb, var(--pc) 30%, transparent) 0%, color-mix(in srgb, var(--pc) 6%, transparent) 100%); border: 1px solid color-mix(in srgb, var(--pc) 40%, transparent); border-bottom: none; position: relative; overflow: hidden; }
.hof-socle::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); animation: hofBrille 3.5s ease-in-out infinite; }
@keyframes hofBrille { 0% { left: -60%; } 60%,100% { left: 120%; } }
.hof-socle span { font-family: 'Bebas Neue', sans-serif; font-size: 44px; color: var(--pc); opacity: .7; line-height: 1; }
.hof-place-1 .hof-socle { height: 120px; }
.hof-place-2 .hof-socle { height: 85px; }
.hof-place-3 .hof-socle { height: 60px; }
.hof-place[onclick]:hover .hof-av { transform: scale(1.05); }
.hof-av { transition: transform .2s; }

/* Badges de statut */
.hof-statut { display: inline-block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; padding: 2px 8px; border: 1px solid rgba(59,130,246,0.3); color: var(--gold); background: rgba(59,130,246,0.08); border-radius: 2px; }
.hof-statut.ancien { color: var(--text-dim); border-color: var(--border2); background: none; }
.hof-statut[data-role="Patron"] { background: var(--gold); color: var(--darker); border-color: var(--gold); font-weight: 700; }

/* Titres de section */
.hof-section-title { display: flex; align-items: center; gap: 12px; margin: 8px 0 16px; }
.hof-section-title > .hof-i { width: 22px; height: 22px; color: var(--gold); vertical-align: 0; }
.hof-section-title span { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 3px; color: var(--text); white-space: nowrap; }
.hof-section-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(59,130,246,.35), transparent); }

/* Trophées */
.hof-trophees { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-bottom: 24px; }
.hof-trophee { display: flex; gap: 14px; padding: 16px; background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--tc); border-radius: 6px; transition: transform .2s, border-color .2s, box-shadow .2s; position: relative; overflow: hidden; }
.hof-trophee::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--tc) 14%, transparent), transparent 60%); pointer-events: none; }
.hof-trophee:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--tc) 50%, transparent); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.hof-tr-ic { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; position: relative; display: flex; align-items: center; justify-content: center; color: var(--tc); background: color-mix(in srgb, var(--tc) 13%, transparent); border: 1px solid color-mix(in srgb, var(--tc) 35%, transparent); box-shadow: 0 0 18px color-mix(in srgb, var(--tc) 18%, transparent); }
.hof-tr-ic .hof-i { width: 22px; height: 22px; vertical-align: 0; }
.hof-tr-main { min-width: 0; position: relative; }
.hof-tr-titre { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--tc); font-weight: 700; }
.hof-tr-qui { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 16px; margin-top: 6px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hof-tr-av { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--card2); display: inline-flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; color: var(--gold); font-size: 12px; }
.hof-tr-anc { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--border2); padding: 0 5px; font-weight: 600; }
.hof-tr-val { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 1px; color: var(--text); margin-top: 4px; line-height: 1.1; }
.hof-tr-det { font-size: 12px; color: var(--text-dim); margin-top: 2px; line-height: 1.4; }

/* Tableau */
.hof-table th.hof-th { cursor: pointer; user-select: none; transition: color .15s; }
.hof-table th.hof-th:hover, .hof-table th.actif { color: var(--gold); }
.hof-table td { white-space: nowrap; font-size: 14px; }
.hof-table .hof-td-actif { color: var(--gold-light); font-weight: 700; }
.hof-rang .hof-medaille { vertical-align: middle; }
.hof-rang { font-family: 'Bebas Neue', sans-serif; font-size: 18px; color: var(--text-dim); text-align: center; width: 44px; }
.hof-emp { display: flex; align-items: center; gap: 10px; }
.hof-emp-av { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--card2); display: inline-flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; color: var(--gold); vertical-align: middle; }
.hof-emp-nom { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.hof-emp[onclick]:hover .hof-emp-nom { color: var(--gold); }
.hof-bar { height: 4px; background: var(--border); border-radius: 2px; margin-top: 4px; min-width: 80px; overflow: hidden; }
.hof-bar div { height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); border-radius: 2px; }
.hof-table tr.hof-moi td { background: rgba(59,130,246,0.06); }
.hof-table tr.hof-moi td:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.hof-table tr.hof-row-ancien td { opacity: .7; }

/* Graphique + palmarès */
.hof-grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.hof-palmares { max-height: 420px; overflow-y: auto; }
.hof-pal-row { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 12px; align-items: center; padding: 11px 24px; border-bottom: 1px solid var(--border); }
.hof-pal-row:last-child { border-bottom: none; }
.hof-pal-row:hover { background: rgba(255,255,255,0.02); }
.hof-pal-row.en-cours { background: rgba(59,130,246,0.04); }
.hof-pal-date { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-dim); display: flex; flex-direction: column; gap: 3px; }
.hof-pal-live { font-family: 'Rajdhani', sans-serif; font-size: 9px; letter-spacing: 1.5px; color: var(--orange); font-weight: 700; }
.hof-pal-emp { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-pal-tr { width: 14px; height: 14px; color: var(--gold); vertical-align: 0; }
.hof-pal-emp .hof-emp-av { width: 26px; height: 26px; font-size: 13px; }
.hof-pal-val { text-align: right; display: flex; flex-direction: column; }
.hof-pal-val strong { font-family: 'Bebas Neue', sans-serif; font-size: 18px; color: var(--gold); letter-spacing: 1px; font-weight: 400; }
.hof-pal-val small { font-size: 11px; color: var(--text-dim); }

/* Spécialistes */
.hof-specialistes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 24px; }
.hof-spe { background: var(--card); border: 1px solid var(--border); border-top: 3px solid var(--tc); border-radius: 6px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.hof-spe-head { display: flex; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.hof-spe-ic { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--tc); background: color-mix(in srgb, var(--tc) 13%, transparent); border: 1px solid color-mix(in srgb, var(--tc) 30%, transparent); }
.hof-spe-ic .hof-i { width: 20px; height: 20px; vertical-align: 0; }
.hof-spe-nom { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 1.5px; }
.hof-spe-nom small { font-family: 'Rajdhani', sans-serif; font-size: 11px; color: var(--text-dim); letter-spacing: 0; }
.hof-spe-tot { font-size: 11px; color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase; }
.hof-spe-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.hof-spe-row .hof-emp-av { width: 24px; height: 24px; font-size: 12px; }
.hof-spe-rk { width: 24px; display: flex; justify-content: center; }
.hof-spe-rk .hof-medaille { width: 20px; height: 20px; font-size: 12px; }
.hof-spe-emp { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hof-spe-row[onclick]:hover .hof-spe-emp { color: var(--gold); }
.hof-spe-val { font-family: 'Bebas Neue', sans-serif; font-size: 17px; color: var(--text); letter-spacing: .5px; display: flex; align-items: baseline; gap: 6px; }
.hof-spe-val small { font-family: 'Rajdhani', sans-serif; font-size: 11px; color: var(--text-dim); }

/* Bouton nav */
.nav-item[data-section="halloffame"] .nav-icon svg { stroke: #7AAAF9; }

@media (max-width: 1100px) {
  .hof-grid2 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hof-podium { gap: 8px; padding: 30px 8px 0; }
  .hof-place-1 .hof-av { width: 64px; height: 64px; }
  .hof-place-2 .hof-av, .hof-place-3 .hof-av { width: 52px; height: 52px; }
  .hof-nom { font-size: 14px; }
  .hof-val, .hof-place-1 .hof-val { font-size: 22px; }
  .hof-mini { display: none; }
  .hof-medaille-lg { width: 28px; height: 28px; font-size: 16px; }
  .hof-pal-row { grid-template-columns: 1fr auto; padding: 10px 16px; }
  .hof-pal-date { grid-column: 1 / -1; flex-direction: row; gap: 8px; }
}