@font-face {
  font-family: "douyuFont";
  src: url("/static/fonts/douyuFont-2.otf") format("opentype");
  font-display: swap;
}

:root {
  --primary-color: #05202a;
  --header-bg: linear-gradient(-180deg, #05202a 5%, #05202a 95%) !important;
  --navbar-link-hover: #eaf4f4 !important;
  --match-header-color: #000;
  --match-header-active: #05202a;
  --match-list-font-size: 30px !important;
  --match-signal-end-bg-color: #355070;
  --match-signal-end-color: #fff;
  --match-signal-end-bg-border: 1px solid #355070;
  --news-text-color: #05202a;
  --news-text-before-bg-color: #05202a;
  --footer-border-color: #333d29;
  --footer-bg-color: #333d29;
  --footer-link-text-color: #faf2e2 !important;
  --friendly-bg-color: #6f3203;
  --search-btn-bg-color: #d5f1fc;
  --search-btn-text-color: #000;
  --leaderboard-header-bg-color: #05202a;
  --leaderboard-header-text-color: #fff;

  --pagination-bg-active-color: #6b9080;
  --pagination-bg-hover-color: #eaac8b;
  --pagination-text-active-color: #fff;
  --directly-pagination-bg-active-color: #6b9080;

  --data-tab-after-bg-color: #05202a;
  --post-comment-btn-bg-color: #003554;
  --post-comment-btn-bg-text-color: #fff;
  --tv-title-bg-color: #4d908e;
  --tv-title-bg-text-color: #fff;
  --tv-title-bg-border-bottom-color: #ffeee2;
  --all-game-title-border: 1px solid #05202a;
  --all-game-title-text-color: #fff;
  --all-game-data-list-a-hover-color: #a4c3b2;
  --all-game-data-list-a-active-bg-color: #05202a;
  --all-game-data-list-a-active-color: #fff;
  --all-game-data-list-a-active-hover-color: #fff;
  --mobile-navbar-item-bg-color: rgb(176, 72, 72);
  --stream-content-bg-color: #05202a;
  --tv-item-bg-color: #05202a;
  --tv-item-text-color: #fff;
  --one-flex: 0 0 100%;
  --two-flex: 0 0 50%;
  --three-flex: 0 0 50%;
  --data-order-flex-direction: row;
  --info-page-one-flex: 0 0 65%;
  --info-page-two-flex: 0 0 32%;
  --index-master-table-flex: 0 0 67%;
  --data-year-item-a-hover-color: #000;
  --stream-page-tab-active-color: #fff;
  --login-area-bg-color: #b23a48;
  --login-area-text-color: #fff;
}

.info-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.one {
  flex: var(--one-flex);
}

.two {
  flex: var(--two-flex);
}

.three {
  flex: var(--three-flex);
}

.info-content .news {
  background-color: #fff;
  padding: 1.2%;
  box-sizing: border-box;
  overflow-y: auto;
  border: 3px solid #f4f4f4;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  margin-top: 5px;
}

.info-content .news .title {
  font-size: 22px;
  color: var(--news-text-color);
}

.info-content .news .title h4::before {
  content: "";
  position: relative;
  top: 2px;
  display: inline-block;
  width: 6px;
  height: 19px;
  border-radius: 5px;
  margin-right: 10px;
  background-color: var(--news-text-before-bg-color);
}
.info-content .news .news-item {
  margin-top: 20px;
}
.info-content .news .news-item a {
  line-height: 35px;
  width: 100%;
  color: #000000;
  font-size: 13px;
  text-align: left;
  display: block;
}

.info-content .news .tag {
  margin: 10px;
}

.pc {
  display: block;
}

.mobile {
  display: none;
}

.v57_index_content {
  display: flex;
}

header .login-area {
  background-color: var(--login-area-bg-color);
  color: var(--login-area-text-color);
  text-align: right;
}

header .login-area .login-area-content {
  width: 97%;
  margin: 0 auto;
  padding: 10px 0;
}

header .login-area .login-area-content a {
  font-size: 16px;
  margin-right: 10px;
  cursor: pointer;
}

header .login-area .login-area-content a:hover {
  color: var(--primary);
}

.banner {
  width: 100%;
  height: 240px;
  position: relative;
  user-select: none;
  backdrop-filter: blur(20px);
  overflow: hidden;
  background-color: #332f30;
  margin: 0 auto;
  max-width: 1280px;
  background-image: url(/static/x31/images/banner-bg.png);
  background-size: cover;
}

.banner img {
  position: absolute;
  bottom: 39px;
  left: 84%;
  width: auto;
  height: 90%;
  transform: scale(2.1);
  transform-origin: top left;
}

.banner .banner-word {
  position: absolute;
  color: #fff;
  top: 40%;
  left: 3%;
  width: 82%;
}

.banner-word h1 {
  font-size: 25px;
  font-weight: 100;
  letter-spacing: 15px;
  font-family: "douyuFont";
  text-shadow: 5px 5px 3px #333;
  animation: bobbing 1s infinite ease-in-out;
}

.banner-word h2 {
  margin-top: 5px;
  letter-spacing: 8px;
}

.hot-info {
  width: 98%;
  margin: 10px auto 0;
}

.hot-info .title {
  height: 2.5rem;
  line-height: 2.5rem;
  border-bottom: 1px solid var(--primary-color);
  padding: 0px;
}

.hot-info .title span {
  float: left;
  color: rgb(255, 255, 255);
  border-top-left-radius: 0.2rem;
  border-bottom-left-radius: 0.2rem;
  background: var(--primary-color);
  padding: 0px 1.5rem;
  font-size: 18px;
}

.hot-info .hot-info-img {
  box-sizing: border-box;
  width: 30%;
  padding: 10px 10px 10px 0;
}

.hot-info-content {
  display: flex;
  align-items: center;
}

.hot-info .hot-info-news-item {
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.hot-info .hot-info-news-item img {
  margin-right: 10px;
}

#rocket {
  position: fixed;
  bottom: 70px;
  right: 5px;
  z-index: 999;
}

.gqzb {
  width: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--match-signal-end-color);
  background: var(--match-signal-end-bg-color);
  border: var(--match-signal-end-bg-border);
  box-sizing: border-box;
  padding: 10px;
  margin-left: 10px;
}

.gqzb p {
  text-align: center;
}

.ad-banner {
  margin: 10px auto 10px auto;
  max-width: 1280px;
  width: 100%;
  height: 320px;
  position: relative;
  user-select: none;
  backdrop-filter: blur(20px);
  overflow: hidden;
  background: linear-gradient(to bottom, #010101, #000);
}

.ad-banner-filter {
  background-color: rgba(0, 0, 0, 0.619);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
}

.ad-banner img {
  width: 100%;
  height: auto;
  position: absolute;
  z-index: 10;
}

.ad-banner-word {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  color: #fff;
}

.ad-banner-word h2 {
  font-size: 35px;
  font-weight: 400;
  letter-spacing: 8px;
  font-family: "CangErYuYangTiW05";
}

.ad-banner-button {
  margin-top: 20px;
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.2)
    ),
    linear-gradient(145deg, green, blue 25%, #9f6eff 50%, #fd66cb 75%, orange);
  transform-style: preserve-3d;
  border-radius: 9999px;
  padding: 2px;
  transition: transform 0.3s cubic-bezier(1, 0, 0, 1);
  display: inline-block;
  transform: scaleZ(1.01);
  box-shadow: 0 3px 7px rgba(19, 17, 26, 0.14);
}

@media screen and (max-width: 900px) {
  .info-content {
    flex-direction: column;
    padding-right: 5px;
  }

  .info-content .news {
    max-height: unset;
    margin: 20px 5%;
    padding: 2%;
  }

  .pc {
    display: none;
  }

  .mobile {
    display: block;
  }

  .v57_index_content {
    display: block;
  }

  .banner .banner-word {
    top: 34%;
    left: 3vw;
    font-size: 2.5vw;
    width: 67%;
  }

  .banner img {
    left: 64%;
  }

  .banner-word h1 {
    font-size: 16px;
    letter-spacing: 10px;
    line-height: 1.5em;
  }

  .banner-word h2 {
    font-size: 12px;
    line-height: 1.5em;
    letter-spacing: 3px;
  }

  .hot-info-content {
    display: block;
  }

  .hot-info .hot-info-img {
    display: none;
  }
}

@keyframes bobbing {
  0%,
  100% {
    color: #fce4f2;
  }
  25% {
    color: #fce4f2;
  }
  75% {
    color: #fce4f2;
  }
}
