.game-rail {
  border-top: 1px solid #e1e6ea;
  border-bottom: 1px solid #dce2e7;
  background: #fff;
}

.game-rail .game-rail-inner {
  display: block;
  padding-top: 30px;
  padding-bottom: 34px;
}

.hot-games-head {
  display: flex;
  margin-bottom: 20px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hot-games-head h2 {
  margin: 5px 0 0;
  color: #162335;
  font: 700 25px/1.25 "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

.hot-games-head p { margin: 6px 0 0; color: #748293; font-size: 13px; }
.hot-games-head .kicker { color: #617083; font-size: 10px; }

.hot-rankings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hot-ranking-column {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe5ea;
  border-radius: 6px;
  background: #fff;
}

.hot-ranking-column h3 {
  display: flex;
  min-height: 48px;
  margin: 0;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e9ed;
  color: #233449;
  background: #f6f8fa;
  font-size: 14px;
  letter-spacing: 0;
}

.hot-ranking-column h3 span {
  color: #7b8998;
  font-size: 10px;
  font-weight: 700;
}

.hot-game-list {
  display: flex;
  flex-direction: column;
}

.hot-game-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 66px;
  padding: 8px 14px;
  grid-template-columns: 28px 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid #edf0f3;
  color: #263648;
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.hot-game-card:last-child { border-bottom: 0; }
.hot-game-card:hover,
.hot-game-card.active { background: #f2f6fb; }
.hot-game-card.active { box-shadow: inset 3px 0 #3270cf; }

.hot-rank {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 3px;
  color: #667587;
  background: #edf1f4;
  font-size: 11px;
  font-weight: 800;
}

.hot-game-card:nth-child(-n+3) .hot-rank { color: #fff; background: #e0634c; }
.hot-game-logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e3e7ea;
  border-radius: 6px;
  background: #f4f6f7;
}

.hot-game-logo img { width: 100%; height: 100%; object-fit: cover; }
.hot-game-card b {
  display: block;
  overflow: hidden;
  color: #243346;
  font-size: 13px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-game-card small { color: #7e8b98; font-size: 10px; white-space: nowrap; }
.market-controls .filters { flex-wrap: wrap; }
.market-controls .game-filter { min-height: 36px; padding: 0 13px; font-size: 12px; white-space: nowrap; }

@media (max-width: 760px) {
  .hot-rankings { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hot-ranking-column h3 { min-height: 44px; padding: 0 10px; font-size: 12px; }
  .hot-ranking-column h3 span { font-size: 8px; }
  .hot-game-card { min-height: 58px; padding: 7px 8px; grid-template-columns: 23px 36px minmax(0, 1fr); gap: 6px; }
  .hot-rank { width: 22px; height: 22px; font-size: 10px; }
  .hot-game-logo { width: 36px; height: 36px; }
  .hot-game-card b {
    display: -webkit-box;
    font-size: 11px;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .hot-game-card small { display: none; }
}

@media (max-width: 620px) {
  .game-rail .game-rail-inner { padding: 22px 14px 26px; }
  .hot-games-head { margin-bottom: 16px; }
  .hot-games-head h2 { font-size: 22px; }
  .hot-games-head p { font-size: 11px; }
  .market-controls .filters { display: flex; width: 100%; padding-bottom: 3px; flex-wrap: nowrap; overflow-x: auto; }
  .market-controls .game-filter { flex: none; }
}
