/* x74 haixing skin — chrome, a11y, search/theme, index polish */

:root {
  --hx-accent: #05999c;
  --hx-accent-strong: #048186;
  --hx-accent-soft: rgba(5, 153, 156, 0.14);
  --hx-bg: #f5f5f5;
  --hx-surface: #ffffff;
  --hx-elevated: #f7f9fa;
  --hx-hover: #eef7f7;
  --hx-text: #222222;
  --hx-text-muted: #4a4a4a;
  --hx-border: #d3e1e2;
  --hx-on-accent: #ffffff;
  --hx-header-tools-z: 40;
  --hx-sticky: 50;
  --hx-dropdown: 100;
  --hx-modal: 200;
}

body[data-template="x74"][data-skin="haixing"] {
  background: var(--hx-bg);
  color: var(--hx-text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Verdana,
    sans-serif;
}

/* ===== A11y utilities ===== */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: var(--hx-modal);
  padding: 8px 14px;
  background: var(--hx-accent);
  color: var(--hx-on-accent);
  border-radius: 4px;
  font-weight: 700;
  transition: top 0.15s ease-out;
}

.skip-link:focus {
  top: 8px;
  color: var(--hx-on-accent);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ===== Header chrome ===== */
#new-head {
  position: sticky;
  top: 0;
  z-index: var(--hx-sticky);
  background-color: var(--hx-accent);
  color: var(--hx-on-accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

#new-head .nav-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 12px;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

#new-head .logo1 {
  flex: 0 0 auto;
  line-height: 0;
}

#new-head .logo1 img {
  display: block;
  max-width: 120px;
  height: auto;
  max-height: 40px;
  object-fit: contain;
}

#new-head .x74-nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

#new-head .nav-menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#new-head .nav-menu::-webkit-scrollbar {
  display: none;
}

#new-head .nav-menu li {
  margin-left: 0;
  flex: 0 0 auto;
}

#new-head .nav-menu a {
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 4px;
  display: block;
  white-space: nowrap;
}

#new-head .nav-menu a:hover,
#new-head .nav-menu a:focus-visible {
  background-color: rgba(255, 255, 255, 0.16);
  color: #fff !important;
  outline: none;
}

#new-head .nav-menu a.active,
#new-head .nav-menu a[aria-current="page"] {
  background-color: #fff !important;
  color: #035f61 !important;
}

/* Header tools: search + theme + mobile controls — stay on same row as nav */
.x74-header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-left: auto;
  z-index: var(--hx-header-tools-z);
}

.x74-search-desktop {
  display: none;
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.x74-search-desktop .keywords {
  width: 132px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
}

.x74-search-desktop .keywords::placeholder {
  color: rgba(255, 255, 255, 0.85);
}

.x74-search-desktop .serbtn {
  height: 34px;
  padding: 0 12px;
  border: 0;
  background: #fff;
  color: #035f61;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.x74-search-desktop .serbtn:hover,
.x74-search-desktop .serbtn:focus-visible {
  background: #eefafb;
  outline: none;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  padding: 0;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: 2px solid #fff;
  outline-offset: 1px;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
  filter: brightness(0) invert(1);
}

html[data-theme="light"] .theme-toggle .icon-moon,
html:not([data-theme]) .theme-toggle .icon-moon {
  display: block;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

.x74-tool-btn,
#new-head .menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

#new-head .menu-toggle {
  font-size: 22px;
}

/* Mobile search panel */
#new-head .search {
  display: none;
  width: 100%;
  padding: 0 12px 12px;
  background: var(--hx-accent);
  box-sizing: border-box;
}

#new-head .search.is-open,
#new-head .search:not([hidden]) {
  display: flex;
  gap: 8px;
  align-items: center;
}

#new-head .search[hidden] {
  display: none !important;
}

#new-head .search .keywords {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-size: 14px;
}

#new-head .search .keywords::placeholder {
  color: #666;
}

#new-head .search .serbtn {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #035f61;
  font-weight: 700;
  cursor: pointer;
}

/* ===== Index layout ===== */
.x74-index.container {
  width: min(1200px, calc(100% - 24px));
  margin: 0 auto;
  padding-bottom: 24px;
}

.x74-match-banner {
  --x74-banner-media-width: 60%;
  --x74-banner-image-scale: 1.5;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 280px;
  margin-top: 16px;
  padding: 24px 28px;
  overflow: hidden;
  border-radius: 8px;
  background: #087f82;
  color: #fff;
  box-sizing: border-box;
}

.x74-match-banner::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    112deg,
    rgba(255, 255, 255, 0.08) 0 39%,
    transparent 39.2% 100%
  );
  pointer-events: none;
}

.x74-match-banner__media {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--x74-banner-media-width);
  height: 100%;
  overflow: hidden;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.x74-match-banner__visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(var(--x74-banner-image-scale));
  transform-origin: center;
}

.x74-match-banner__copy {
  position: relative;
  z-index: 2;
  width: 48%;
}

.x74-match-banner__copy > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.x74-match-banner h1 {
  margin: 0;
  color: inherit;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  text-wrap: balance;
}

.x74-match-banner p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.5;
}

.x74-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--hx-text-muted);
  background: var(--hx-surface);
  border-bottom: 1px solid var(--hx-border);
}

.x74-match-section .hd.zb.x74-match-tabs {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  height: auto;
  min-height: 50px;
  margin-top: 16px;
}

.x74-match-section .hd.zb ul {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  height: auto;
  min-height: 50px;
  flex: 0 1 auto;
  margin: 0;
  scrollbar-width: thin;
}

.x74-match-section .hd.zb li {
  flex: 0 0 auto;
  float: none;
}

.x74-match-section .hd.zb li:focus-visible {
  outline: 2px solid var(--hx-accent);
  outline-offset: -2px;
}

.x74-match-meta {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 14px;
  background: #f7f9fa;
  white-space: nowrap;
}

.x74-match-meta .data-update-time {
  color: var(--hx-text-muted);
  font-size: 13px;
  line-height: 1.3;
}

.match-tab .hot_match {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.match-tab .hot_match a.items-center {
  float: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  width: auto;
  flex: 1 1 640px;
  min-width: 0;
  color: inherit;
}

.match-tab .hot_match a.items-center:hover {
  color: var(--hx-accent-strong);
}

.match-tab .hot_match .streamBox {
  float: none;
  width: auto;
  flex: 1 1 280px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.hot_match .status p {
  margin: 0;
  font-size: 13px;
  width: 64px;
}

.hot_match .sj,
.hot_match .bt,
.hot_match .zd,
.hot_match .kd {
  color: var(--hx-text);
}

.hot_match .zdbf,
.hot_match .kdbf {
  color: #222;
  font-weight: 700;
  background: #f0f0f0;
}

.hot_match .bf.x74-vs {
  width: auto;
  min-width: 40px;
  margin-right: 10px;
  padding: 0 8px;
  border-radius: 5px;
  background: #f0f0f0;
  color: var(--hx-accent-strong);
  font-weight: 800;
  text-align: center;
}

.streamTop p {
  color: var(--hx-text);
  margin: 0;
}

.streamBtm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  float: none;
}

.streamBtm a[hidden],
.streamBtm .link-hide[hidden] {
  display: none !important;
}

.streamBtm a:not([hidden]) {
  display: inline-flex;
}

.streamBtm p {
  margin: 0;
  color: var(--hx-accent-strong);
  border-bottom-color: var(--hx-accent);
}

.streamBox .viewMore {
  margin: 0;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--hx-text-muted);
  font-size: 12px;
  cursor: pointer;
  float: none;
}

.streamBox .viewMore:hover,
.streamBox .viewMore:focus-visible {
  color: var(--hx-accent-strong);
  outline: none;
}

/* More-matches CTA: wrapper only centers; button styles live on the link */
.x74-match-section .dh_more_match,
.dh_more_match {
  display: flex;
  justify-content: center;
  align-items: center;
  clear: both;
  width: auto;
  max-width: none;
  height: auto;
  margin: 20px 0 12px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  line-height: normal;
  text-align: center;
  font-size: inherit;
  color: inherit;
}

.x74-match-section .dh_more_match a,
.dh_more_match a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  background: var(--hx-accent);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color 0.15s ease-out, transform 0.15s ease-out;
}

.x74-match-section .dh_more_match a:hover,
.dh_more_match a:hover {
  background: var(--hx-accent-strong);
  color: #fff !important;
}

.x74-match-section .dh_more_match a:focus-visible,
.dh_more_match a:focus-visible {
  outline: 2px solid var(--hx-accent-strong);
  outline-offset: 3px;
}

.x74-match-section .dh_more_match a:active,
.dh_more_match a:active {
  transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
  .dh_more_match a {
    transition: none;
  }

  .dh_more_match a:active {
    transform: none;
  }
}

/* Section headings — match 热门录像: small teal tab on left + light bar */
.x74-section-hd {
  position: relative;
  display: block;
  height: 58px;
  border-top: 2px solid var(--hx-accent);
  background: #fff;
}

.x74-section-hd ul {
  display: block;
  height: 50px;
  margin: 0;
  padding: 0;
  background: #f7f9fa;
  box-shadow: 0 2px 3px #ddd;
  list-style: none;
  overflow: hidden;
}

.x74-section-hd li {
  float: left;
  width: auto;
  height: 50px;
  margin: 0 2px 0 0;
  padding: 0 15px;
  line-height: 50px;
  background: #f7f9fa;
  text-align: center;
  cursor: default;
}

.x74-section-hd li.on {
  background: var(--hx-accent);
  color: #fff;
}

.x74-section-hd li.on h1,
.x74-section-hd li.on h2,
.x74-section-hd h1,
.x74-section-hd h2 {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  color: inherit;
  line-height: inherit;
}

.x74-section-more {
  position: absolute;
  top: 2px;
  right: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 16px;
  background: transparent;
  color: var(--hx-accent-strong) !important;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.x74-section-more:hover,
.x74-section-more:focus-visible {
  color: var(--hx-accent) !important;
  outline: none;
}

.biaoti.syzt h2,
.title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--hx-text);
  text-wrap: balance;
}

.biaoti.syzt a {
  color: var(--hx-accent-strong);
  font-weight: 600;
  white-space: nowrap;
}

.tuwen ul span .biaoti {
  color: var(--hx-text);
  font-weight: 600;
}

.tuwen ul span a:hover .biaoti {
  color: var(--hx-accent-strong);
}

.tuwen ul span .img {
  background: #eef2f3;
}

.tuwen ul span .img img {
  object-fit: cover;
  display: block;
  background: #eef2f3;
}

/* Homepage league standings */
.x74-home-rank {
  background: var(--hx-surface);
}

.x74-home-rank__body {
  padding: 0 16px 16px;
}

.x74-home-rank__tabs {
  display: flex;
  gap: 4px;
  margin: 0 -16px 14px;
  padding: 10px 16px;
  overflow-x: auto;
  background: var(--hx-elevated);
  border-bottom: 1px solid var(--hx-border);
  scrollbar-width: thin;
}

.x74-home-rank__tab {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 6px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--hx-text-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.18s ease-out,
    border-color 0.18s ease-out,
    color 0.18s ease-out;
}

.x74-home-rank__tab:hover {
  color: var(--hx-accent-strong);
  background: var(--hx-accent-soft);
}

.x74-home-rank__tab:focus-visible {
  outline: 2px solid var(--hx-accent);
  outline-offset: 2px;
}

.x74-home-rank__tab.is-active {
  border-color: var(--hx-accent);
  background: var(--hx-accent);
  color: var(--hx-on-accent);
}

.x74-home-rank__panel[hidden] {
  display: none;
}

.x74-home-rank__table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--hx-border);
  border-radius: 4px;
}

.x74-home-rank__table {
  width: 100%;
  min-width: 520px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: var(--hx-surface);
  color: var(--hx-text);
  table-layout: fixed;
}

.x74-home-rank__table th,
.x74-home-rank__table td {
  height: 46px;
  padding: 7px 12px;
  border: 0;
  border-bottom: 1px solid var(--hx-border);
  text-align: center;
  vertical-align: middle;
}

.x74-home-rank__table th {
  height: 40px;
  background: var(--hx-elevated);
  color: var(--hx-text-muted);
  font-size: 13px;
  font-weight: 700;
}

.x74-home-rank__table th:nth-child(1) {
  width: 58px;
}

.x74-home-rank__table th:nth-child(2) {
  width: auto;
  text-align: left;
}

.x74-home-rank__table th:nth-child(3) {
  width: 72px;
}

.x74-home-rank__table th:nth-child(4) {
  width: 120px;
}

.x74-home-rank__table th:nth-child(5) {
  width: 72px;
}

.x74-home-rank__table td:nth-child(2) {
  text-align: left;
}

.x74-home-rank__table tbody tr:last-child td {
  border-bottom: 0;
}

.x74-home-rank__table tbody tr:hover {
  background: var(--hx-hover);
}

.x74-home-rank__position {
  color: var(--hx-text-muted);
  font-weight: 700;
}

.x74-home-rank__table tbody tr:nth-child(-n + 3) .x74-home-rank__position,
.x74-home-rank__points {
  color: var(--hx-accent-strong);
  font-weight: 800;
}

.x74-home-rank__team {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 9px;
  color: var(--hx-text) !important;
  font-weight: 600;
}

.x74-home-rank__team:hover {
  color: var(--hx-accent-strong) !important;
}

.x74-home-rank__team img {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.x74-home-rank__team span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.x74-home-rank__more {
  display: block;
  width: max-content;
  margin: 12px 0 0 auto;
  color: var(--hx-accent-strong) !important;
  font-size: 14px;
  font-weight: 700;
}

.x74-home-rank__more:hover,
.x74-home-rank__more:focus-visible {
  color: var(--hx-accent) !important;
}

@media (max-width: 600px) {
  .x74-home-rank__body {
    padding: 0 10px 12px;
  }

  .x74-home-rank__tabs {
    margin-right: -10px;
    margin-left: -10px;
    padding-right: 10px;
    padding-left: 10px;
    scrollbar-width: none;
  }

  .x74-home-rank__tabs::-webkit-scrollbar {
    display: none;
  }

  .x74-home-rank__table th,
  .x74-home-rank__table td {
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .x74-home-rank__tab {
    transition: none;
  }
}

.huati-redian ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.huati-redian li {
  float: none;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  width: 50%;
  max-width: 50%;
  padding: 4px 12px 4px 0;
  overflow: hidden;
  white-space: nowrap;
}

.huati-redian li i.vico,
.huati-redian li i.nico {
  flex: 0 0 auto;
  margin: 0 !important;
}

.huati-redian li a {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  max-width: 100%;
  color: var(--hx-text);
  text-align: left;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.huati-redian li a:hover {
  color: var(--hx-accent-strong);
}

.tagcloud a {
  color: var(--hx-text);
}

.tagcloud a:hover {
  color: #fff;
  background: var(--hx-accent);
}

/* Hot leagues strip under main nav */
.x74-hot-leagues {
  background: #fff;
  border-bottom: 1px solid var(--hx-border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  max-width: 100%;
  overflow: hidden;
}

.x74-hot-leagues__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 12px;
  min-height: 44px;
  min-width: 0;
  box-sizing: border-box;
}

.x74-hot-leagues__label {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--hx-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

/* Constrain nav so the list scrolls instead of expanding the page */
.x74-hot-leagues__inner > nav {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.x74-hot-leagues__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  touch-action: pan-x;
}

.x74-hot-leagues__list::-webkit-scrollbar {
  height: 3px;
}

.x74-hot-leagues__list li {
  flex: 0 0 auto;
}

.x74-hot-leagues__list a {
  display: block;
  padding: 5px 10px;
  border-radius: 4px;
  color: var(--hx-text) !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.x74-hot-leagues__list a:hover,
.x74-hot-leagues__list a:focus-visible {
  color: var(--hx-accent-strong) !important;
  background: var(--hx-accent-soft);
  outline: none;
}

.x74-hot-leagues__list a[aria-current="page"] {
  color: var(--hx-accent-strong) !important;
  background: var(--hx-accent-soft);
}

@media (max-width: 768px) {
  .x74-hot-leagues__inner {
    gap: 8px;
    padding: 8px 10px;
  }

  .x74-hot-leagues__list {
    scrollbar-width: none;
  }

  .x74-hot-leagues__list::-webkit-scrollbar {
    display: none;
  }
}

/* Footer: beat legacy x74.css white-bg override (league pages load x74.css) */
body[data-template="x74"] .footer,
.footer {
  opacity: 1 !important;
  color: #fff !important;
  background: var(--hx-accent) !important;
  border-top: none;
  text-align: center;
}

body[data-template="x74"] .footer p,
.footer p {
  color: rgba(255, 255, 255, 0.96) !important;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

body[data-template="x74"] .footer a,
.footer a {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body[data-template="x74"] .footer a:hover,
body[data-template="x74"] .footer a:focus-visible,
.footer a:hover,
.footer a:focus-visible {
  color: #e8ffff !important;
  outline: none;
}

/* Back to top */
.btn-top {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: var(--hx-dropdown);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--hx-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  display: none;
}

.btn-top.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-top:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Data update widget */
.x74-index .data-update-time,
.x74-match-section .update-time {
  color: var(--hx-text-muted);
  font-size: 13px;
  padding: 8px 4px 0;
}

/* ===== Responsive ===== */
@media (min-width: 981px) {
  .x74-search-desktop {
    display: inline-flex;
  }

  #sousuo,
  #new-head .menu-toggle {
    display: none !important;
  }

  /* Single-row header: logo | nav | search + theme */
  #new-head .nav-container {
    flex-wrap: nowrap;
  }
}

@media (max-width: 980px) {
  #new-head .nav-container {
    flex-wrap: wrap;
  }

  #new-head .x74-header-tools {
    margin-left: auto;
  }

  #new-head .x74-nav {
    position: static;
    flex: 0 0 auto;
    order: 3;
    width: 100%;
    overflow: visible;
  }

  #new-head .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px 0 12px;
    background: var(--hx-accent);
  }

  #new-head .nav-menu.is-open,
  #new-head .nav-menu.active {
    display: flex;
  }

  #new-head .nav-menu li {
    margin: 0;
  }

  #new-head .nav-menu a {
    padding: 10px 12px;
    font-size: 16px;
  }

  #sousuo,
  #new-head .menu-toggle {
    display: inline-flex;
  }

  .x74-search-desktop {
    display: none !important;
  }

  .x74-match-banner {
    --x74-banner-media-width: 66%;
    min-height: 190px;
    padding: 16px 18px;
  }

  .x74-match-banner__media {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 6% 100%);
  }

  .x74-match-banner__visual {
    object-position: center 34%;
  }

  .x74-match-banner__copy {
    width: 62%;
  }

  .x74-match-banner__copy > span {
    min-height: 24px;
    margin-bottom: 10px;
    padding: 0 9px;
    font-size: 12px;
  }

  .x74-match-banner h1 {
    font-size: 14px;
  }

  .x74-match-banner p {
    margin-top: 8px;
    font-size: 7px;
  }

  .match-tab .hot_match a.items-center,
  .x74-league-match-list .hot_match a.items-center,
  .x74-content-page .hot_match a.items-center,
  .x74-league-page .hot_match a.items-center {
    flex: 1 1 100%;
    width: 100%;
    justify-content: flex-start;
  }

  .match-tab .hot_match .streamBox,
  .x74-league-match-list .hot_match .streamBox,
  .x74-content-page .hot_match .streamBox,
  .x74-league-page .hot_match .streamBox {
    flex: 1 1 100%;
  }

  /*
   * Mobile match rows:
   * 1) status / time / league on first line
   * 2) forced break, then home | logo | score/VS | logo | away spanning full width
   */
  .hot_match a.items-center::after {
    content: "";
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    height: 0;
    margin: 0;
    border: 0;
    overflow: hidden;
  }

  .hot_match .status {
    order: 1;
    float: none;
    flex: 0 0 auto;
  }

  .hot_match .sj {
    order: 2;
    float: none;
    flex: 0 0 auto;
  }

  .hot_match .bt {
    order: 3;
    float: none;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin-right: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hot_match .zd {
    order: 5;
    float: none;
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    margin-right: 6px;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hot_match .zdlogo {
    order: 6;
  }

  .hot_match .zdbf {
    order: 7;
  }

  .hot_match .bf {
    order: 8;
  }

  .hot_match .kdbf {
    order: 9;
  }

  .hot_match .kdlogo {
    order: 10;
  }

  .hot_match .kd {
    order: 11;
    float: none;
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    margin-right: 0;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hot_match .zdlogo,
  .hot_match .kdlogo,
  .hot_match .zdbf,
  .hot_match .kdbf,
  .hot_match .bf {
    float: none;
    flex: 0 0 auto;
  }

  .hot_match .bf.x74-vs {
    width: 48px;
    min-width: 48px;
    margin-right: 10px;
  }

  .huati-redian li {
    float: none;
    width: 100%;
    max-width: 100%;
    padding-right: 0;
  }

  .x74-match-section .hd.zb.x74-match-tabs {
    flex-wrap: wrap;
  }

  .x74-match-section .hd.zb.x74-match-tabs .x74-match-meta {
    width: 100%;
    justify-content: flex-end;
    padding: 8px 12px;
    background: #152022;
    border-top: 1px solid var(--hx-border);
  }

  /* Title + update time: stack on narrow screens so timestamp isn't clipped */
  .x74-section-hd.x74-league-title-hd,
  .x74-league-page .x74-league-title-hd {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    height: auto;
    overflow: visible;
  }

  .x74-section-hd.x74-league-title-hd ul,
  .x74-league-page .x74-league-title-hd ul {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }

  .x74-section-hd.x74-league-title-hd .x74-match-meta,
  .x74-league-page .x74-league-title-hd .x74-match-meta {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: flex-end;
    padding: 8px 12px;
    background: #f7f9fa;
    box-shadow: none;
    border-top: 1px solid var(--hx-border);
    white-space: normal;
  }

  .x74-section-hd.x74-league-title-hd .data-update-time,
  .x74-league-page .x74-league-title-hd .data-update-time {
    margin-left: 0;
    padding-right: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
  }
}

/* ===== Live match detail (detail_zb / haixing) ===== */
.x74-zb-page {
  padding-bottom: 28px;
}

.x74-zb-page .dqwz {
  color: var(--hx-text-muted);
  font-size: 14px;
}

.x74-zb-page .dqwz a {
  color: var(--hx-accent-strong);
}

.x74-zb-page .dqwz a:hover,
.x74-zb-page .dqwz a:focus-visible {
  color: var(--hx-accent);
  outline: none;
}

.x74-zb-page .dqwz [aria-current="page"] {
  color: var(--hx-text);
  font-weight: 600;
}

/* Hero scoreboard — clean grid, CSS-only bg (no stretched PNG banding) */
.x74-zb-page .match_bj.x74-zb-hero {
  position: relative;
  height: auto !important;
  min-height: 0;
  margin: 0 0 12px;
  overflow: hidden;
  color: #fff;
}

.x74-zb-page .match_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: auto !important;
  min-height: 100%;
  background:
    radial-gradient(
      120% 80% at 50% 120%,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.06) 35%,
      transparent 60%
    ),
    linear-gradient(
      105deg,
      #0c2f31 0%,
      var(--hx-accent) 48%,
      #0c2f31 100%
    );
}

.x74-zb-page .match_bj > .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
}

.x74-zb-page .fixed_score_box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: none !important;
  background-image: none !important;
  padding: 20px 0 24px !important;
  box-sizing: border-box;
  min-height: 0 !important;
}

.x74-zb-page .league_name {
  width: 100%;
  height: auto !important;
  margin: 0;
  padding: 0 8px !important;
  line-height: 1.4 !important;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
}

.x74-zb-page .league_name a {
  color: #fff !important;
  font-weight: 700;
}

.x74-zb-page .league_name a:hover,
.x74-zb-page .league_name a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.x74-zb-page .league_name .league_sep {
  margin: 0 0.4em;
  opacity: 0.7;
}

.x74-zb-page .score {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 200px) minmax(0, 1fr);
  align-items: center;
  gap: 12px 16px;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

.x74-zb-page .score_name_left,
.x74-zb-page .score_name_right {
  width: auto !important;
  min-width: 0;
  text-align: center;
}

.x74-zb-page .score_name_left > a,
.x74-zb-page .score_name_left > div,
.x74-zb-page .score_name_right > a,
.x74-zb-page .score_name_right > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  text-decoration: none;
}

.x74-zb-page .score_name_left .image_container,
.x74-zb-page .score_name_right .image_container {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex: 0 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.x74-zb-page .score_name_left .image_container img,
.x74-zb-page .score_name_right .image_container img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}

.x74-zb-page .score_name_left .team-title,
.x74-zb-page .score_name_right .team-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  max-width: 11em;
  height: auto;
  min-height: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  text-wrap: balance;
}

.x74-zb-page .score_name_left a:hover .team-title,
.x74-zb-page .score_name_right a:hover .team-title,
.x74-zb-page .score_name_left a:focus-visible .team-title,
.x74-zb-page .score_name_right a:focus-visible .team-title {
  text-decoration: underline;
}

.x74-zb-page .score_name {
  width: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.x74-zb-page .match_score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 !important;
  height: auto !important;
  padding: 0;
  color: #fff;
}

.x74-zb-page .match_score .score-num,
.x74-zb-page .match_score .score-colon {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.x74-zb-page .match_score .score-colon {
  opacity: 0.85;
  transform: translateY(-1px);
}

.x74-zb-page .match_score .x74-zb-vs {
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}

.x74-zb-page .match_status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  width: auto !important;
  height: 32px !important;
  margin: 0;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--hx-accent-strong);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.x74-zb-page .match_status.live {
  color: #c62828;
}

/* Signals + countdown */
.x74-zb-page .match_details {
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  border-radius: 6px;
  padding: 14px 16px 16px;
  margin-top: 12px;
}

.x74-zb-page .signal-title {
  margin: 0 0 10px;
  padding: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--hx-text);
}

.x74-zb-page .signalCon .navs2 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.x74-zb-page .signalCon ul li {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0;
}

.x74-zb-page .signalCon ul li.f {
  background: transparent !important;
}

.x74-zb-page .signalCon ul li.f a,
.x74-zb-page .signalCon .navs2 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 18px !important;
  margin: 0 !important;
  border-radius: 6px;
  background: var(--hx-accent) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.15s ease-out, transform 0.15s ease-out;
}

.x74-zb-page .signalCon ul li.f a:hover,
.x74-zb-page .signalCon .navs2 a:hover {
  background: var(--hx-accent-strong) !important;
  color: #fff !important;
  outline: none;
  filter: none;
  transform: translateY(-1px);
}

.x74-zb-page .signalCon ul li.f a:focus-visible,
.x74-zb-page .signalCon .navs2 a:focus-visible {
  background: var(--hx-accent-strong) !important;
  color: #fff !important;
  outline: 2px solid var(--hx-accent-strong);
  outline-offset: 2px;
}

.x74-zb-page .signalCon ul li.f a:active,
.x74-zb-page .signalCon .navs2 a:active {
  transform: none;
  background: #036f71 !important;
}

@media (prefers-reduced-motion: reduce) {
  .x74-zb-page .signalCon ul li.f a,
  .x74-zb-page .signalCon .navs2 a {
    transition: none;
  }

  .x74-zb-page .signalCon ul li.f a:hover,
  .x74-zb-page .signalCon .navs2 a:hover {
    transform: none;
  }
}

.x74-zb-page .x74-zb-ended-tip {
  width: 100%;
  box-sizing: border-box;
  background: #eceff0 !important;
  color: #2a2a2a !important;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 12px 14px !important;
  border-radius: 6px;
}

.x74-zb-page #times_container.x74-times-container {
  margin-top: 12px;
  border: 1px solid #3a4a4b;
  background: #1f2d2e;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  padding: 12px 10px;
  border-radius: 4px;
}

.x74-zb-page #times_container .x74-times-text {
  margin: 0;
  color: #fff;
}

.x74-zb-page #times_container .x74-times-live {
  color: #ffe082;
}

.x74-zb-page #times_container .x74-times-ended {
  color: #fff;
}

/* Intro */
.x74-zb-page .x74-zb-intro-card.formsco_tab_content {
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  border-radius: 8px;
  color: var(--hx-text);
  padding: 16px 18px 14px;
}

.x74-zb-page .x74-zb-meta {
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--hx-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.x74-zb-page .x74-zb-meta__row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px 14px;
  align-items: baseline;
}

.x74-zb-page .x74-zb-meta dt {
  margin: 0;
  color: var(--hx-text-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.x74-zb-page .x74-zb-meta dt::before {
  content: "【";
}

.x74-zb-page .x74-zb-meta dt::after {
  content: "】";
}

.x74-zb-page .x74-zb-meta dd {
  margin: 0;
  min-width: 0;
  color: var(--hx-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-wrap: balance;
}

.x74-zb-page .x74-zb-meta dd a {
  float: none !important;
  color: var(--hx-accent-strong) !important;
  font-weight: 700;
  text-decoration: none;
}

.x74-zb-page .x74-zb-meta dd a:hover,
.x74-zb-page .x74-zb-meta dd a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.x74-zb-page .x74-zb-intro-desc {
  margin: 14px 0 0;
  color: var(--hx-text);
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

.x74-zb-page .x74-zb-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--hx-border);
}

.x74-zb-page .x74-zb-tags__label {
  flex: 0 0 auto;
  color: var(--hx-text-muted);
  font-size: 13px;
  font-weight: 700;
}

.x74-zb-page .x74-zb-tags a {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--hx-accent-soft);
  color: var(--hx-accent-strong) !important;
  font-size: 13px;
  font-weight: 600;
  float: none !important;
  line-height: 1.3;
}

.x74-zb-page .x74-zb-tags a:hover,
.x74-zb-page .x74-zb-tags a:focus-visible {
  background: var(--hx-accent);
  color: #fff !important;
  outline: none;
}

/* Data panels sit on light surface */
.x74-zb-page .introduce.x74-zb-data-panel,
.x74-zb-page .x74-zb-data-panel,
.x74-zb-page .text_live {
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  border-radius: 6px;
  margin-top: 20px;
  overflow: hidden;
}

.x74-zb-page .introduce .xinwen,
.x74-zb-page .x74-zb-data-panel .xinwen {
  margin: 0;
  padding: 12px 14px;
  background: #f4f4f4;
  border-bottom: 1px solid var(--hx-border);
  color: var(--hx-text);
  font-size: 18px;
  font-weight: 800;
}

@media (max-width: 768px) {
  .x74-zb-page .fixed_score_box {
    padding: 16px 0 20px !important;
    gap: 10px;
  }

  .x74-zb-page .league_name {
    font-size: 12px;
  }

  .x74-zb-page .score {
    grid-template-columns: minmax(0, 1fr) minmax(96px, 140px) minmax(0, 1fr);
    gap: 8px 10px;
  }

  .x74-zb-page .score_name_left .image_container,
  .x74-zb-page .score_name_right .image_container {
    width: 56px;
    height: 56px;
  }

  .x74-zb-page .score_name_left .image_container img,
  .x74-zb-page .score_name_right .image_container img {
    width: 40px;
    height: 40px;
  }

  .x74-zb-page .score_name_left .team-title,
  .x74-zb-page .score_name_right .team-title {
    font-size: 13px;
    max-width: 100%;
  }

  .x74-zb-page .match_score .score-num,
  .x74-zb-page .match_score .score-colon {
    font-size: 26px;
  }

  .x74-zb-page .match_status {
    min-width: 84px;
    height: 28px !important;
    font-size: 13px;
    padding: 0 12px;
  }

  .x74-zb-page .signal-title {
    font-size: 16px;
  }

  .x74-zb-page #times_container.x74-times-container {
    font-size: 14px;
  }
}

/* ===== Content / league pages (aligned with index / league_match_list) ===== */
body[data-template="x74"] .x74-content-page.container,
body[data-template="x74"] .x74-league-page.container,
.x74-content-page.container,
.x74-league-page.container {
  width: min(1200px, calc(100% - 24px));
  max-width: none;
  margin: 0 auto;
  padding: 0 0 28px;
  box-sizing: border-box;
}

.x74-content-page .dqwz,
.x74-league-page .dqwz,
.x74-zb-page .dqwz {
  color: #3d3d3d;
  font-size: 14px;
}

.x74-content-page .dqwz a,
.x74-league-page .dqwz a {
  color: var(--hx-accent-strong);
}

.x74-content-page .dqwz a:hover,
.x74-content-page .dqwz a:focus-visible,
.x74-league-page .dqwz a:hover,
.x74-league-page .dqwz a:focus-visible {
  color: var(--hx-accent);
  outline: none;
}

.x74-content-page .dqwz [aria-current="page"],
.x74-league-page .dqwz [aria-current="page"] {
  color: var(--hx-text);
  font-weight: 600;
}

/* hot_match works outside index .match-tab wrappers */
.x74-league-match-list .hot_match,
.x74-content-page .hot_match,
.x74-league-page .hot_match {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 6px;
  border-bottom: 1px solid var(--hx-border);
  background: var(--hx-surface);
  overflow: hidden;
}

.x74-league-match-list .hot_match a.items-center,
.x74-content-page .hot_match a.items-center,
.x74-league-page .hot_match a.items-center {
  float: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  width: auto;
  flex: 1 1 640px;
  min-width: 0;
  color: inherit;
}

.x74-league-match-list .hot_match .streamBox,
.x74-content-page .hot_match .streamBox,
.x74-league-page .hot_match .streamBox {
  float: none;
  width: auto;
  flex: 1 1 280px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

/* Bridge legacy introduce / xinwen panels → haixing section look */
.x74-content-page .introduce.x74-league-nav-panel > .xinwen,
.x74-league-page .introduce.x74-league-nav-panel > .xinwen {
  display: none;
}

.x74-content-page .introduce.x74-league-nav-panel,
.x74-league-page .introduce.x74-league-nav-panel {
  margin-top: 16px;
  padding: 0;
  background: transparent;
  border: 0;
}

.x74-content-page .introduce.x74-league-nav-panel .x74-league-nav-body,
.x74-league-page .introduce.x74-league-nav-panel .x74-league-nav-body {
  padding: 14px 12px;
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  border-radius: 6px;
  box-sizing: border-box;
}

.x74-content-page .bs-warp.x74-league-matches,
.x74-league-page .bs-warp.x74-league-matches,
.x74-content-page .introduce.x74-league-block,
.x74-league-page .introduce.x74-league-block {
  margin-top: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  float: none;
  width: 100%;
}

.x74-content-page .bs-warp .table-warp,
.x74-league-page .bs-warp .table-warp {
  background: transparent;
}

.x74-content-page .bs-warp .xinwen,
.x74-league-page .bs-warp .xinwen,
.x74-content-page .introduce.x74-league-block > .xinwen,
.x74-league-page .introduce.x74-league-block > .xinwen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 0 15px;
  height: 50px;
  line-height: 50px;
  background: var(--hx-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-top: 2px solid var(--hx-accent);
  box-sizing: border-box;
}

.x74-content-page .bs-warp .xinwen .data-update-time,
.x74-league-page .bs-warp .xinwen .data-update-time,
.x74-content-page .introduce.x74-league-block > .xinwen .data-update-time,
.x74-league-page .introduce.x74-league-block > .xinwen .data-update-time {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 13px;
}

.x74-content-page .x74-league-match-list,
.x74-league-page .x74-league-match-list,
.x74-content-page .x74-widget-panel,
.x74-league-page .x74-widget-panel,
.x74-content-page .x74-content-body {
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  border-top: 0;
  box-sizing: border-box;
}

.x74-content-page .x74-widget-panel,
.x74-league-page .x74-widget-panel,
.x74-content-page .x74-content-body {
  padding: 12px 14px;
}

.x74-content-page .league-chip-nav,
.x74-league-page .league-chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.x74-content-page .league-chip-nav a,
.x74-league-page .league-chip-nav a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(5, 153, 156, 0.1);
  color: var(--hx-accent-strong);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
}

.x74-content-page .league-chip-nav a:hover,
.x74-content-page .league-chip-nav a:focus-visible,
.x74-league-page .league-chip-nav a:hover,
.x74-league-page .league-chip-nav a:focus-visible {
  background: var(--hx-accent);
  color: #fff;
  outline: none;
}

.x74-content-page .team-match-filters,
.x74-league-page .team-match-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
}

.x74-content-page .team-match-filters .league-filters,
.x74-league-page .team-match-filters .league-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.x74-content-page .team-match-filters .filter-btn,
.x74-league-page .team-match-filters .filter-btn {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border: 0;
  border-radius: 4px;
  background: rgba(5, 153, 156, 0.1);
  color: var(--hx-accent-strong);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.x74-content-page .team-match-filters .filter-btn.active,
.x74-content-page .team-match-filters .filter-btn:hover,
.x74-league-page .team-match-filters .filter-btn.active,
.x74-league-page .team-match-filters .filter-btn:hover {
  background: var(--hx-accent);
  color: #fff;
}

.x74-content-page .team-match-filters .location-filters,
.x74-league-page .team-match-filters .location-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--hx-text);
  font-size: 13px;
}

.x74-content-page .team-match-filters .location-filters label,
.x74-league-page .team-match-filters .location-filters label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: var(--hx-text);
}

.x74-content-page .x74-section-more-link,
.x74-league-page .x74-section-more-link {
  color: var(--hx-accent-strong);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.x74-content-page .x74-section-more-link:hover,
.x74-league-page .x74-section-more-link:hover {
  color: var(--hx-accent);
}

/* Best rank panel on team page */
.x74-content-page .x74-best-rank,
.x74-league-page .x74-best-rank {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.x74-content-page .x74-best-rank .rank-side-tabs,
.x74-league-page .x74-best-rank .rank-side-tabs {
  width: 120px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.x74-content-page .x74-best-rank .tab-item,
.x74-league-page .x74-best-rank .tab-item {
  display: block;
  padding: 10px 12px;
  text-align: left;
  color: var(--hx-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border: 0;
  border-radius: 4px;
  background: rgba(5, 153, 156, 0.1);
}

.x74-content-page .x74-best-rank .tab-item:hover,
.x74-content-page .x74-best-rank .tab-item.active,
.x74-league-page .x74-best-rank .tab-item:hover,
.x74-league-page .x74-best-rank .tab-item.active {
  background: var(--hx-accent);
  color: #fff;
}

.x74-content-page .x74-best-rank-table,
.x74-league-page .x74-best-rank-table {
  flex: 1;
  min-width: 0;
}

.x74-content-page .x74-best-rank-table table,
.x74-league-page .x74-best-rank-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  color: var(--hx-text);
}

.x74-content-page .x74-best-rank-table th,
.x74-content-page .x74-best-rank-table td,
.x74-league-page .x74-best-rank-table th,
.x74-league-page .x74-best-rank-table td {
  padding: 12px 10px;
  border: 0;
  border-bottom: 1px solid var(--hx-border);
  background: transparent;
  color: inherit;
  vertical-align: middle;
}

.x74-content-page .x74-best-rank-table thead th,
.x74-league-page .x74-best-rank-table thead th {
  color: var(--hx-text-muted);
  font-size: 12px;
  font-weight: 700;
  background: rgba(5, 153, 156, 0.08);
  border-bottom: 0;
}

.x74-content-page .x74-best-rank-table .col-rank,
.x74-league-page .x74-best-rank-table .col-rank {
  width: 56px;
  text-align: center;
  font-weight: 700;
  color: var(--hx-text-muted);
}

.x74-content-page .x74-best-rank-table .col-rank.is-top,
.x74-league-page .x74-best-rank-table .col-rank.is-top {
  color: var(--hx-accent-strong);
}

.x74-content-page .x74-best-rank-table .col-matches,
.x74-league-page .x74-best-rank-table .col-matches {
  width: 88px;
  text-align: center;
  color: var(--hx-text-muted);
}

.x74-content-page .x74-best-rank-table .col-stat,
.x74-league-page .x74-best-rank-table .col-stat {
  width: 96px;
  text-align: right;
  font-weight: 700;
}

.x74-content-page .x74-best-player,
.x74-league-page .x74-best-player {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.x74-content-page .x74-best-player img,
.x74-league-page .x74-best-player img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(5, 153, 156, 0.1);
  flex: 0 0 36px;
}

.x74-content-page .x74-best-player__meta,
.x74-league-page .x74-best-player__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.x74-content-page .x74-best-player__name,
.x74-league-page .x74-best-player__name {
  font-weight: 600;
  color: var(--hx-text);
}

.x74-content-page .x74-best-player__en,
.x74-league-page .x74-best-player__en {
  font-size: 12px;
  color: var(--hx-text-muted);
}

.x74-content-page .x74-best-rank-table a,
.x74-league-page .x74-best-rank-table a {
  color: inherit;
  text-decoration: none;
}

.x74-content-page .x74-best-rank-table a:hover .x74-best-player__name,
.x74-league-page .x74-best-rank-table a:hover .x74-best-player__name {
  color: var(--hx-accent-strong);
}

/* Team data / lineup tables — no heavy grid */
.x74-content-page .lineup-table,
.x74-content-page .data-table,
.x74-league-page .lineup-table,
.x74-league-page .data-table {
  border-collapse: collapse;
  color: var(--hx-text);
}

.x74-content-page .lineup-table th,
.x74-content-page .lineup-table td,
.x74-content-page .data-table th,
.x74-content-page .data-table td,
.x74-league-page .lineup-table th,
.x74-league-page .lineup-table td,
.x74-league-page .data-table th,
.x74-league-page .data-table td {
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--hx-border) !important;
  color: var(--hx-text) !important;
  background: transparent !important;
}

.x74-content-page .lineup-table th,
.x74-content-page .data-table th,
.x74-league-page .lineup-table th,
.x74-league-page .data-table th {
  background: rgba(5, 153, 156, 0.08) !important;
  color: var(--hx-text-muted) !important;
  border-bottom: 0 !important;
}

.x74-content-page .lineup-table tr:nth-child(even) td,
.x74-content-page .data-table tbody tr:nth-child(even) td,
.x74-league-page .lineup-table tr:nth-child(even) td,
.x74-league-page .data-table tbody tr:nth-child(even) td {
  background: rgba(5, 153, 156, 0.04) !important;
}

.x74-content-page .lineup-table tr:hover td,
.x74-content-page .data-table tbody tr.data-row:hover td,
.x74-league-page .lineup-table tr:hover td,
.x74-league-page .data-table tbody tr.data-row:hover td {
  background: rgba(5, 153, 156, 0.08) !important;
}

.x74-content-page .data-table tr.total-row td,
.x74-league-page .data-table tr.total-row td {
  background: rgba(5, 153, 156, 0.12) !important;
  border-top: 0 !important;
  font-weight: 700;
}

/* Article / list content surfaces */
.x74-content-page .x74-intro-text,
.x74-league-page .x74-intro-text {
  margin: 0;
  color: var(--hx-text);
  font-size: 15px;
  line-height: 1.75;
}

.x74-content-page .x74-link-list,
.x74-league-page .x74-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.x74-content-page .x74-link-list li,
.x74-league-page .x74-link-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hx-border);
}

.x74-content-page .x74-link-list li:last-child,
.x74-league-page .x74-link-list li:last-child {
  border-bottom: 0;
}

.x74-content-page .x74-link-list a,
.x74-league-page .x74-link-list a {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--hx-text);
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.x74-content-page .x74-link-list a:hover,
.x74-content-page .x74-link-list a:focus-visible,
.x74-league-page .x74-link-list a:hover,
.x74-league-page .x74-link-list a:focus-visible {
  color: var(--hx-accent-strong);
  outline: none;
}

.x74-content-page .x74-link-list time,
.x74-league-page .x74-link-list time {
  flex: 0 0 auto;
  color: #4a4a4a;
  font-size: 13px;
}

.x74-content-page .x74-article-body,
.x74-league-page .x74-article-body {
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  border-top: 0;
  padding: 16px 18px 20px;
  box-sizing: border-box;
}

.x74-content-page .x74-article-body .article_info,
.x74-league-page .x74-article-body .article_info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hx-border);
  color: #4a4a4a;
  font-size: 13px;
}

.x74-content-page .x74-article-body .article_info a,
.x74-league-page .x74-article-body .article_info a {
  color: var(--hx-accent-strong);
  text-decoration: none;
}

.x74-content-page .x74-article-body .nr,
.x74-league-page .x74-article-body .nr {
  color: var(--hx-text);
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.x74-content-page .x74-article-body .nr img,
.x74-league-page .x74-article-body .nr img {
  max-width: 100%;
  height: auto;
}

.x74-content-page .x74-article-body .video-player,
.x74-league-page .x74-article-body .video-player {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
  background: #111;
  border-radius: 6px;
  overflow: hidden;
}

.x74-content-page .x74-article-body .video-player video,
.x74-league-page .x74-article-body .video-player video {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
}

.x74-content-page .x74-article-body .video-desc,
.x74-league-page .x74-article-body .video-desc {
  margin: 0 0 16px;
  color: #3d3d3d;
  font-size: 15px;
  line-height: 1.75;
}

.x74-content-page .x74-article-body .tags,
.x74-league-page .x74-article-body .tags {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--hx-border);
}

.x74-content-page .x74-article-body .tags h2,
.x74-league-page .x74-article-body .tags h2 {
  margin: 0 0 10px;
  color: var(--hx-text);
  font-size: 15px;
  font-weight: 700;
}

.x74-content-page .x74-article-body .tags ul,
.x74-league-page .x74-article-body .tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Beat 24zhibo.css .tags li light-gray chip chrome */
.x74-content-page .x74-article-body .tags li,
.x74-league-page .x74-article-body .tags li {
  float: none;
  display: inline-flex;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  line-height: 1;
}

.x74-content-page .x74-article-body .tags a,
.x74-league-page .x74-article-body .tags a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 4px;
  background: rgba(5, 153, 156, 0.12);
  color: var(--hx-accent-strong);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.x74-content-page .x74-article-body .tags a:hover,
.x74-content-page .x74-article-body .tags a:focus-visible,
.x74-league-page .x74-article-body .tags a:hover,
.x74-league-page .x74-article-body .tags a:focus-visible {
  background: var(--hx-accent);
  color: #fff;
  outline: none;
}

.x74-content-page .related-videos,
.x74-league-page .related-videos {
  margin-top: 24px;
}

.x74-content-page .x74-stream-tabs,
.x74-league-page .x74-stream-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 12px;
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  border-top: 0;
  box-sizing: border-box;
}

.x74-content-page .x74-stream-tabs .troggle-btn,
.x74-league-page .x74-stream-tabs .troggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(5, 153, 156, 0.1);
  color: var(--hx-accent-strong);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.x74-content-page .x74-stream-tabs .troggle-btn.active,
.x74-content-page .x74-stream-tabs .troggle-btn:hover,
.x74-league-page .x74-stream-tabs .troggle-btn.active,
.x74-league-page .x74-stream-tabs .troggle-btn:hover {
  background: var(--hx-accent);
  color: #fff;
}

.x74-content-page .x74-stream-tabs .troggle-btn img,
.x74-league-page .x74-stream-tabs .troggle-btn img {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .x74-content-page .x74-article-body .video-player video,
  .x74-league-page .x74-article-body .video-player video {
    height: 240px;
  }

  .x74-content-page .x74-article-body,
  .x74-league-page .x74-article-body {
    padding: 12px;
  }
}

.x74-league-nav-section .x74-league-nav-body {
  padding: 14px 12px;
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  border-radius: 6px;
  box-sizing: border-box;
}

.x74-league-page .x74-league-nav-body .link-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.x74-league-page .x74-league-nav-body .responsive-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(5, 153, 156, 0.1);
  color: var(--hx-accent-strong);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  transition: background-color 0.15s ease-out, color 0.15s ease-out;
}

.x74-league-page .x74-league-nav-body .responsive-link:hover,
.x74-league-page .x74-league-nav-body .responsive-link:focus-visible {
  background: var(--hx-accent);
  color: #fff;
  outline: none;
}

.x74-league-page .x74-league-title-hd {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  overflow: hidden;
}

.x74-league-page .x74-league-title-hd ul {
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  scrollbar-width: none;
}

.x74-league-page .x74-league-title-hd ul::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.x74-league-page .x74-league-title-hd li.on h1,
.x74-league-page .x74-section-hd li.on h1 {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  color: inherit;
  line-height: inherit;
}

.x74-league-page .x74-league-title-hd .x74-match-meta {
  flex: 0 0 auto;
  background: #f7f9fa;
  box-shadow: 0 2px 3px #ddd;
}

.x74-league-page .x74-match-meta .data-update-time,
.x74-league-page .data-update-time {
  color: #3d3d3d;
  font-size: 13px;
}

/* Rank / stars — light theme AA (avoid #bbb / #888 on white) */
.x74-league-page .lq_rank_side .lq_rank_row {
  color: #1f1a1a;
  background: #fff;
}

.x74-league-page .lq_rank_side .lq_rank_head,
.x74-league-page .lq_rank_side .lq_rank_head .lq_pos,
.x74-league-page .lq_rank_side .lq_rank_head .lq_wdl,
.x74-league-page .lq_rank_side .lq_rank_head .lq_pts,
.x74-league-page .lq_rank_side .lq_rank_head .lq_team {
  color: #4a4545;
}

.x74-league-page .lq_rank_side .lq_pos {
  color: #5c5555;
}

.x74-league-page .lq_rank_side .lq_team span a {
  color: #1f1a1a;
}

.x74-league-page .lq_rank_side .lq_team span a:hover,
.x74-league-page .lq_rank_side .lq_team span a:focus-visible {
  color: var(--hx-accent-strong);
  outline: none;
}

.x74-league-page .star_player_side .sp_rank {
  color: #5c5c5c;
}

.x74-league-page .star_player_side .sp_name,
.x74-league-page .star_player_side .sp_name a {
  color: #222;
}

.x74-league-page .star_player_side .sp_meta {
  color: #4a4a4a;
}

.x74-league-page .match-tab h6.x74-league-day,
.x74-league-page h6.x74-league-day {
  display: flex;
  align-items: center;
  height: auto;
  min-height: 24px;
  margin: 12px 0 4px;
  padding: 0;
  line-height: 1.4;
  background: transparent;
  overflow: visible;
  border-radius: 0;
}

.x74-league-page .match-tab h6.x74-league-day time,
.x74-league-page h6.x74-league-day time {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--hx-text-muted);
}

.x74-league-page .match-tab h6.x74-league-day time::before,
.x74-league-page h6.x74-league-day time::before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 14px;
  margin-right: 8px;
  background: var(--hx-accent);
  position: relative;
  top: 2px;
}

.x74-league-more {
  display: none;
}

.x74-league-page .dh_more_match .more-btn,
.x74-league-more .more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  background: var(--hx-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease-out, transform 0.15s ease-out;
}

.x74-league-page .dh_more_match .more-btn:hover,
.x74-league-more .more-btn:hover {
  background: var(--hx-accent-strong);
}

.x74-league-page .dh_more_match .more-btn:focus-visible,
.x74-league-more .more-btn:focus-visible {
  outline: 2px solid var(--hx-accent-strong);
  outline-offset: 3px;
}

.x74-league-page .dh_more_match .more-btn:active,
.x74-league-more .more-btn:active {
  transform: translateY(1px);
}

.x74-league-page .x74-league-widget .item-block {
  margin: 0;
  padding: 0 0 14px;
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  border-radius: 6px;
  overflow: hidden;
  box-sizing: border-box;
}

.x74-league-page .x74-rank-block .xinwen,
.x74-league-page .x74-stars-block .xinwen,
.x74-league-page .x74-league-widget .section-title {
  display: block;
  margin: 0 0 12px;
  padding: 0 15px;
  height: 50px;
  line-height: 50px;
  background: var(--hx-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: 0;
  border-top: 2px solid var(--hx-accent);
  box-sizing: border-box;
}

.x74-league-page .x74-league-widget .section-title h2 {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
}

.x74-league-page .x74-league-widget .section-title em {
  display: none;
}

.x74-league-page .league_intro,
.x74-league-page .custom-league-intro-container {
  margin: 0 14px 8px;
  padding: 0;
}

.x74-league-page .custom-league-intro {
  max-height: 160px;
  overflow: hidden;
  color: var(--hx-text);
  font-size: 14px;
  line-height: 1.7;
  transition: max-height 0.2s ease-out;
}

.x74-league-page .custom-league-intro.expanded {
  max-height: none;
}

.x74-league-page .custom-toggle-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 14px 0;
  padding: 6px 0;
  color: var(--hx-accent-strong);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.x74-league-page .custom-toggle-arrow:hover,
.x74-league-page .custom-toggle-arrow:focus-visible {
  color: var(--hx-accent);
  outline: none;
}

@media (max-width: 768px) {
  .x74-league-page.container {
    width: calc(100% - 16px);
  }

  .x74-league-page .x74-league-title-hd li.on h1 {
    font-size: 15px;
  }
}

/* League / team data tables under haixing content shells */
.x74-content-page .league-team-list,
.x74-league-page .league-team-list,
.x74-content-page .x74-team-grid,
.x74-league-page .x74-team-grid {
  padding: 0;
}

.x74-content-page .league-team-list li,
.x74-league-page .league-team-list li,
.x74-content-page .x74-team-grid li,
.x74-league-page .x74-team-grid li {
  background: var(--hx-elevated, #f7f7f8);
  border-color: var(--hx-border);
}

.x74-content-page .league-team-list a,
.x74-league-page .league-team-list a,
.x74-content-page .x74-team-grid a,
.x74-league-page .x74-team-grid a {
  color: var(--hx-text);
}

.x74-content-page .league-rank-table,
.x74-league-page .league-rank-table {
  border-color: var(--hx-border);
}

.x74-content-page .league-rank-table__row,
.x74-league-page .league-rank-table__row {
  background: var(--hx-surface);
  border-bottom-color: var(--hx-border);
  color: var(--hx-text);
}

.x74-content-page .league-rank-table__row.is-head,
.x74-league-page .league-rank-table__row.is-head {
  background: var(--hx-elevated, #f3f4f6);
  color: var(--hx-text-muted, #5c5555);
}

.x74-content-page .league-rank-table__row.is-group,
.x74-league-page .league-rank-table__row.is-group {
  background: var(--hx-elevated, #fafafa);
  color: var(--hx-accent-strong, var(--hx-accent));
}

.x74-content-page .league-rank-table__row:not(.is-head):not(.is-group):hover,
.x74-league-page .league-rank-table__row:not(.is-head):not(.is-group):hover {
  background: var(--hx-hover, #f7f7f8);
}

.x74-content-page .player-rank-block,
.x74-league-page .player-rank-block {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: var(--hx-surface);
  border: 1px solid var(--hx-border);
  border-radius: 6px;
  box-sizing: border-box;
}

.x74-content-page .player-rank-block:last-child,
.x74-league-page .player-rank-block:last-child {
  margin-bottom: 0;
}

.x74-content-page .player-rank-table__head,
.x74-league-page .player-rank-table__head {
  background: rgba(5, 153, 156, 0.08);
  color: var(--hx-text-muted);
  border-radius: 4px;
}

.x74-content-page .player-rank-table__row,
.x74-league-page .player-rank-table__row {
  color: var(--hx-text);
  border-bottom-color: var(--hx-border);
}

.x74-content-page .player-rank-table__row:hover,
.x74-league-page .player-rank-table__row:hover {
  background: rgba(5, 153, 156, 0.06);
}

.x74-content-page .player-rank-block__title,
.x74-league-page .player-rank-block__title,
.x74-content-page .player-rank-block h1.player-rank-block__title,
.x74-league-page .player-rank-block h1.player-rank-block__title,
.x74-content-page .player-rank-block h2.player-rank-block__title,
.x74-league-page .player-rank-block h2.player-rank-block__title {
  color: var(--hx-text);
}

.x74-content-page .player-rank-block__season,
.x74-league-page .player-rank-block__season,
.x74-content-page .player-rank-block__more,
.x74-league-page .player-rank-block__more {
  color: var(--hx-accent-strong);
}

.x74-content-page .player-rank-table__col-rank,
.x74-league-page .player-rank-table__col-rank {
  color: var(--hx-text-muted);
}

.x74-content-page .player-rank-table__col-data,
.x74-league-page .player-rank-table__col-data {
  color: var(--hx-text);
}

.x74-content-page .player-rank-table__name a,
.x74-league-page .player-rank-table__name a {
  color: var(--hx-text);
}

.x74-content-page .player-rank-table__name a:hover,
.x74-content-page .player-rank-table__name a:focus-visible,
.x74-league-page .player-rank-table__name a:hover,
.x74-league-page .player-rank-table__name a:focus-visible {
  color: var(--hx-accent-strong);
}

.x74-content-page .jifen-table,
.x74-league-page .jifen-table,
.x74-content-page .team-data-table,
.x74-league-page .team-data-table,
.x74-content-page .league-data-table,
.x74-league-page .league-data-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--hx-text);
}

.x74-content-page .jifen-table thead th,
.x74-league-page .jifen-table thead th,
.x74-content-page .team-data-table thead th,
.x74-league-page .team-data-table thead th,
.x74-content-page .league-data-table thead th,
.x74-league-page .league-data-table thead th {
  background: var(--hx-elevated, #f3f4f6);
  color: var(--hx-text-muted, #5c5555);
  border-bottom: 1px solid var(--hx-border);
}

.x74-content-page .jifen-table tbody td,
.x74-league-page .jifen-table tbody td,
.x74-content-page .team-data-table tbody td,
.x74-league-page .team-data-table tbody td,
.x74-content-page .league-data-table tbody td,
.x74-league-page .league-data-table tbody td {
  color: var(--hx-text);
  border-bottom: 1px solid var(--hx-border);
}

.x74-content-page .jifen-standings__nav-item,
.x74-league-page .jifen-standings__nav-item {
  color: var(--hx-accent-strong);
  background: rgba(5, 153, 156, 0.1);
  border: 0;
}

.x74-content-page .jifen-standings__nav-item.is-active,
.x74-content-page .jifen-standings__nav-item:hover,
.x74-league-page .jifen-standings__nav-item.is-active,
.x74-league-page .jifen-standings__nav-item:hover {
  background: var(--hx-accent);
  color: #fff;
}

.x74-content-page .jifen-standings__group-title,
.x74-league-page .jifen-standings__group-title,
.x74-content-page .jifen-empty,
.x74-league-page .jifen-empty,
.x74-content-page .x74-empty,
.x74-league-page .x74-empty,
.x74-content-page .league-empty,
.x74-league-page .league-empty {
  color: var(--hx-text-muted);
}

.x74-content-page .jifen-team a,
.x74-league-page .jifen-team a,
.x74-content-page .league-rank-table a,
.x74-league-page .league-rank-table a {
  color: var(--hx-link, var(--hx-accent-strong));
  text-decoration: none;
}

/* Winner history list */
.x74-content-page .x74-winner-list,
.x74-league-page .x74-winner-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid var(--hx-border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--hx-surface);
}

.x74-content-page .x74-winner-list__head,
.x74-content-page .x74-winner-list__row,
.x74-league-page .x74-winner-list__head,
.x74-league-page .x74-winner-list__row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 88px;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
}

.x74-content-page .x74-winner-list__head,
.x74-league-page .x74-winner-list__head {
  min-height: 40px;
  background: rgba(5, 153, 156, 0.08);
  color: var(--hx-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.x74-content-page .x74-winner-list__row,
.x74-league-page .x74-winner-list__row {
  border-top: 1px solid var(--hx-border);
  color: var(--hx-text);
  font-size: 14px;
  transition: background-color 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.x74-content-page .x74-winner-list__row:hover,
.x74-league-page .x74-winner-list__row:hover {
  background: rgba(5, 153, 156, 0.06);
}

.x74-content-page .x74-winner-list__row.is-latest,
.x74-league-page .x74-winner-list__row.is-latest {
  background: rgba(5, 153, 156, 0.1);
}

.x74-content-page .x74-winner-list__season,
.x74-league-page .x74-winner-list__season {
  color: var(--hx-text-muted);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.x74-content-page .x74-winner-list__team,
.x74-league-page .x74-winner-list__team {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.x74-content-page .x74-winner-list__team img,
.x74-league-page .x74-winner-list__team img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 28px;
  border-radius: 50%;
  background: rgba(5, 153, 156, 0.08);
}

.x74-content-page .x74-winner-list__team a,
.x74-league-page .x74-winner-list__team a {
  color: var(--hx-text);
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.x74-content-page .x74-winner-list__team a:hover,
.x74-content-page .x74-winner-list__team a:focus-visible,
.x74-league-page .x74-winner-list__team a:hover,
.x74-league-page .x74-winner-list__team a:focus-visible {
  color: var(--hx-accent-strong);
  outline: none;
}

.x74-content-page .x74-winner-list__title,
.x74-league-page .x74-winner-list__title {
  justify-self: end;
}

.x74-content-page .x74-winner-badge,
.x74-league-page .x74-winner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--hx-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .x74-content-page .x74-winner-list__head,
  .x74-league-page .x74-winner-list__head {
    display: none;
  }

  .x74-content-page .x74-winner-list__row,
  .x74-league-page .x74-winner-list__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "season title"
      "team team";
    gap: 6px 10px;
    padding: 12px 14px;
    min-height: 0;
  }

  .x74-content-page .x74-winner-list__season,
  .x74-league-page .x74-winner-list__season {
    grid-area: season;
    font-size: 12px;
  }

  .x74-content-page .x74-winner-list__team,
  .x74-league-page .x74-winner-list__team {
    grid-area: team;
  }

  .x74-content-page .x74-winner-list__title,
  .x74-league-page .x74-winner-list__title {
    grid-area: title;
    justify-self: end;
  }
}

/* Pagination on content pages */
.x74-content-page .pagination-wrap,
.x74-league-page .pagination-wrap {
  background: transparent;
}

.x74-content-page .paging-cls a,
.x74-content-page .paging-cls span,
.x74-league-page .paging-cls a,
.x74-league-page .paging-cls span {
  background: rgba(5, 153, 156, 0.1);
  border-color: var(--hx-border);
  color: var(--hx-accent-strong);
}

.x74-content-page .paging-cls a:hover,
.x74-content-page .paging-cls a:focus-visible,
.x74-content-page .paging-cls .active a,
.x74-content-page .paging-cls .current,
.x74-content-page .paging-cls span.current,
.x74-content-page .paging-cls a.current,
.x74-league-page .paging-cls a:hover,
.x74-league-page .paging-cls a:focus-visible,
.x74-league-page .paging-cls .active a,
.x74-league-page .paging-cls .current,
.x74-league-page .paging-cls span.current,
.x74-league-page .paging-cls a.current {
  background: var(--hx-accent);
  border-color: var(--hx-accent);
  color: #fff;
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .x74-league-page .custom-league-intro,
  .x74-league-page .dh_more_match .more-btn,
  .x74-league-more .more-btn,
  .x74-league-page .x74-league-nav-body .responsive-link {
    transition: none;
  }

  .x74-league-page .dh_more_match .more-btn:active,
  .x74-league-more .more-btn:active {
    transform: none;
  }
}
