:root {
  --page-width: min(1180px, calc(100vw - 18px));
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  color: #000;
}

.site-head {
  width: var(--page-width);
  height: 60px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffcc00;
  color: #333;
  font-family: SimSun, "Microsoft YaHei", Tahoma, Arial, sans-serif;
  font-size: 12px;
  line-height: 30px;
}

.site-head a {
  color: #333;
  text-decoration: none;
}

.site-head a:hover {
  color: #c00;
  text-decoration: underline;
}

.site-head-left {
  float: left;
  width: 250px;
  height: 30px;
  margin-top: 30px;
  text-align: left;
  text-indent: 8px;
}

.site-head-center {
  float: left;
  width: calc(var(--page-width) - 560px);
  height: 30px;
  margin-top: 30px;
  text-align: center;
}

.site-head-center a {
  margin: 0 10px;
  font-weight: bold;
}

.site-head-right {
  float: right;
  width: 300px;
  height: 30px;
  margin-top: 30px;
  text-align: right;
  padding-right: 8px;
  box-sizing: border-box;
}

.page-shell {
  width: var(--page-width);
  margin: 0 auto;
}

.top-ban {
  width: var(--page-width);
  height: 120px;
  overflow: hidden;
  margin: 0 auto;
  line-height: 0;
  background: #fff;
}

.top-ban img {
  display: block;
  width: 100%;
  height: 120px;
  border: 0;
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 10000;
  background: linear-gradient(90deg, #ffcc00, #ff3300);
  transition: width .12s linear;
}

.banner-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  line-height: 0;
}

.banner-wrap:after {
  content: none;
}

.dynamic-banner {
  animation: none;
}

.nav {
  width: var(--page-width) !important;
  height: 32px !important;
  line-height: 32px !important;
  margin: 0 auto;
  overflow: hidden;
  background: #00a8f0 !important;
  border-bottom: 4px solid #7a0000;
}

.nav ul {
  padding-left: 0 !important;
}

.nav ul li {
  padding: 0 34px !important;
}

.nav ul .ico {
  background: none !important;
}

.nav ul li a {
  color: #fff !important;
  font-size: 14px !important;
}

.nav.dynamic-nav {
  position: static;
  z-index: 9000;
  transition: none;
}

.nav.dynamic-nav.is-scrolled {
  box-shadow: none;
}

.nav.dynamic-nav ul li {
  transition: transform .16s ease;
}

.nav.dynamic-nav ul li:hover {
  transform: translateY(-1px);
}

.nav.dynamic-nav ul li a {
  transition: color .16s ease;
}

.nav.dynamic-nav ul li a:hover {
  color: #ffff00;
}

#gamelist {
  width: var(--page-width) !important;
  table-layout: fixed;
  margin: 0 auto;
  background: #ff6600 !important;
}

#gamelist th {
  background: #ffcc00 !important;
  color: #000 !important;
  height: 24px;
  line-height: 24px;
  border-bottom: 1px solid #ff6600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#gamelist th span,
#gamelist th strong {
  color: #000 !important;
}

#gamelist td {
  border-bottom: 1px solid #cc3300;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#gamelist th:nth-child(1),
#gamelist td:nth-child(1) {
  width: 15%;
}

#gamelist th:nth-child(2),
#gamelist td:nth-child(2) {
  width: 15%;
}

#gamelist th:nth-child(3),
#gamelist td:nth-child(3) {
  width: 8%;
  white-space: nowrap;
  font-family: Arial, SimSun, sans-serif;
  font-size: 12px;
}

#gamelist th:nth-child(4),
#gamelist td:nth-child(4) {
  width: 14%;
}

#gamelist th:nth-child(5),
#gamelist td:nth-child(5) {
  width: 27%;
  text-align: center !important;
  padding-left: 0 !important;
}

#gamelist th:nth-child(6),
#gamelist td:nth-child(6) {
  width: 14%;
}

#gamelist th:nth-child(7),
#gamelist td:nth-child(7) {
  width: 7%;
}

a.pn {
  transition: transform .15s ease, filter .15s ease;
}

a.pn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font: bold 22px/40px Arial, sans-serif;
  text-align: center;
  cursor: pointer;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  background: #b90000;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.footer {
  width: var(--page-width);
  margin: 0 auto;
  padding: 8px 0;
  background: #fff;
  border-top: 1px solid #ff6600;
  color: #333;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
