@charset "utf-8";

.top-site-header {
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: rgba(49, 49, 64, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
}

.top-nav-shell {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 1440px;
  height: 80px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.top-nav-logo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  overflow: hidden;
  text-decoration: none;
}

.top-nav-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 300px;
  max-height: 68px;
  object-fit: contain;
}

.top-nav {
  position: absolute;
  top: 0;
  left: 382px;
  display: flex;
  align-items: stretch;
  height: 80px;
}

.top-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 0 35px;
  color: #fff;
  font: 600 16px/1.2 "Microsoft YaHei", Arial, sans-serif;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.top-nav a:hover {
  color: #fff;
  background: rgba(215, 56, 56, 0.65);
}

.top-nav a.active {
  color: #fff;
  background: #bf0014 url("../img/nav_bg.jpg") center bottom no-repeat;
}

/* DOM 已按新区表格、推荐卡片的顺序排列，这里只保留原页面间距。 */
.main.content > .opening-table {
  margin-top: 480px !important;
}

.main.content > .game-recommendations {
  margin-top: 0 !important;
}
