.ranking-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 20px; max-width: 1800px; margin: 0 auto; }
.ranking-card { background: rgba(20, 20, 30, 0.8); border: 1px solid #444; padding: 15px; border-radius: 8px; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; }
.ranking-header { text-align: center; font-family: 'Chapaza'; font-size: 24px; color: #daa10a; margin-bottom: 10px; text-transform: uppercase; text-shadow: 2px 2px 4px #000; border-bottom: 1px solid #444; padding-bottom: 10px; }
.player-row { display: flex; align-items: center; justify-content: space-between; margin: 6px 0; background: rgba(0,0,0,0.3); padding: 5px; border-radius: 4px; }
.player-left { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; overflow: visible; }
.player-pic { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #555; }
.hero-pic { width: 40px; border-radius: 4px; box-shadow: 1px 1px 3px #000; }
.player-name { font-family: 'Roboto', sans-serif; font-size: 13px; color: #eee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; line-height: 1.2; }
.stat-val { font-family: 'Roboto', sans-serif; font-weight: bold; font-size: 14px; color: #daa10a; min-width: 40px; text-align: right; }
.navigation { text-align: center; margin: 20px; }
.btn { background: #daa10a; color: #000; padding: 10px 20px; text-decoration: none; font-weight: bold; font-family: 'Roboto'; border-radius: 4px; border: none; cursor: pointer; margin: 5px; }
.btn:hover { background: #fff; }
.btn.active { background: #fff; color: #000; }
.view-section { display: none; }
.view-section.active { display: block; }
.tabs { text-align: center; margin: 16px 20px 20px; }
.season-title { text-align: center; color: #daa10a; font-family: 'Chapaza'; font-size: 35px; margin: 8px 0 4px; text-transform: uppercase; }

.season-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 10px;
}
.season-selectors {
  max-width: 980px;
  margin: 18px auto 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px 14px;
  padding: 0 14px;
}
.season-selectors .season-selector {
  margin: 0;
  justify-content: flex-start;
  background: rgba(20, 20, 30, 0.8);
  border: 1px solid rgba(218, 161, 10, 0.24);
  border-radius: 8px;
  padding: 8px 10px;
}
.season-label {
  color: #daa10a;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.season-dropdown {
  width: 100%;
  max-width: 360px;
  padding: 8px 10px;
  border: 1px solid rgba(218, 161, 10, 0.45);
  border-radius: 8px;
  background: rgba(30, 30, 50, 0.85);
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 600;
}
.season-dropdown:hover {
  border-color: rgba(218, 161, 10, 0.9);
  box-shadow: 0 0 8px rgba(218, 161, 10, 0.22);
}
.season-dropdown:focus {
  outline: none;
  border-color: #daa10a;
  box-shadow: 0 0 12px rgba(218, 161, 10, 0.30);
}
.season-dropdown option {
  background: #171726;
  color: #e0e0e0;
}

@media (max-width: 1300px) {
  .ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 14px;
  }
}

@media (max-width: 760px) {
  .season-selectors {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }

  .season-selector {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .season-selectors .season-selector {
    align-items: stretch;
  }

  .season-dropdown {
    max-width: 100%;
  }

  .ranking-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px;
  }

  .season-title {
    font-size: 26px;
    line-height: 1.2;
    padding: 0 10px;
  }

  .ranking-header {
    font-size: 19px;
    line-height: 1.2;
  }

  .player-row {
    padding: 6px;
    gap: 8px;
  }

  .player-name {
    font-size: 12px;
  }

  .stat-val {
    min-width: 34px;
    font-size: 13px;
  }
}

.unique-heroes-table { width: min(96vw, 1800px); max-width: 1800px; margin: 0 auto; padding: 20px; background: rgba(20, 20, 30, 0.8); border: 1px solid #444; border-radius: 8px; }
.uh-header { display: grid; grid-template-columns: 44px 240px 120px minmax(0, 1fr); gap: 10px; padding: 14px 18px; background: rgba(0, 0, 0, 0.4); border-bottom: 2px solid #daa10a; font-weight: bold; color: #999; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 6px 6px 0 0; }
.uh-row { display: grid; grid-template-columns: 44px 240px 120px minmax(0, 1fr); gap: 10px; padding: 10px 18px; min-height: 44px; border-bottom: 1px solid rgba(100, 100, 120, 0.3); align-items: center; }
.uh-row:last-child { border-bottom: none; }
.uh-row:hover { background: rgba(218, 161, 10, 0.08); }
.uh-col-rank { color: #daa10a; font-weight: bold; text-align: center; font-size: 14px; }
.uh-col-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.uh-col-name a { text-decoration: none; flex-shrink: 0; }
.uh-col-name .player-pic { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #555; flex-shrink: 0; }
.uh-player-name { color: #eee; text-decoration: none; font-size: 13px; font-family: 'Roboto', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.uh-player-name:hover { color: #daa10a; }
.uh-col-count { color: #daa10a; font-weight: bold; font-size: 14px; text-align: center; font-family: 'Roboto', sans-serif; }
.uh-col-unplayed { display: grid; grid-template-columns: repeat(auto-fit, minmax(32px, 64px)); gap: 4px; align-items: center; align-content: center; min-width: 0; width: 100%; overflow-x: hidden; }
.uh-hero-img { width: 100%; max-width: 64px; min-width: 32px; height: auto; aspect-ratio: 16 / 9; border-radius: 2px; border: 1px solid #444; object-fit: cover; display: block; }
.uh-hero-img:hover { border-color: #daa10a; }

@media (max-width: 1000px) {
  .uh-header, .uh-row { grid-template-columns: 32px 170px 90px minmax(0, 1fr); gap: 8px; padding: 10px 12px; }
  .uh-row { min-height: 44px; }
  .uh-col-unplayed { grid-template-columns: repeat(auto-fit, minmax(32px, 48px)); }
  .uh-hero-img { max-width: 48px; }
}
@media (max-width: 600px) {
  .uh-header, .uh-row { grid-template-columns: 30px 1fr 70px; }
  .uh-col-unplayed { display: none; }
}

.hof-table { width: min(96vw, 1800px); max-width: 1800px; margin: 0 auto; padding: 20px; background: rgba(20, 20, 30, 0.8); border: 1px solid #444; border-radius: 8px; }
.hof-header { display: grid; grid-template-columns: 44px 240px 60px 60px minmax(0, 1fr); gap: 10px; padding: 14px 18px; background: rgba(0, 0, 0, 0.4); border-bottom: 2px solid #daa10a; font-weight: bold; color: #999; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 6px 6px 0 0; }
.hof-row { display: grid; grid-template-columns: 44px 240px 60px 60px minmax(0, 1fr); gap: 10px; padding: 10px 18px; min-height: 44px; border-bottom: 1px solid rgba(100, 100, 120, 0.3); align-items: center; }
.hof-row:last-child { border-bottom: none; }
.hof-row:hover { background: rgba(218, 161, 10, 0.08); }
.hof-col-rank { color: #daa10a; font-weight: bold; text-align: center; font-size: 14px; }
.hof-col-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hof-col-name a { text-decoration: none; flex-shrink: 0; }
.hof-col-name .player-pic { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #555; flex-shrink: 0; }
.hof-player-name { color: #eee; text-decoration: none; font-size: 13px; font-family: 'Roboto', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
a.hof-player-name:hover { color: #daa10a; }
.hof-col-count { color: #eee; font-weight: bold; font-size: 15px; text-align: center; font-family: 'Roboto', sans-serif; }
.hof-col-titles { min-width: 0; }
.hof-empty { width: min(96vw, 1800px); margin: 0 auto; padding: 24px; text-align: center; color: #999; font-family: 'Roboto', sans-serif; background: rgba(20, 20, 30, 0.8); border: 1px solid #444; border-radius: 8px; }

.title-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.title-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; font-size: 12px; white-space: nowrap; border: 1px solid transparent; text-decoration: none; transition: all 0.2s; }
.title-chip.gold { background: rgba(255, 215, 0, 0.12); border-color: rgba(255, 215, 0, 0.45); color: #ffd700; }
.title-chip.silver { background: rgba(192, 192, 192, 0.1); border-color: rgba(192, 192, 192, 0.35); color: #c0c0c0; }
a.title-chip { cursor: pointer; }
a.title-chip.gold:hover { background: rgba(255, 215, 0, 0.22); border-color: #ffd700; box-shadow: 0 0 12px rgba(255, 215, 0, 0.25); }
.title-chip-medal { font-size: 13px; line-height: 1; }
.title-chip-season { font-weight: bold; }
.title-chip-division { opacity: 0.75; font-size: 11px; }
.title-chip-division::before { content: '\00b7 '; }

@media (max-width: 1000px) {
  .hof-header, .hof-row { grid-template-columns: 32px 150px 44px 44px minmax(0, 1fr); gap: 8px; padding: 10px 12px; }
}
@media (max-width: 700px) {
  .hof-header { grid-template-columns: 30px 1fr 44px 44px; }
  .hof-header .hof-col-titles { display: none; }
  .hof-row { grid-template-columns: 30px 1fr 44px 44px; row-gap: 8px; }
  .hof-col-titles { grid-column: 1 / -1; }
  .title-chip { font-size: 11px; padding: 4px 9px; }
}

.hof-header, .hof-row { grid-template-columns: 44px 240px 60px 60px 60px minmax(0, 1fr); }
.hof-col-aux { color: #b9975b; font-size: 13px; text-align: center; font-family: 'Roboto', sans-serif; }
.hof-col-aux.is-none { color: #555; }
.hof-header .hof-col-aux { color: #999; font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; }
.title-chip.gold.minor { background: rgba(185, 151, 91, 0.1); border-color: rgba(185, 151, 91, 0.35); color: #b9975b; }
a.title-chip.gold.minor:hover { background: rgba(185, 151, 91, 0.2); border-color: #b9975b; box-shadow: 0 0 12px rgba(185, 151, 91, 0.2); }

@media (max-width: 1000px) {
  .hof-header, .hof-row { grid-template-columns: 32px 150px 44px 44px 44px minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .hof-header { grid-template-columns: 30px 1fr 40px 40px 40px; }
  .hof-row { grid-template-columns: 30px 1fr 40px 40px 40px; }
}

.hof-switch { display: flex; justify-content: center; gap: 8px; margin: 0 auto 14px; }
.hof-switch-btn { background: rgba(20, 20, 30, 0.8); border: 1px solid #444; color: #999; padding: 6px 16px; border-radius: 20px; font-family: 'Roboto', sans-serif; font-size: 13px; cursor: pointer; transition: all 0.2s; }
.hof-switch-btn:hover { border-color: #daa10a; color: #ddd; }
.hof-switch-btn.active { background: rgba(218, 161, 10, 0.15); border-color: #daa10a; color: #daa10a; font-weight: bold; }
.hof-board { display: none; }
.hof-board.active { display: block; }
.hof-col-aux.tone-main { color: #eee; }
