/* ─── screen-hf.css – Hall of Fame ──────────────────────────────────────────── */

/* ─── Header ─────────────────────────────────────────────────────────────────── */
.hf-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: #0d0d0d;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 10;
}

.hf-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin: 0;
  letter-spacing: 0.04em;
}

/* ─── Tab-Navigation ─────────────────────────────────────────────────────────── */
.hf-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #333;
  overflow-x: auto;
  scrollbar-width: none;
}

.hf-tabs::-webkit-scrollbar { display: none; }

.hf-tab {
  background: transparent;
  color: #888;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -2px;
}

.hf-tab:hover { color: #ccc; }

.hf-tab.active {
  color: #FFD700;
  border-bottom-color: #FFD700;
}

/* ─── Panel-Inhalt ───────────────────────────────────────────────────────────── */
.hf-content {
  padding: 16px;
}

/* ─── Leer-Zustand ───────────────────────────────────────────────────────────── */
.hf-empty {
  color: #666;
  font-size: 14px;
  text-align: center;
  padding: 32px 16px;
  line-height: 1.6;
}

.hf-empty-inline { color: #666; font-size: 13px; }

.hf-hint {
  color: #666;
  font-size: 12px;
  margin: 0 0 10px;
  text-align: right;
}

/* ─── Karriere-Banner ────────────────────────────────────────────────────────── */
.hf-career-banner {
  background: linear-gradient(135deg, #1a1a10 0%, #2a2a1a 100%);
  border: 1px solid #FFD700;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hf-career-team {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
}

.hf-career-sub {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── Statistik-Karten (Karriere) ────────────────────────────────────────────── */
.hf-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.hf-stat-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
}

.hf-stat-card.hf-stat-gold {
  border-color: #FFD700;
  background: #1a1a10;
}

.hf-stat-val {
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.hf-stat-gold .hf-stat-val { color: #FFD700; }

.hf-stat-label {
  font-size: 11px;
  color: #888;
  line-height: 1.3;
}

/* ─── Saison-Trophäen ────────────────────────────────────────────────────────── */
.hf-section-label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.hf-trophy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.hf-trophy {
  background: #2a2a10;
  border: 1px solid #FFD700;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  color: #FFD700;
}

/* ─── Tabellen ───────────────────────────────────────────────────────────────── */
.hf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.hf-table thead th {
  background: #1a1a1a;
  color: #888;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 57px;    /* unterhalb des sticky headers */
  z-index: 5;
}

.hf-table tbody tr {
  border-bottom: 1px solid #222;
  transition: background 0.1s;
}

.hf-table tbody tr:hover { background: #1a1a1a; }

.hf-table td {
  padding: 9px 10px;
  color: #ccc;
  vertical-align: middle;
}

/* Spieler-Gewinner-Zeile */
.hf-row-win {
  background: #1a1a10 !important;
}

.hf-row-win td { color: #FFD700 !important; }

/* ─── Zellen-Hilfsklassen ────────────────────────────────────────────────────── */
.hf-rank {
  color: #555;
  font-size: 11px;
  width: 28px;
  text-align: right;
  padding-right: 6px;
}

.hf-td-center { text-align: center; }
.hf-td-right  { text-align: right;  }
.hf-td-muted  { color: #555; font-size: 11px; margin-left: 2px; }

.hf-stat-highlight { color: #4ad; font-weight: bold; }
.hf-stat-gold      { color: #FFD700; font-weight: bold; }

/* ─── Flags & Badges ─────────────────────────────────────────────────────────── */
.hf-flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 1px;
  vertical-align: middle;
  margin-right: 4px;
}

.hf-badge-sm {
  font-size: 10px !important;
  padding: 1px 5px !important;
  margin-right: 4px;
  vertical-align: middle;
}

/* Du-Tag */
.hf-you-tag {
  background: #FFD700;
  color: #000;
  font-size: 10px;
  font-weight: bold;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ─── Sort-Leiste ────────────────────────────────────────────────────────────── */
.hf-sort-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.hf-sort-label {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}

.hf-sort-btn {
  background: #1a1a1a;
  color: #888;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.hf-sort-btn:hover { color: #ccc; border-color: #555; }

.hf-sort-btn.active {
  background: #FFD700;
  color: #000;
  border-color: #FFD700;
  font-weight: bold;
}
