@font-face {
  font-family: "Alimama ShuHeiTi";
  src: url("./assets/阿里妈妈数黑体.ttf") format("truetype");
  font-display: swap;
}

:root {
  --blue: #0073f6;
  --cyan: #00ffe5;
  --lime: #B2FE03;
  --ink: #17171d;
  --text: #22242a;
  --muted: #747783;
  --line: #e7e8ed;
  --paper: #ffffff;
  --hero-dark: #17171d;
  --content-width: 1268px;
  --page-pad: clamp(24px, 7vw, 72px);
  --content-area-width: min(var(--content-width), calc(100% - var(--page-pad) * 2));
  --content-inset: max(var(--page-pad), calc((100% - var(--content-width)) / 2));
  --carousel-card-width: calc(var(--content-area-width) / 4 + 12px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family:
    "Alimama ShuHeiTi", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  width: 100%;
  height: 72px;
  padding: 0 var(--content-inset);
  color: #ffffff;
  background: transparent;
  transform: translateY(0);
  transition:
    transform 0.28s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header.is-solid {
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.site-logo {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
}

.logo-mark {
  display: block;
  width: 64px;
  height: 64px;
  background: url("./assets/popeye.png") center / contain no-repeat;
}

.logo-mark::before {
  display: none;
  content: none;
}

.logo-mark::after {
  display: none;
  content: none;
}

.main-nav,
.utility-nav {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: clamp(28px, 4vw, 62px);
}

.utility-nav {
  justify-content: flex-end;
  gap: 34px;
}

.main-nav a,
.utility-nav a {
  font-size: 17px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.48);
}

.site-header.is-solid .main-nav a,
.site-header.is-solid .utility-nav a {
  text-shadow: none;
}

.utility-nav a {
  font-size: 14px;
}

.hero {
  position: relative;
  height: 735px;
  min-height: 735px;
  overflow: hidden;
  padding: 0 86px 86px;
  color: #ffffff;
  background: var(--hero-dark);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--hero-image, none) center / cover no-repeat;
  content: "";
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero.is-image-loaded::before {
  opacity: 1;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 370px;
  background: linear-gradient(180deg, rgba(23, 23, 29, 0), var(--hero-dark));
  content: "";
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  width: var(--content-area-width);
  max-width: var(--content-width);
  margin: 0 auto;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-content h1 {
  display: -webkit-box;
  overflow: hidden;
  max-width: 760px;
  margin: 0 0 28px;
  font-size: clamp(34px, 3.9vw, 62px);
  line-height: 1.17;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.text-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.recent-matches {
  padding: 42px 0 34px;
  color: #ffffff;
  background: var(--hero-dark);
  overflow: hidden;
}

.recent-matches__head {
  width: var(--content-area-width);
  margin-left: var(--content-inset);
}

.section-title {
  margin: 0 0 30px;
  font-size: 26px;
}

.recent-matches h2 {
  margin: 0 0 30px;
  font-size: 26px;
}

.match-carousel {
  position: relative;
  width: 100%;
  overflow: visible;
  --match-card-width: var(--carousel-card-width);
}

.competition-carousel {
  position: relative;
  width: calc(100% + var(--content-inset) * 2);
  margin-left: calc(var(--content-inset) * -1);
  overflow: visible;
  --competition-card-width: var(--carousel-card-width);
}

.match-row,
.competition-row {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding-right: var(--content-inset);
  padding-left: var(--content-inset);
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.match-row::-webkit-scrollbar,
.competition-row::-webkit-scrollbar {
  display: none;
}

.match-card {
  flex: 0 0 var(--match-card-width);
  min-width: 0;
  min-height: 176px;
  padding: 22px 24px;
  color: #1c1d22;
  background: #ffffff;
  transition: box-shadow 0.18s ease;
}

.match-card:hover,
.match-card:focus-visible {
  box-shadow: 0 8px 16px rgba(65, 66, 67, 0.16);
  outline: none;
}

.match-nav,
.competition-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  color: #5f6470;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.18s ease;
}

.match-prev {
  left: var(--content-inset);
}

.match-next {
  left: calc(var(--content-inset) + var(--content-area-width) - 58px);
}

.competition-prev {
  left: var(--content-inset);
}

.competition-next {
  left: calc(var(--content-inset) + var(--content-area-width) - 58px);
}

.match-nav[hidden],
.competition-nav[hidden] {
  display: none;
}

.match-carousel:hover .match-nav,
.match-nav:focus-visible,
.competition-carousel:hover .competition-nav,
.competition-nav:focus-visible {
  opacity: 1;
}

.match-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: #353741;
  font-size: 12px;
}

.match-meta span,
.headline-overlay span,
.competition-card > span {
  display: inline-block;
  padding: 3px 7px;
  color: #1c1d22;
  background: var(--lime);
  font-size: 11px;
  line-height: 1;
}

.club-line {
  display: grid;
  grid-template-columns: 32px 1fr 18px;
  align-items: center;
  gap: 11px;
  min-height: 38px;
}

.club-line img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.club-line strong {
  overflow: hidden;
  font-size: 19px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-line b {
  font-size: 18px;
  text-align: right;
}

.match-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  color: #9294a1;
  font-size: 12px;
}

.match-card-foot span {
  min-width: 0;
}

.match-card-foot span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  text-align: right;
}

.card-link img {
  width: 12px;
  height: 12px;
}

.slider-mark {
  --slider-thumb-width: 28px;
  --slider-thumb-x: 0px;
  width: 90px;
  height: 5px;
  margin: 36px auto 0;
  background: #545562;
}

.slider-mark span {
  display: block;
  width: var(--slider-thumb-width);
  height: 5px;
  background: #ffffff;
  transform: translateX(var(--slider-thumb-x));
  transition:
    transform 0.12s linear,
    width 0.12s linear;
}

.competition-slider {
  background: #d8dbe3;
}

.competition-slider span {
  background: #42424E;
}

.section {
  width: var(--content-area-width);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 112px 0 0;
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.86fr);
  gap: 32px;
}

.headline-card {
  position: relative;
  display: block;
  min-height: 510px;
  overflow: hidden;
  background: #1e1f25;
}

.headline-card img {
  width: 100%;
  height: 510px;
  object-fit: cover;
}

.headline-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0 45px 45px;
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.headline-overlay h3 {
  max-width: 680px;
  margin: 18px 0 22px;
  font-size: clamp(26px, 2.5vw, 42px);
  line-height: 1.12;
}

.headline-overlay time,
.news-card time,
.competition-card time {
  color: #7d808d;
  font-size: 12px;
}

.side-news {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 28px;
}

.news-card {
  min-width: 0;
}

.news-thumb {
  height: 150px;
  margin-bottom: 14px;
  background: #1f2530 center / cover no-repeat;
}

.news-card span {
  color: #747783;
  font-size: 10px;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 8px 0 9px;
  color: #242630;
  font-size: 15px;
  line-height: 1.22;
}

.competitions-section {
  padding-bottom: 0;
}

.competition-row {
  width: 100%;
}

.competition-card {
  flex: 0 0 var(--competition-card-width);
  min-width: 0;
}

.competition-art {
  position: relative;
  height: 160px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #17171d center / cover no-repeat;
}

.competition-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 23, 29, 0.02), rgba(23, 23, 29, 0.62));
  content: "";
}

.competition-logo {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.competition-card h3 {
  margin: 12px 0 6px;
  color: #242630;
  font-size: 16px;
  line-height: 1.18;
}

.ad-section {
  padding: 120px 0 60px;
}

.ad-banner {
  position: relative;
  display: block;
  height: 420px;
  overflow: hidden;
  background: #17171d;
}

.ad-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-banner::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 23, 29, 0.72), rgba(23, 23, 29, 0.12));
  content: "";
}

.ad-banner span {
  position: absolute;
  left: 38px;
  bottom: 32px;
  z-index: 1;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.1;
}

.site-footer {
  margin-top: 112px;
  color: #ffffff;
  background: var(--hero-dark);
}

.site-footer__inner {
  display: flex;
  width: var(--content-area-width);
  min-height: 180px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-footer strong {
  display: block;
  margin-bottom: 12px;
  font-size: 22px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.article-page {
  background: #ffffff;
}

.article-page .site-header {
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.article-page .main-nav a,
.article-page .utility-nav a {
  text-shadow: none;
}

.article-shell {
  width: var(--content-area-width);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 150px 0 0;
}

.article-detail {
  max-width: 920px;
}

.article-hero {
  padding-bottom: 42px;
}

.article-kicker {
  display: inline-block;
  margin: 0 0 22px;
  padding: 4px 8px;
  color: #1c1d22;
  background: var(--lime);
  font-size: 12px;
  line-height: 1;
}

.article-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #17171d;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.article-subtitle {
  max-width: 760px;
  margin: 26px 0 0;
  color: #5f6470;
  font-size: 20px;
  line-height: 1.55;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 26px;
  color: #858894;
  font-size: 13px;
}

.article-cover {
  width: 100%;
  margin: 0 0 54px;
  background: #17171d;
}

.article-cover img {
  width: 100%;
  height: min(52vw, 560px);
  object-fit: cover;
}

.article-body {
  max-width: 760px;
  color: #292b32;
  font-size: 18px;
  line-height: 1.9;
}

.article-body p {
  margin: 0 0 28px;
}

.article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-body strong {
  color: #17171d;
}

.article-body ul,
.article-body ol {
  margin: 0 0 28px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body img {
  width: 100%;
  margin: 34px 0;
}

.article-body blockquote {
  margin: 44px 0;
  padding: 28px 0 28px 30px;
  border-left: 6px solid var(--blue);
  color: #17171d;
  font-size: 26px;
  line-height: 1.45;
}

.article-actions {
  display: flex;
  max-width: 760px;
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.like-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 128px;
  height: 48px;
  justify-content: center;
  border: 1px solid #17171d;
  color: #17171d;
  background: #ffffff;
  cursor: pointer;
}

.like-button[aria-pressed="true"] {
  border-color: var(--blue);
  color: #ffffff;
  background: var(--blue);
}

.related-articles {
  padding: 112px 0 0;
}

.related-articles h2 {
  margin: 0 0 30px;
  color: #17171d;
  font-size: 26px;
}

.related-carousel {
  position: relative;
  width: calc(100% + var(--content-inset) * 2);
  margin-left: calc(var(--content-inset) * -1);
  overflow: visible;
  --related-card-width: var(--carousel-card-width);
}

.related-row {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding-right: var(--content-inset);
  padding-left: var(--content-inset);
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.related-row::-webkit-scrollbar {
  display: none;
}

.related-card {
  display: block;
  flex: 0 0 var(--related-card-width);
  min-width: 0;
}

.related-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
  object-fit: cover;
  background: #17171d;
}

.related-card span {
  color: #747783;
  font-size: 11px;
}

.related-card h3 {
  margin: 10px 0 12px;
  color: #242630;
  font-size: 20px;
  line-height: 1.24;
}

.related-card time {
  color: #7d808d;
  font-size: 12px;
}

.related-nav {
  position: absolute;
  top: 40%;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  color: #5f6470;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.18s ease;
}

.related-prev {
  left: var(--content-inset);
}

.related-next {
  left: calc(var(--content-inset) + var(--content-area-width) - 58px);
}

.related-nav[hidden] {
  display: none;
}

.related-carousel:hover .related-nav,
.related-nav:focus-visible {
  opacity: 1;
}

.related-slider {
  background: #d8dbe3;
}

.related-slider span {
  background: #42424e;
}

.event-page {
  background: #ffffff;
}

.event-page .site-header {
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.event-page .main-nav a,
.event-page .utility-nav a {
  text-shadow: none;
}

.event-shell {
  width: var(--content-area-width);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 112px 0 0;
}

.event-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: #ffffff;
  background: #17171d center / cover no-repeat;
}

.event-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 23, 29, 0.12), rgba(23, 23, 29, 0.84)),
    linear-gradient(90deg, rgba(0, 115, 246, 0.46), rgba(0, 0, 0, 0));
}

.event-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 520px;
  align-items: flex-end;
  gap: 28px;
  padding: 54px;
}

.event-logo {
  width: 118px;
  height: 118px;
  flex: 0 0 auto;
  object-fit: contain;
}

.event-heading span {
  display: inline-block;
  margin-bottom: 18px;
  padding: 4px 8px;
  color: #1c1d22;
  background: var(--lime);
  font-size: 12px;
  line-height: 1;
}

.event-heading h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.06;
}

.event-heading p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
}

.event-meta-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.event-meta-panel div {
  min-width: 0;
  min-height: 112px;
  padding: 24px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.event-meta-panel span {
  display: block;
  margin-bottom: 12px;
  color: #858894;
  font-size: 12px;
}

.event-meta-panel strong {
  display: -webkit-box;
  overflow: hidden;
  color: #20222b;
  font-size: 16px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.event-tabs {
  display: flex;
  margin-top: 64px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.event-tabs button {
  min-width: 104px;
  height: 54px;
  border: 0;
  border-bottom: 4px solid transparent;
  color: #737783;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}

.event-tabs button.is-active {
  border-color: var(--blue);
  color: #17171d;
}

.event-module {
  display: none;
  padding: 42px 0 0;
}

.event-module.is-active {
  display: block;
}

.event-module__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.event-module__head h2 {
  margin: 0;
  color: #17171d;
  font-size: 28px;
}

.event-module__head span {
  color: #858894;
  font-size: 13px;
}

.event-empty {
  min-height: 220px;
  padding: 42px;
  border: 1px solid var(--line);
  color: #858894;
  background: #f7f8fb;
  font-size: 15px;
}

.event-highlight {
  max-width: 760px;
}

.event-highlight iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  background: #17171d;
}

.event-highlight a {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 14px;
}

.event-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 32px;
}

.event-highlight-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  border: 0;
  color: #17171d;
  background: transparent;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.event-highlight-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 115, 246, 0.24), rgba(0, 255, 229, 0.14)),
    #17171d center / cover no-repeat;
}

.event-highlight-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 23, 29, 0.04), rgba(23, 23, 29, 0.42));
  content: "";
}

.event-highlight-media span {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 8px;
  color: #17171d;
  background: var(--lime);
  font-size: 11px;
  line-height: 1;
}

.event-highlight-media i {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #17171d;
  background: var(--cyan);
  font-size: 24px;
  font-style: normal;
  transform: translate(-50%, -50%);
}

.event-highlight-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: #242630;
  font-size: 16px;
  line-height: 1.24;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.image-preview {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 48px;
  background: rgba(8, 9, 13, 0.88);
}

.image-preview[hidden] {
  display: none;
}

.image-preview button {
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
  background: rgba(23, 23, 29, 0.72);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.image-preview img {
  max-width: min(100%, 1280px);
  max-height: 88vh;
  object-fit: contain;
}

body.is-preview-open {
  overflow: hidden;
}

.event-match-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.event-match-filters {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 220px;
  gap: 18px;
  margin-bottom: 28px;
}

.event-match-filters label {
  display: grid;
  gap: 10px;
  color: #747783;
  font-size: 12px;
}

.event-match-filters input {
  width: 100%;
  height: 48px;
  border: 1px solid #d9dce5;
  color: #17171d;
  background: #ffffff;
  padding: 0 14px;
  outline: none;
}

.event-match-filters input:focus {
  border-color: var(--blue);
}

.event-schedule-card {
  display: block;
  flex: none;
  width: auto;
  min-height: 196px;
  border: 1px solid var(--line);
}

.event-match-list .event-empty {
  grid-column: 1 / -1;
}

.event-match-pagination {
  margin-top: 42px;
}

.event-schedule-card .match-meta {
  margin-bottom: 22px;
}

.event-schedule-card .club-line {
  grid-template-columns: 32px minmax(0, 1fr) 30px;
}

.event-schedule-card .club-line + .club-line {
  margin-top: 8px;
}

.event-schedule-card .card-link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.event-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 32px;
}

.event-news-card .news-thumb {
  height: 164px;
}

.event-news-card h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 38px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.event-team-card {
  display: grid;
  min-height: 210px;
  justify-items: center;
  align-content: center;
  gap: 16px;
  padding: 28px 20px;
  border: 1px solid var(--line);
  color: #17171d;
  background: #ffffff;
  text-align: center;
}

.event-team-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.event-team-card strong {
  overflow: hidden;
  max-width: 100%;
  font-size: 18px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-team-card span {
  color: #858894;
  font-size: 12px;
}

.event-standings,
.event-stats-grid {
  display: grid;
  gap: 34px;
}

.standing-stage,
.standing-group,
.event-ranking-panel {
  display: grid;
  gap: 18px;
}

.standing-stage > h3,
.standing-group > h3,
.event-ranking-panel > h3 {
  margin: 0;
  color: #17171d;
  font-size: 22px;
}

.standing-stage {
  padding-bottom: 10px;
}

.standing-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #ffffff;
}

.standing-table-wrap table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.standing-table-wrap th,
.standing-table-wrap td {
  min-height: 48px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  color: #4d505b;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
}

.standing-table-wrap th {
  color: #858894;
  background: #f7f8fb;
  font-weight: 400;
}

.standing-table-wrap td:nth-child(2),
.standing-table-wrap th:nth-child(2) {
  text-align: left;
}

.standing-table-wrap tr:last-child td {
  border-bottom: 0;
}

.standing-table-wrap strong {
  color: #17171d;
  font-size: 14px;
}

.standing-table-wrap b {
  color: var(--blue);
  font-size: 16px;
}

.event-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-highlight-grid .event-empty,
.event-news-grid .event-empty,
.event-team-grid .event-empty,
.event-stats-grid .event-empty {
  grid-column: 1 / -1;
}

.match-page {
  background: #ffffff;
}

.match-page .site-header {
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.match-page .main-nav a,
.match-page .utility-nav a {
  text-shadow: none;
}

.match-detail-shell {
  width: var(--content-area-width);
  max-width: var(--content-width);
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 112px 0 0;
}

.match-scoreboard {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 115, 246, 0.72), rgba(0, 255, 229, 0.16)),
    #17171d;
}

.match-scoreboard__meta {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.match-scoreboard__meta span {
  display: inline-block;
  padding: 4px 8px;
  color: #1c1d22;
  background: var(--lime);
  font-size: 12px;
  line-height: 1;
}

.match-scoreboard__meta strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.match-scoreboard__teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  min-height: 360px;
  padding: 56px 64px;
}

.match-team-block {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.match-team-block img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.match-team-block strong {
  overflow: hidden;
  max-width: 100%;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-score-core {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.match-score-core span {
  display: inline-block;
  padding: 5px 10px;
  color: #17171d;
  background: var(--cyan);
  font-size: 12px;
  line-height: 1;
}

.match-score-core div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #ffffff;
}

.match-score-core b {
  font-size: clamp(70px, 8vw, 116px);
  line-height: 0.9;
}

.match-score-core i {
  color: rgba(255, 255, 255, 0.48);
  font-size: 54px;
  font-style: normal;
  line-height: 1;
}

.match-score-core time {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.match-info-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.match-info-grid div {
  min-width: 0;
  min-height: 104px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.match-info-grid span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

.match-info-grid strong {
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.match-tabs {
  display: flex;
  margin-top: 64px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.match-tabs button {
  min-width: 124px;
  height: 54px;
  border: 0;
  border-bottom: 4px solid transparent;
  color: #737783;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}

.match-tabs button.is-active {
  border-color: var(--blue);
  color: #17171d;
}

.match-module {
  display: none;
  padding: 42px 0 0;
}

.match-module.is-active {
  display: block;
}

.match-module__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.match-module__head h2 {
  margin: 0;
  color: #17171d;
  font-size: 28px;
}

.match-module__head span {
  color: #858894;
  font-size: 13px;
}

.lineup-matchup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #ffffff;
}

.lineup-team-bar {
  display: flex;
  min-width: 0;
  min-height: 74px;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lineup-team-bar--away {
  justify-content: flex-end;
  text-align: right;
}

.lineup-team-bar img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.lineup-team-bar strong {
  overflow: hidden;
  color: #17171d;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lineup-team-bar span {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: #17171d;
  background: var(--cyan);
  font-size: 12px;
  line-height: 1;
}

.lineup-pitch-scroll {
  overflow-x: auto;
  padding: 24px 0 4px;
}

.lineup-pitch {
  position: relative;
  display: grid;
  grid-template-columns: minmax(480px, 1fr) minmax(480px, 1fr);
  width: 100%;
  min-width: 960px;
  min-height: 560px;
  overflow: hidden;
  border: 2px solid #dce6e2;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(172, 191, 184, 0.82) calc(50% - 1px), rgba(172, 191, 184, 0.82) calc(50% + 1px), transparent calc(50% + 1px)),
    repeating-linear-gradient(135deg, #ffffff 0, #ffffff 8px, #f4f8f6 8px, #f4f8f6 14px);
}

.lineup-half {
  position: relative;
  z-index: 2;
  display: grid;
  min-width: 480px;
}

.lineup-column {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  padding: 34px 8px;
}

.lineup-player {
  display: grid;
  width: 96px;
  min-height: 92px;
  place-items: center;
  gap: 5px;
  color: #24443a;
  text-align: center;
}

.lineup-player strong {
  overflow: hidden;
  max-width: 94px;
  color: #24443a;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lineup-shirt {
  position: relative;
  display: grid;
  width: 56px;
  height: 50px;
  place-items: center;
  clip-path: polygon(18% 0, 34% 0, 40% 12%, 60% 12%, 66% 0, 82% 0, 100% 22%, 84% 38%, 84% 100%, 16% 100%, 16% 38%, 0 22%);
  color: #111827;
  filter: drop-shadow(0 3px 5px rgba(24, 44, 37, 0.32));
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.lineup-player.home .lineup-shirt {
  background: #ffffff;
}

.lineup-player.away .lineup-shirt {
  background: var(--cyan);
}

.pitch-center-circle,
.pitch-center-spot,
.pitch-penalty,
.pitch-goal-area,
.pitch-penalty-spot {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.pitch-center-circle {
  top: 50%;
  left: 50%;
  width: 15.5%;
  aspect-ratio: 1;
  border: 2px solid rgba(172, 191, 184, 0.72);
  transform: translate(-50%, -50%);
}

.pitch-center-spot,
.pitch-penalty-spot {
  width: 6px;
  height: 6px;
  background: rgba(172, 191, 184, 0.84);
}

.pitch-center-spot {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pitch-penalty {
  top: 23%;
  width: 16.5%;
  height: 54%;
  border: 2px solid rgba(172, 191, 184, 0.62);
}

.pitch-penalty--home {
  left: 0;
  border-left: 0;
}

.pitch-penalty--away {
  right: 0;
  border-right: 0;
}

.pitch-goal-area {
  top: 37%;
  width: 5.5%;
  height: 26%;
  border: 2px solid rgba(172, 191, 184, 0.62);
}

.pitch-goal-area--home {
  left: 0;
  border-left: 0;
}

.pitch-goal-area--away {
  right: 0;
  border-right: 0;
}

.pitch-penalty-spot--home {
  top: 50%;
  left: 10.5%;
  transform: translate(-50%, -50%);
}

.pitch-penalty-spot--away {
  top: 50%;
  right: 10.5%;
  transform: translate(50%, -50%);
}

.lineup-bench-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 34px;
}

.lineup-panel {
  border: 1px solid var(--line);
  background: #ffffff;
}

.lineup-panel__head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.lineup-panel__head img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.lineup-panel__head strong {
  overflow: hidden;
  color: #17171d;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.player-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.player-list li:last-child {
  border-bottom: 0;
}

.player-list b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #ffffff;
  background: #17171d;
  font-size: 13px;
}

.player-list span {
  overflow: hidden;
  color: #17171d;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-list em {
  color: #858894;
  font-size: 12px;
  font-style: normal;
  text-align: right;
}

.match-stats {
  display: grid;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.stat-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  gap: 18px;
  align-items: center;
}

.stat-row > strong {
  color: #17171d;
  font-size: 22px;
  text-align: center;
}

.stat-row > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.stat-row span {
  display: block;
  height: 10px;
  background: var(--blue);
}

.stat-row span:first-child {
  justify-self: end;
}

.stat-row span:last-child {
  background: var(--cyan);
}

.stat-row em {
  color: #737783;
  font-size: 13px;
  font-style: normal;
  text-align: center;
}

.match-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 92px;
  width: 1px;
  background: var(--line);
  content: "";
}

.match-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.match-timeline li::before {
  position: absolute;
  top: 19px;
  left: 86px;
  width: 13px;
  height: 13px;
  background: var(--blue);
  content: "";
}

.match-timeline li.away::before {
  background: var(--cyan);
}

.match-timeline time {
  display: grid;
  height: 52px;
  place-items: center;
  color: #17171d;
  background: #f2f3f6;
  font-size: 14px;
}

.match-timeline div {
  min-height: 72px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.match-timeline strong,
.match-timeline span {
  display: block;
}

.match-timeline strong {
  margin-bottom: 8px;
  color: #17171d;
  font-size: 16px;
}

.match-timeline span {
  color: #737783;
  font-size: 14px;
}

.news-page {
  background: #ffffff;
}

.news-page .site-header {
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.news-page .main-nav a,
.news-page .utility-nav a {
  text-shadow: none;
}

.news-list-shell {
  width: var(--content-area-width);
  max-width: var(--content-width);
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 142px 0 0;
}

.news-list-head {
  margin-bottom: 42px;
}

.news-list-head span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 8px;
  color: #1c1d22;
  background: var(--cyan);
  font-size: 12px;
  line-height: 1;
}

.news-list-head h1 {
  margin: 0;
  color: #17171d;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.news-list-section {
  min-height: 920px;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 32px;
}

.news-list-card .news-thumb {
  height: 164px;
}

.news-list-card h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 38px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-list-empty {
  min-height: 420px;
  padding: 42px;
  border: 1px solid var(--line);
  color: #858894;
  background: #f7f8fb;
  font-size: 15px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 64px;
}

.pagination button,
.pagination span {
  display: grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #d9dce5;
  color: #17171d;
  background: #ffffff;
  font-size: 14px;
}

.pagination button {
  cursor: pointer;
}

.pagination button:first-child,
.pagination button:last-child {
  min-width: 82px;
}

.pagination button.is-active {
  border-color: var(--blue);
  color: #ffffff;
  background: var(--blue);
}

.pagination button:disabled {
  color: #b8bbc5;
  background: #f2f3f6;
  cursor: default;
}

.teams-page,
.team-detail-page {
  background: #ffffff;
}

.teams-page .site-header,
.team-detail-page .site-header {
  color: var(--text);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.teams-page .main-nav a,
.teams-page .utility-nav a,
.team-detail-page .main-nav a,
.team-detail-page .utility-nav a {
  text-shadow: none;
}

.teams-shell,
.team-detail-shell {
  width: var(--content-area-width);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 142px 0 0;
}

.teams-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
}

.teams-head span,
.team-detail-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 8px;
  color: #1c1d22;
  background: var(--cyan);
  font-size: 12px;
  line-height: 1;
}

.teams-head h1,
.team-detail-title {
  margin: 0;
  color: #17171d;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.view-switch {
  display: inline-flex;
  border: 1px solid #17171d;
  background: #ffffff;
}

.view-switch button {
  min-width: 112px;
  height: 46px;
  border: 0;
  border-right: 1px solid #17171d;
  color: #17171d;
  background: transparent;
  cursor: pointer;
}

.view-switch button:last-child {
  border-right: 0;
}

.view-switch button.is-active {
  color: #ffffff;
  background: #17171d;
}

.teams-view {
  display: none;
}

.teams-view.is-active {
  display: block;
}

.teams-map-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 680px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.teams-map-tools,
.teams-map-wrap {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.teams-map-tools {
  padding: 30px;
  background: #f7f8fb;
}

.teams-map-tools strong {
  display: block;
  color: #17171d;
  font-size: 24px;
}

.teams-map-tools p {
  margin: 14px 0 28px;
  color: #747783;
  font-size: 14px;
  line-height: 1.65;
}

.teams-map-summary {
  display: grid;
  gap: 10px;
}

.teams-map-summary button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d9dce5;
  color: #252730;
  background: #ffffff;
  cursor: pointer;
}

.teams-map-summary span {
  padding-left: 14px;
  font-size: 14px;
}

.teams-map-summary strong {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  background: var(--blue);
  font-size: 16px;
}

.teams-map-wrap {
  position: relative;
  min-height: 680px;
  background:
    linear-gradient(90deg, rgba(0, 115, 246, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 115, 246, 0.08) 1px, transparent 1px),
    #ffffff;
  background-size: 44px 44px;
}

.china-map {
  width: 100%;
  height: 680px;
}

.china-map[hidden],
.map-fallback[hidden] {
  display: none;
}

.map-fallback {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 42px;
}

.map-province-chip {
  min-height: 116px;
  padding: 22px;
  border: 1px solid var(--line);
  color: #17171d;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
}

.map-province-chip strong,
.map-province-chip span {
  display: block;
}

.map-province-chip strong {
  margin-bottom: 16px;
  font-size: 26px;
}

.map-province-chip span {
  color: #747783;
  font-size: 14px;
}

.team-filters {
  display: grid;
  grid-template-columns: 220px 220px minmax(280px, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}

.team-filters label {
  display: grid;
  gap: 10px;
  color: #747783;
  font-size: 12px;
}

.team-filters select,
.team-filters input {
  width: 100%;
  height: 48px;
  border: 1px solid #d9dce5;
  color: #17171d;
  background: #ffffff;
  padding: 0 14px;
  outline: none;
}

.team-filters select:focus,
.team-filters input:focus {
  border-color: var(--blue);
}

.team-list-head {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  color: #17171d;
}

.team-list-head strong {
  font-size: 18px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.team-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--line);
  color: #17171d;
  background: #ffffff;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}

.team-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.team-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.team-card strong,
.team-card span {
  display: block;
}

.team-card strong {
  margin: 4px 0 10px;
  overflow: hidden;
  font-size: 20px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-card span {
  color: #747783;
  font-size: 13px;
}

.team-card dl {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 0;
}

.team-card dl div {
  min-height: 52px;
  padding: 10px 12px;
  background: #f7f8fb;
}

.team-card dt {
  color: #858894;
  font-size: 12px;
}

.team-card dd {
  margin: 5px 0 0;
  color: #17171d;
  font-size: 20px;
}

.team-detail-hero {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  min-height: 360px;
  padding: 54px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(0, 115, 246, 0.88), rgba(0, 255, 229, 0.32)),
    #17171d;
}

.team-detail-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
}

.team-detail-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.02;
}

.team-detail-hero p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.team-detail-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}

.team-detail-panel div {
  min-height: 112px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-detail-panel span {
  display: block;
  margin-bottom: 12px;
  color: #858894;
  font-size: 12px;
}

.team-detail-panel strong {
  color: #17171d;
  font-size: 20px;
}

.team-tabs {
  display: flex;
  margin-top: 64px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.team-tabs button {
  min-width: 124px;
  height: 54px;
  border: 0;
  border-bottom: 4px solid transparent;
  color: #737783;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}

.team-tabs button.is-active {
  border-color: var(--blue);
  color: #17171d;
}

.team-module {
  display: none;
  padding: 42px 0 0;
}

.team-module.is-active {
  display: block;
}

.team-module__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.team-module__head h2 {
  margin: 0;
  color: #17171d;
  font-size: 28px;
}

.team-module__head span {
  color: #858894;
  font-size: 13px;
}

.team-squad-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #ffffff;
}

.team-squad-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.team-squad-table th,
.team-squad-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  color: #4d505b;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
}

.team-squad-table th {
  color: #858894;
  background: #f7f8fb;
  font-weight: 400;
}

.team-squad-table tr:last-child td {
  border-bottom: 0;
}

.team-squad-table b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: #17171d;
  font-size: 13px;
}

.team-squad-table strong {
  color: #17171d;
  font-size: 15px;
}

.team-match-filters {
  display: grid;
  grid-template-columns: 240px 180px;
  gap: 18px;
  margin-bottom: 28px;
}

.team-match-filters label {
  display: grid;
  gap: 10px;
  color: #747783;
  font-size: 12px;
}

.team-match-filters select {
  width: 100%;
  height: 48px;
  border: 1px solid #d9dce5;
  color: #17171d;
  background: #ffffff;
  padding: 0 14px;
  outline: none;
}

.team-match-filters select:focus {
  border-color: var(--blue);
}

.team-match-list {
  display: grid;
  gap: 18px;
}

.team-match-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border: 1px solid var(--line);
  color: #17171d;
  background: #ffffff;
}

.team-match-card__meta {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  background: #f7f8fb;
}

.team-match-card__meta span {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  color: #1c1d22;
  background: var(--lime);
  font-size: 11px;
  line-height: 1;
}

.team-match-card__meta time,
.team-match-card__foot {
  color: #747783;
  font-size: 13px;
}

.team-match-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 24px 28px 14px;
}

.team-match-side {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.team-match-side:last-child {
  grid-template-columns: minmax(0, 1fr) 42px;
  text-align: right;
}

.team-match-side:last-child img {
  order: 2;
}

.team-match-side img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.team-match-side strong {
  overflow: hidden;
  color: #17171d;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-match-score {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.team-match-score span {
  color: #858894;
  font-size: 12px;
}

.team-match-score strong {
  color: #17171d;
  font-size: 24px;
}

.team-match-card__foot {
  grid-column: 2;
  padding: 0 28px 22px;
}

.team-detail-empty {
  margin-top: 54px;
  min-height: 220px;
  padding: 42px;
  border: 1px solid var(--line);
  color: #858894;
  background: #f7f8fb;
  font-size: 15px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 48px 1fr;
    gap: 18px;
    height: auto;
    padding: 18px 24px;
  }

  .main-nav {
    justify-content: space-between;
    gap: 12px;
  }

  .utility-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .hero-content {
    width: 100%;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .article-shell {
    padding-top: 170px;
  }

  .news-list-shell {
    padding-top: 170px;
  }

  .event-meta-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .match-detail-shell {
    padding-top: 170px;
  }

  .match-scoreboard__teams {
    grid-template-columns: minmax(0, 1fr);
  }

  .match-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lineup-matchup,
  .lineup-bench-grid {
    grid-template-columns: 1fr;
  }

  .lineup-team-bar--away {
    justify-content: flex-start;
    text-align: left;
  }

  .event-highlight-grid,
  .event-match-list,
  .event-news-grid,
  .event-team-grid,
  .event-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teams-shell,
  .team-detail-shell {
    padding-top: 170px;
  }

  .teams-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .teams-map-layout {
    grid-template-columns: 1fr;
  }

  .teams-map-tools,
  .teams-map-wrap {
    min-height: auto;
  }

  .china-map {
    height: 560px;
  }

  .team-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-filters label:last-child {
    grid-column: 1 / -1;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-detail-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-match-card {
    grid-template-columns: 1fr;
  }

  .team-match-card__foot {
    grid-column: auto;
  }

  .match-row,
  .competition-row,
  .related-row {
    gap: 32px;
  }

  .match-card,
  .competition-card,
  .related-card {
    flex-basis: calc((100% - 32px) / 2);
  }
}

@media (max-width: 640px) {
  .main-nav a,
  .utility-nav a {
    font-size: 13px;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .hero {
    height: 735px;
    min-height: 735px;
    padding: 0 24px 56px;
  }

  .hero-content h1 {
    font-size: 31px;
  }

  .match-row,
  .competition-row,
  .related-row {
    gap: 18px;
  }

  .match-card,
  .competition-card,
  .related-card {
    flex-basis: 100%;
  }

  .section {
    padding-top: 72px;
  }

  .article-shell {
    padding-top: 150px;
  }

  .news-list-shell {
    padding-top: 150px;
  }

  .event-shell {
    padding-top: 120px;
  }

  .event-hero,
  .event-hero__inner {
    min-height: 460px;
  }

  .event-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 32px 24px;
  }

  .event-logo {
    width: 86px;
    height: 86px;
  }

  .event-meta-panel {
    grid-template-columns: 1fr;
  }

  .match-detail-shell {
    padding-top: 150px;
  }

  .match-scoreboard__meta,
  .match-scoreboard__teams {
    padding-right: 24px;
    padding-left: 24px;
  }

  .match-scoreboard__meta {
    display: grid;
    justify-content: stretch;
  }

  .match-info-grid {
    grid-template-columns: 1fr;
  }

  .match-team-block img {
    width: 96px;
    height: 96px;
  }

  .match-score-core b {
    font-size: 70px;
  }

  .lineup-pitch {
    min-height: 480px;
  }

  .match-module__head {
    display: block;
  }

  .stat-row {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 10px;
  }

  .stat-row > div {
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    gap: 8px;
  }

  .event-highlight-grid,
  .event-match-list,
  .event-news-grid,
  .event-team-grid,
  .event-stats-grid {
    grid-template-columns: 1fr;
  }

  .image-preview {
    padding: 24px;
  }

  .event-match-filters {
    grid-template-columns: 1fr;
  }

  .teams-shell,
  .team-detail-shell {
    padding-top: 150px;
  }

  .view-switch {
    width: 100%;
  }

  .view-switch button {
    flex: 1;
    min-width: 0;
  }

  .teams-map-tools {
    padding: 24px;
  }

  .china-map {
    height: 460px;
  }

  .map-fallback,
  .team-filters,
  .team-grid,
  .news-list-grid {
    grid-template-columns: 1fr;
  }

  .map-fallback {
    padding: 24px;
  }

  .team-filters label:last-child {
    grid-column: auto;
  }

  .team-detail-hero {
    grid-template-columns: 1fr;
    min-height: 420px;
    padding: 32px 24px;
  }

  .team-detail-logo {
    width: 112px;
    height: 112px;
  }

  .team-detail-panel {
    grid-template-columns: 1fr;
  }

  .team-module__head {
    display: block;
  }

  .team-match-filters {
    grid-template-columns: 1fr;
  }

  .team-match-card__body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-match-side,
  .team-match-side:last-child {
    grid-template-columns: 42px minmax(0, 1fr);
    text-align: left;
  }

  .team-match-side:last-child img {
    order: 0;
  }

  .event-module__head {
    display: block;
  }

  .article-subtitle,
  .article-body {
    font-size: 16px;
  }

  .article-cover img {
    height: 360px;
  }

  .article-body blockquote {
    padding-left: 20px;
    font-size: 21px;
  }

  .headline-card,
  .headline-card img {
    min-height: 360px;
    height: 360px;
  }

  .headline-overlay {
    padding: 0 24px 30px;
  }

  .side-news {
    grid-template-columns: 1fr;
  }
}
