.wanfen-site,
.wanfen-site * {
  box-sizing: border-box;
}

.wanfen-site {
  min-width: 1200px;
  min-height: 100vh;
  margin: 0;
  background: #f5f5f5;
  color: #555555;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
    SimSun, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.wanfen-site a {
  color: #555555;
  text-decoration: none;
}

.wanfen-site a:hover {
  color: #1c4276;
}

.wanfen-site ul,
.wanfen-site ol,
.wanfen-site h1,
.wanfen-site h2,
.wanfen-site h3,
.wanfen-site p {
  margin: 0;
  padding: 0;
}

.wanfen-site li {
  list-style: none;
}

.wanfen-site img {
  display: block;
  max-width: 100%;
}

.wanfen-width {
  width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.wanfen-header {
  padding: 15px 0;
  background: #ffffff;
  box-shadow: 0 5px 10px #f0f0f0;
}

.wanfen-header-inner {
  display: flex;
  align-items: center;
}

.wanfen-logo-link {
  display: block;
  width: 150px;
  height: 60px;
  margin-left: 30px;
}

.wanfen-logo-link img {
  width: 150px;
  height: 60px;
  object-fit: contain;
}

.wanfen-menu {
  display: flex;
  margin-left: 50px;
}

.wanfen-menu a {
  display: block;
  min-width: 126px;
  height: 46px;
  padding: 0 30px;
  color: #555555;
  font-size: 18px;
  line-height: 46px;
  text-align: center;
  white-space: nowrap;
}

.wanfen-menu a.is-active,
.wanfen-menu a.is-active:hover {
  background: #1c4276;
  color: #ffffff;
}

.wanfen-hot-rail {
  display: flex;
  align-items: center;
  height: 44px;
  overflow: hidden;
  background: #1c4276;
  color: #ffffff;
}

.wanfen-hot-rail strong {
  flex: 0 0 140px;
  padding-left: 15px;
  font-weight: 400;
}

.wanfen-hot-rail > div {
  display: flex;
  flex: 1;
  min-width: 0;
  height: 44px;
  overflow: hidden;
}

.wanfen-hot-rail a,
.wanfen-hot-rail a:hover {
  flex: 0 0 auto;
  padding: 0 10px;
  color: #ffffff;
  font-weight: 600;
  line-height: 44px;
  white-space: nowrap;
}

.wanfen-rail-arrow {
  width: 0;
  height: 0;
  margin: 0 32px 0 16px;
  border-top: 16px solid #d9e1eb;
  border-right: 12px solid transparent;
  border-left: 12px solid transparent;
}

.wanfen-main {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 15px;
}

.wanfen-main-left {
  width: 830px;
  min-width: 0;
}

.wanfen-main-right {
  width: 355px;
  min-width: 0;
}

.wanfen-match-panel,
.wanfen-article-list,
.wanfen-related,
.wanfen-source-panel,
.wanfen-sidebar-panel,
.wanfen-article {
  background: #ffffff;
}

.wanfen-match-panel {
  padding: 15px;
}

.wanfen-match-title,
.wanfen-list-heading {
  padding-bottom: 14px;
  color: #555555;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.wanfen-league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 6px 0 16px;
  border-bottom: 1px solid #efefef;
}

.wanfen-league-tabs a {
  min-width: 60px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #1c4276;
  line-height: 32px;
  text-align: center;
}

.wanfen-league-tabs a.is-active,
.wanfen-league-tabs a:hover {
  background: #1c4276;
  color: #ffffff;
}

.wanfen-match-day h2 {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid #efefef;
  color: #555555;
  font-size: 15px;
  font-weight: 400;
}

.wanfen-match-day h2::before {
  position: absolute;
  top: 16px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1c4276;
  content: '';
}

.wanfen-match-row {
  display: grid;
  grid-template-columns: 115px 120px minmax(0, 1fr) 80px;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
}

.wanfen-match-row:nth-child(even) {
  background: #f7f7f7;
}

.wanfen-match-row > time,
.wanfen-league-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wanfen-match-row > * {
  min-width: 0;
}

.wanfen-teams {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 120px) 24px 30px 24px minmax(0, 120px);
  align-items: center;
  justify-content: center;
}

.wanfen-home-team,
.wanfen-away-team {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wanfen-home-team {
  padding-right: 6px;
  text-align: right;
}

.wanfen-away-team {
  padding-left: 6px;
  text-align: left;
}

.wanfen-team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.wanfen-teams b {
  color: #666666;
  font-weight: 400;
  text-align: center;
}

.wanfen-play-button {
  display: block;
  width: 72px;
  height: 26px;
  border: 1px solid #1c4276;
  background: #d4e0f1;
  color: #1c4276 !important;
  line-height: 24px;
  text-align: center;
}

.wanfen-panel-heading {
  height: 42px;
  border-bottom: 1px solid #efefef;
  color: #555555;
  font-size: 15px;
  font-weight: 400;
}

.wanfen-panel-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 41px;
  padding: 0 12px;
  background: #1c4276;
  color: #ffffff;
}

.wanfen-sidebar-panel {
  padding: 0 15px 12px;
}

.wanfen-sidebar-news {
  padding-top: 8px;
}

.wanfen-sidebar-news li {
  height: 28px;
  overflow: hidden;
  line-height: 28px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wanfen-sidebar-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  padding: 15px 0 4px;
}

.wanfen-sidebar-tags a {
  height: 28px;
  overflow: hidden;
  padding: 3px 6px;
  background: #d4e0f1;
  color: #1c4276;
  line-height: 22px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wanfen-section-gap {
  margin-top: 15px;
}

.wanfen-breadcrumbs {
  display: flex;
  gap: 6px;
  align-items: center;
  min-height: 35px;
  padding-top: 10px;
  overflow: hidden;
  white-space: nowrap;
}

.wanfen-breadcrumbs a {
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wanfen-breadcrumbs b {
  font-weight: 400;
}

.wanfen-article-list,
.wanfen-related {
  padding: 15px;
}

.wanfen-article-rows > li {
  display: flex;
  min-height: 175px;
  padding-bottom: 15px;
  border-bottom: 1px solid #efefef;
}

.wanfen-article-rows > li + li {
  margin-top: 15px;
}

.wanfen-article-thumb {
  flex: 0 0 280px;
  width: 280px;
  height: 160px;
  overflow: hidden;
  background: #eeeeee;
}

.wanfen-article-thumb img {
  width: 280px;
  height: 160px;
  object-fit: cover;
}

.wanfen-article-row-body {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 160px;
  margin-left: 15px;
}

.wanfen-article-row-title {
  display: block;
  overflow: hidden;
  color: #555555;
  font-size: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wanfen-article-row-body > p {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  line-height: 24px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wanfen-detail-link {
  display: block;
  margin-top: 5px;
  color: blue !important;
  text-align: right;
}

.wanfen-article-row-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wanfen-article-row-meta > div {
  display: flex;
  min-width: 0;
  gap: 10px;
}

.wanfen-tag {
  display: inline-block;
  max-width: 120px;
  height: 26px;
  overflow: hidden;
  padding: 3px 6px;
  background: #d4e0f1;
  color: #1c4276;
  line-height: 20px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wanfen-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 15px;
}

.wanfen-pagination a {
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #999999;
  line-height: 32px;
  text-align: center;
}

.wanfen-pagination a.is-active {
  border-color: #1c4276;
  background: #1c4276;
  color: #ffffff;
}

.wanfen-article {
  padding: 15px;
}

.wanfen-article-title {
  color: #555555;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

.wanfen-article-info {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  color: #888888;
}

.wanfen-article-cover {
  width: min(740px, 100%);
  max-height: 460px;
  margin: 20px auto 0;
  object-fit: cover;
}

.wanfen-article-summary {
  margin-top: 18px !important;
  padding: 12px 15px !important;
  background: #f7f7f7;
  line-height: 26px;
}

.wanfen-article-content {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #efefef;
  color: #555555;
  font-size: 14px;
  line-height: 30px;
}

.wanfen-article-content p + p {
  margin-top: 20px;
}

.wanfen-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  margin-top: 30px;
}

.wanfen-team-card {
  padding: 60px 20px;
  background: #2b2b2b;
  color: #ffffff;
  text-align: center;
}

.wanfen-team-card time,
.wanfen-team-card h1,
.wanfen-team-card > div {
  display: block;
  margin-top: 10px;
}

.wanfen-team-card > div:first-child {
  margin-top: 0;
  font-size: 16px;
}

.wanfen-team-card h1 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
}

.wanfen-team-card h1 span {
  padding: 0 10px;
}

.wanfen-source-panel {
  padding: 0 15px 15px;
}

.wanfen-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 12px;
}

.wanfen-source-list a,
.wanfen-empty-inline {
  min-width: 100px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #eeeeee;
  background: #f8f8f8;
  line-height: 30px;
  text-align: center;
}

.wanfen-video-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  margin-top: 18px;
  overflow: hidden;
  background: #20252c;
}

.wanfen-video-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.wanfen-video-stage a,
.wanfen-video-stage > span {
  position: relative;
  z-index: 1;
  min-width: 120px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid #ffffff;
  background: #1c4276;
  color: #ffffff;
  line-height: 40px;
  text-align: center;
}

.wanfen-video-sources {
  padding: 15px 0 0;
}

.wanfen-empty {
  padding: 36px 0;
  color: #999999;
  text-align: center;
}

.wanfen-footer {
  margin-top: 30px;
  padding: 24px 20px 30px;
  border-top: 1px solid #dddddd;
  color: #888888;
  text-align: center;
}

.wanfen-footer nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 14px;
}

.wanfen-footer p + p {
  margin-top: 6px;
}

@media (max-width: 767px) {
  .wanfen-site {
    min-width: 0;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .wanfen-width {
    width: 100%;
  }

  .wanfen-header {
    padding: 10px 0 0;
  }

  .wanfen-header-inner {
    display: block;
  }

  .wanfen-logo-link {
    margin: 0 auto;
  }

  .wanfen-menu {
    margin: 10px 0 0;
    overflow-x: auto;
  }

  .wanfen-menu a {
    min-width: 104px;
    padding: 0 14px;
    font-size: 16px;
  }

  .wanfen-hot-rail strong {
    flex-basis: 118px;
    padding-left: 10px;
  }

  .wanfen-hot-rail a {
    padding: 0 8px;
  }

  .wanfen-rail-arrow {
    display: none;
  }

  .wanfen-main {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
  }

  .wanfen-main-left,
  .wanfen-main-right {
    width: 100%;
    max-width: 100%;
  }

  .wanfen-main-right {
    margin-top: 15px;
  }

  .wanfen-match-panel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 10px;
  }

  .wanfen-match-row {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 42px 54px minmax(0, 1fr) 58px;
    min-height: 44px;
    padding: 0 4px;
    font-size: 12px;
    overflow: hidden;
  }

  .wanfen-teams {
    grid-template-columns: minmax(0, 1fr) 16px 8px 16px minmax(0, 1fr);
    overflow: hidden;
    font-size: 11px;
  }

  .wanfen-team-logo {
    width: 16px;
    height: 16px;
  }

  .wanfen-play-button {
    width: 54px;
    font-size: 12px;
  }

  .wanfen-league-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .wanfen-league-tabs a {
    flex: 0 0 auto;
  }

  .wanfen-breadcrumbs {
    padding-right: 10px;
    padding-left: 10px;
  }

  .wanfen-article-rows > li {
    display: block;
  }

  .wanfen-article-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .wanfen-article-thumb img {
    width: 100%;
    height: 100%;
  }

  .wanfen-article-row-body {
    height: 180px;
    margin: 12px 0 0;
  }

  .wanfen-article-cover {
    width: 100%;
  }

  .wanfen-video-stage {
    min-height: 240px;
  }

  .wanfen-footer {
    padding-right: 10px;
    padding-left: 10px;
  }

  .wanfen-footer nav {
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
  }
}
