:root {
  --wc-font:
    "Barlow",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.wch-page,
.wch-page * {
  font-family: var(--wc-font) !important;
}

.wch-time-box strong,
.wch-stat strong,
.wch-match-time,
.wch-match-vs,
.wch-vs,
.wch-countdown strong {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.wch-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    background: #101716;
    color: #fff;
    font-family: Arial, sans-serif;
}

.wch-hero,
.wch-card {
    background: #18211f;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.wch-hero {
    padding: 28px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.wch-hero-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wch-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    background: #fff;
    border-radius: 18px;
    padding: 10px;
}

.wch-kicker {
    color: #23d96b;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 8px;
}

.wch-hero h1,
.wch-card h2 {
    margin: 0;
    color: #fff;
}

.wch-hero p {
    color: rgba(255,255,255,.72);
    max-width: 620px;
    margin: 10px 0 0;
}

.wch-hero-meta {
    display: grid;
    gap: 12px;
    min-width: 230px;
}

.wch-hero-meta div,
.wch-stat {
    background: #222c2a;
    border-radius: 14px;
    padding: 14px;
}

.wch-hero-meta span,
.wch-stat span,
.wch-mini-team span,
.wch-section-head span {
    display: block;
    color: rgba(255,255,255,.55);
    font-size: 12px;
    margin-bottom: 6px;
}

.wch-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
}

.wch-main,
.wch-sidebar {
    display: grid;
    gap: 22px;
}

.wch-card {
    padding: 22px;
}

.wch-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-bottom: 14px;
}

.wch-match {
    display: grid;
    grid-template-columns: 1fr 160px 1fr;
    align-items: center;
    gap: 18px;
    background: linear-gradient(90deg, #202a28, #2a332f, #202a28);
    border-radius: 16px;
    padding: 22px;
}

.wch-team {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wch-team:last-child {
    justify-content: flex-end;
}

.wch-team img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 50%;
    padding: 6px;
}

.wch-vs {
    text-align: center;
}

.wch-vs span {
    display: block;
    color: #23d96b;
    font-weight: 700;
    font-size: 24px;
}

.wch-vs strong {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.72);
}

.wch-match-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.wch-match-info span {
    background: #222c2a;
    color: rgba(255,255,255,.72);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
}

.wch-teams {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.wch-team-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #222c2a;
    border-radius: 14px;
    padding: 14px;
}

.wch-team-card img,
.wch-mini-team img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;
    padding: 5px;
}

.wch-team-card span {
    display: block;
    color: rgba(255,255,255,.58);
    font-size: 12px;
    margin-top: 4px;
}

.wch-stat {
    margin-top: 12px;
}

.wch-mini-team {
    margin-top: 18px;
}

.wch-mini-team div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wch-content p {
    color: rgba(255,255,255,.72);
    line-height: 1.8;
}

.wch-error {
    padding: 30px;
    background: #241b1b;
    border-radius: 16px;
    color: #ffb4b4;
}

@media (max-width: 900px) {
    .wch-hero,
    .wch-hero-left {
        display: block;
    }

    .wch-logo {
        margin-bottom: 16px;
    }

    .wch-grid {
        grid-template-columns: 1fr;
    }

    .wch-match {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .wch-team,
    .wch-team:last-child {
        justify-content: center;
    }

    .wch-teams {
        grid-template-columns: 1fr;
    }
}

.wch-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

.wch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 22px;
  align-items: start;
}

.wch-main,
.wch-sidebar {
  min-width: 0;
}

.wch-card {
  min-width: 0;
  box-sizing: border-box;
}

.wch-match,
.wch-teams,
.wch-team-card {
  min-width: 0;
}


/* ===== COUNTDOWN TOP BAR FIX ===== */

.wch-countdown {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 22px 0;
  padding: 22px 28px;
  border-radius: 0;
  background: linear-gradient(90deg, #2948ff 0%, #2544f4 100%);
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  overflow: hidden;
}

.wch-countdown-left {
  display: flex !important;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1 1 auto;
}

.wch-countdown-left img {
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  object-fit: contain;
  flex: 0 0 58px;
  border-radius: 12px;
  padding: 7px;
  box-sizing: border-box;
}

.wch-countdown-left h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
}

.wch-countdown-left p {
  margin: 7px 0 0;
  color: rgba(255,255,255,.9);
  font-size: 14px;
}

.wch-countdown-right {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex: 0 0 auto;
}

.wch-time-box {
  min-width: 42px;
  text-align: center;
}

.wch-time-box strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
}

.wch-time-box span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: rgba(255,255,255,.9);
}

.wch-countdown-btn {
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: #000;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}


/* ===== TABLET ===== */

@media (max-width: 1000px) {
  .wch-grid {
    grid-template-columns: 1fr;
  }

  .wch-sidebar {
    width: 100%;
  }

  .wch-countdown {
    padding: 20px;
  }

  .wch-countdown-left h2 {
    font-size: 22px;
  }

  .wch-time-box strong {
    font-size: 26px;
  }
}


/* ===== MOBILE ===== */

@media (max-width: 700px) {
  .wch-page {
    padding: 12px;
  }

  .wch-countdown {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 14px;
  }

  .wch-countdown-left {
    width: 100%;
  }

  .wch-countdown-left h2 {
    white-space: normal;
    font-size: 21px;
  }

  .wch-countdown-right {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }

  .wch-time-box {
    flex: 1;
    min-width: 60px;
  }

  .wch-countdown-btn {
    width: 100%;
    margin-top: 8px;
  }

  .wch-hero {
    flex-direction: column;
  }

  .wch-match {
    grid-template-columns: 1fr;
  }

  .wch-team,
  .wch-team:last-child {
    justify-content: center;
  }

  .wch-teams {
    grid-template-columns: 1fr;
  }
}

/* ===== TOP NAV CARDS ===== */

.wch-nav-tabs {
  width: 100%;
  margin: 0 0 22px 0;
  padding: 22px 24px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;

  background: #151c1b;
  border: 1px solid rgba(0, 230, 95, .18);
  border-radius: 0;

  box-shadow:
    0 0 0 1px rgba(0, 230, 95, .04),
    0 14px 35px rgba(0, 0, 0, .38);
}

.wch-nav-item {
  min-width: 0;
  height: 76px;
  padding: 14px 16px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  gap: 14px;

  background: linear-gradient(180deg, #202827, #1a2221);
  border: 1px solid rgba(255, 255, 255, .04);
  border-radius: 10px;

  color: #fff !important;
  text-decoration: none !important;

  transition: .22s ease;
}

.wch-nav-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 230, 95, .35);
  background: linear-gradient(180deg, #24302d, #1b2523);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.wch-nav-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0,230,95,.10);
  overflow: hidden;
}

.wch-nav-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.wch-nav-item strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
}

.wch-nav-item span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .48);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}


/* ===== RESPONSIVE NAV ===== */

@media (max-width: 1100px) {
  .wch-nav-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .wch-nav-tabs {
    grid-template-columns: repeat(2, 1fr);
    padding: 14px;
    gap: 10px;
    border-radius: 14px;
  }

  .wch-nav-item {
    height: auto;
    min-height: 68px;
    padding: 12px;
    gap: 10px;
  }

  .wch-nav-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 18px;
  }

  .wch-nav-item strong {
    font-size: 13px;
  }

  .wch-nav-item span {
    font-size: 11px;
  }
}

/* ===== FIX MOBILE NAV TEXT ===== */

.wch-nav-item {
  min-width: 0;
  overflow: hidden;
}

.wch-nav-item > div:last-child {
  min-width: 0;
  flex: 1;
}

.wch-nav-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: break-word;
}

.wch-nav-item span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255,255,255,.55);
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: break-word;
}


/* phone */

@media(max-width:700px){
  .wch-nav-tabs{
    gap:12px;
  }

  .wch-nav-item{
    height:auto;
    min-height:78px;
    align-items:flex-start;
    padding:12px;
  }

  .wch-nav-icon{
    width:34px;
    height:34px;
    flex:0 0 34px;
    font-size:16px;
  }

  .wch-nav-item strong{
    font-size:13px;
  }

  .wch-nav-item span{
    font-size:10px;
  }

}

/* ===== WORLD CUP SCHEDULE ===== */

.wch-schedule-card {
  margin-top: 22px;
}

.wch-stage-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.wch-stage-btn {
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.12);
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
}

.wch-stage-btn.active {
  background: #20d760;
  color: #062111;
  border-radius: 5px;
}

.wch-schedule-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 180px;
  gap: 14px;
  margin-bottom: 16px;
}

.wch-schedule-filters select,
.wch-schedule-filters input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: #1b2423;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.wch-schedule-filters select:focus,
.wch-schedule-filters input:focus {
  border-color: rgba(32,215,96,.65);
}

.wch-round-title {
  height: 48px;
  padding: 0 18px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #2a302f;
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.wch-date-title {
  margin: 20px 0 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.wch-schedule-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: 125px 70px 1fr 56px 1fr 180px;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background:
    radial-gradient(circle at center, rgba(255, 190, 95, .14), transparent 26%),
    linear-gradient(90deg, #202831, #1d2423);
  border-left: 1px solid rgba(255,255,255,.08);
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.wch-schedule-row:first-of-type {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.wch-schedule-row:last-of-type {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.wch-match-round,
.wch-match-time,
.wch-match-venue {
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 700;
}

.wch-match-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wch-match-team span {
  min-width: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wch-home {
  justify-content: flex-end;
}

.wch-away {
  justify-content: flex-start;
}

.wch-match-team img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
  flex: 0 0 34px;
}

.wch-match-vs {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, #0b4cff, #05256b);
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  font-size: 12px;
  font-weight: 700;
}

.wch-match-venue {
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== MOBILE ===== */

@media (max-width: 900px) {
  .wch-schedule-filters {
    grid-template-columns: 1fr 1fr;
  }

  .wch-schedule-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
    text-align: center;
  }

  .wch-home,
  .wch-away {
    justify-content: center;
  }

  .wch-match-venue {
    text-align: center;
  }

  .wch-stage-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .wch-stage-btn {
    flex: 0 0 auto;
  }
}

@media (max-width: 560px) {
  .wch-schedule-filters {
    grid-template-columns: 1fr;
  }
}

/* ===== RIGHT STANDINGS ===== */

.wch-standing-card {
  margin-bottom: 18px;
}

.wch-standing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.wch-standing-head h2 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}

.wch-standing-head select {
  width: 112px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: #1b2423;
  color: #fff;
  font-weight: 600;
  outline: none;
}

.wch-standing-table {
  display: none;
}

.wch-standing-table.active {
  display: block;
}

.wch-standing-title {
  margin-bottom: 10px;
  color: #20d760;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.wch-standing-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 42px 38px 42px;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  gap: 8px;
  background: #202928;
  color: #fff;
  font-size: 13px;
}

.wch-standing-row:not(.wch-standing-row-head) {
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.wch-standing-row:not(.wch-standing-row-head):first-of-type {
  border-radius: 8px 8px 0 0;
}

.wch-standing-row:not(.wch-standing-row-head):last-of-type {
  border-radius: 0 0 8px 8px;
  border-bottom: 0;
}

.wch-standing-row-head {
  background: transparent;
  color: rgba(255,255,255,.72);
  font-weight: 800;
  min-height: 34px;
}

.wch-standing-pos {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2f3a39;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
}

.wch-standing-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.wch-standing-team img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  flex: 0 0 24px;
}

.wch-standing-team b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wch-standing-legend {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: #202928;
}

.wch-standing-legend div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.wch-standing-legend div + div {
  margin-top: 8px;
}

.wch-standing-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 8px;
}

.wch-standing-more {
  margin-top: 14px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #20d760 !important;
  text-decoration: none !important;
  font-weight: 900;
  font-size: 13px;
}

/* ===== PAGE WIDTH 1330PX ===== */

.wch-page {
  max-width: 1330px !important;
  width: 100%;
  margin: 0 auto;
}

.wch-nav-tabs,
.wch-countdown,
.wch-hero,
.wch-grid {
  max-width: 1330px;
  margin-left: auto;
  margin-right: auto;
}

/* 右侧栏可以稍微宽一点 */
.wch-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

/* 赛程区域更舒服 */
.wch-schedule-row {
  grid-template-columns: 135px 75px 1fr 56px 1fr 210px;
}

/* 桌面端卡片内边距稍微放大 */
@media (min-width: 1001px) {
  .wch-card {
    padding: 26px;
  }

  .wch-schedule-filters {
    grid-template-columns: 1fr 1fr 1fr 200px;
  }
}

.entry-content,
.site-main,
.content-area {
  max-width: none !important;
}

/* ===== MEET THE TEAMS ===== */

.wch-meet-teams-card {
  margin-top: 22px;
}

.wch-team-group-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.wch-team-group-btn {
  min-width: 46px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #202928;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.wch-team-group-btn.active {
  background: #20d760;
  color: #071d10;
}

.wch-team-group-panel {
  display: none;
}

.wch-team-group-panel.active {
  display: block;
}

.wch-meet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wch-meet-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(0, 230, 95, .18), rgba(0,0,0,.15)),
    #15201e;
  border: 1px solid rgba(255,255,255,.06);
}

.wch-meet-card:nth-child(2n) {
  background:
    linear-gradient(135deg, rgba(0, 80, 255, .2), rgba(0,0,0,.15)),
    #15201e;
}

.wch-meet-card:nth-child(3n) {
  background:
    linear-gradient(135deg, rgba(255, 30, 30, .18), rgba(0,0,0,.15)),
    #15201e;
}

.wch-meet-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(255,255,255,.14), transparent 26%),
    linear-gradient(180deg, transparent, rgba(0,0,0,.45));
}

.wch-meet-content {
  position: relative;
  z-index: 2;
  min-height: 150px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.wch-meet-content h3 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 900;
}

.wch-meet-content p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 700;
}

.wch-meet-logo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 62px;
}

.wch-meet-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

/* mobile */
@media (max-width: 700px) {
  .wch-meet-grid {
    grid-template-columns: 1fr;
  }

  .wch-meet-content h3 {
    font-size: 22px;
  }
}

/* =========================================
   WORLD CUP FIXTURES PAGE
========================================= */

.wch-fixtures-page .wch-schedule-card {

  padding: 34px;

  border-radius: 22px;

  background:
    radial-gradient(circle at top left,
      rgba(0,255,120,.06),
      transparent 28%),
    #121917;

  border: 1px solid rgba(255,255,255,.06);
}

/* ===== HEADER ===== */

.wch-fixtures-page .wch-section-head {

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 22px;
}

.wch-fixtures-page .wch-section-head h2 {

  margin: 0;

  color: #fff;

  font-size: 48px;

  line-height: 1.1;

  font-weight: 600;
}

.wch-fixtures-page .wch-section-head span {

  color: rgba(255,255,255,.55);

  font-size: 15px;

  font-weight: 500;
}

/* ===== STAGE TABS ===== */

.wch-fixtures-page .wch-stage-tabs {

  display: flex;
  flex-wrap: wrap;

  gap: 12px;

  margin-bottom: 28px;
}

.wch-fixtures-page .wch-stage-btn {

  height: 48px;

  padding: 0 22px;

  border: 0;

  border-radius: 12px;

  background: #1c2623;

  color: rgba(255,255,255,.78);

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;

  transition: .2s ease;
}

.wch-fixtures-page .wch-stage-btn:hover {

  background: #25312d;
}

.wch-fixtures-page .wch-stage-btn.active {

  background: #20d760;

  color: #07140d;
}

/* ===== DATE ===== */

.wch-fixtures-page .wch-date-title {

  margin: 34px 0 14px;

  color: #fff;

  font-size: 18px;

  font-weight: 600;
}

/* ===== MATCH ROW ===== */

.wch-fixtures-page .wch-schedule-row {

  display: grid;

  grid-template-columns:
    90px
    minmax(260px,1fr)
    80px
    minmax(260px,1fr)
    250px;

  align-items: center;

  gap: 18px;

  min-height: 92px;

  padding: 0 26px;

  margin-bottom: 1px;

  border-radius: 0;

  background:
    radial-gradient(circle at center,
      rgba(255,255,255,.10),
      transparent 24%),
    linear-gradient(90deg,
      rgba(50,70,110,.35),
      rgba(30,35,40,.35));

  border: 1px solid rgba(255,255,255,.05);
}

/* ===== TIME ===== */

.wch-fixtures-page .wch-match-time {

  color: #fff;

  font-size: 20px;

  font-weight: 500;
}

/* ===== TEAMS ===== */

.wch-fixtures-page .wch-match-team {

  display: flex;

  align-items: center;

  gap: 16px;
}

.wch-fixtures-page .wch-home {

  justify-content: flex-end;
}

.wch-fixtures-page .wch-away {

  justify-content: flex-start;
}

.wch-fixtures-page .wch-match-team span {

  color: #fff;

  font-size: 22px;

  line-height: 1.2;

  font-weight: 500;

  white-space: normal !important;

  overflow: visible !important;

  text-overflow: unset !important;

  max-width: unset !important;
}

.wch-fixtures-page .wch-match-team img {

  width: 46px;

  height: 46px;

  object-fit: contain;

  flex: 0 0 46px;
}

/* ===== VS ===== */

.wch-fixtures-page .wch-match-vs {

  display: flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;

  margin: 0 auto;

  border-radius: 50%;

  background:
    radial-gradient(circle at top,
      #2868ff,
      #0039b4);

  color: #fff;

  font-size: 16px;

  font-weight: 900;

  box-shadow:
    0 0 20px rgba(0,80,255,.4);
}

/* ===== VENUE ===== */

.wch-fixtures-page .wch-match-venue {

  color: rgba(255,255,255,.78);

  font-size: 15px;

  font-weight: 700;

  text-align: right;
}

/* ===== MOBILE ===== */

@media (max-width: 1100px) {

  .wch-fixtures-page .wch-schedule-row {

    grid-template-columns: 1fr;

    gap: 14px;

    text-align: center;

    padding: 24px;
  }

  .wch-fixtures-page .wch-home,
  .wch-fixtures-page .wch-away {

    justify-content: center;
  }

  .wch-fixtures-page .wch-match-venue {

    text-align: center;
  }

  .wch-fixtures-page .wch-section-head h2 {

    font-size: 34px;
  }

  .wch-fixtures-page .wch-match-team span {

    font-size: 20px;
  }
}

.wch-fixtures-page .wch-schedule-row {
  grid-template-columns: 150px 80px minmax(240px, 1fr) 70px minmax(240px, 1fr) 240px !important;
}

.wch-fixtures-page .wch-match-round {
  color: rgba(255,255,255,.82);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.wch-match-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.wch-score {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #fff;

  font-size: 28px;
  font-weight: 900;
}

.wch-score small {
  opacity: .5;
  font-size: 16px;
}

.wch-status {

  min-width: 58px;
  height: 24px;

  padding: 0 10px;

  border-radius: 999px;

  background: #ff2b55;

  color: #fff;

  font-size: 11px;
  font-weight: 900;

  display: flex;
  align-items: center;
  justify-content: center;

  letter-spacing: .08em;
}

.wch-score {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.wch-score small {
  opacity: .55;
  font-size: 18px;
}

.wch-status {
  margin-top: 4px;
  min-width: 54px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wch-status.is-live {
  background: #ff2759;
}

.wch-status.is-finished {
  background: #3d4745;
}

.wch-schedule-row.is-live {
  border-color: rgba(255, 39, 89, .35) !important;
}

.wch-schedule-row.is-finished {
  opacity: .86;
}

/* ===== RESULTS PAGE ===== */

.wch-results-page {
  max-width: 1330px !important;
}

.wch-results-card {
  padding: 34px;
  border-radius: 22px;
}

.wch-result-row {
  display: grid;
  grid-template-columns: 150px 80px minmax(240px, 1fr) 110px minmax(240px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 88px;
  padding: 0 26px;
  margin-bottom: 1px;
  background: linear-gradient(90deg, rgba(50,70,110,.35), rgba(30,35,40,.35));
  border: 1px solid rgba(255,255,255,.05);
}

.wch-result-score {
  text-align: center;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.wch-result-score small {
  opacity: .55;
  padding: 0 8px;
}

.wch-result-score b {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255,255,255,.65);
}

.wch-empty-state {
  padding: 48px 24px;
  text-align: center;
  background: #1b2423;
  border-radius: 16px;
}

.wch-empty-state strong {
  display: block;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.wch-empty-state p {
  max-width: 560px;
  margin: 12px auto 20px;
  color: rgba(255,255,255,.68);
}

.wch-empty-state a {
  display: inline-flex;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: #20d760;
  color: #07140d !important;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-decoration: none !important;
}

@media (max-width: 900px) {
  .wch-result-row {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px;
  }

  .wch-result-row .wch-home,
  .wch-result-row .wch-away {
    justify-content: center;
  }
}

/* ===== STANDINGS PAGE ===== */

.wch-standings-page {
  max-width: 1330px !important;
}

.wch-standings-main-card {
  padding: 34px;
  border-radius: 22px;
}

.wch-standings-group-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 22px;
}

.wch-standings-tab {
  min-width: 86px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #202928;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.wch-standings-tab.active {
  background: #20d760;
  color: #07140d;
}

.wch-standings-panel {
  display: none;
}

.wch-standings-panel.active {
  display: block;
}

.wch-standings-panel h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.wch-full-table {
  overflow-x: auto;
}

.wch-full-table-head,
.wch-full-table-row {
  display: grid;
  grid-template-columns: 48px minmax(220px, 1fr) repeat(8, 70px);
  align-items: center;
  gap: 10px;
  min-width: 900px;
}

.wch-full-table-head {
  height: 44px;
  padding: 0 16px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  font-weight: 900;
}

.wch-full-table-row {
  min-height: 62px;
  padding: 0 16px;
  background: #202928;
  border-bottom: 1px solid rgba(255,255,255,.05);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.wch-full-table-row:first-of-type {
  border-radius: 12px 12px 0 0;
}

.wch-full-table-row:last-of-type {
  border-radius: 0 0 12px 12px;
  border-bottom: 0;
}

.wch-full-pos {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #3a4543;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.wch-full-team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wch-full-team img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.wch-full-team b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wch-full-points {
  color: #20d760;
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 700px) {
  .wch-standings-main-card {
    padding: 20px;
  }

  .wch-standings-main-card .wch-section-head h2 {
    font-size: 24px;
  }
}

/* ===== BRACKET PAGE ===== */

.wch-bracket-page {
  max-width: 1330px !important;
}

.wch-bracket-card {
  padding: 34px;
  border-radius: 22px;
}

.wch-bracket-scroll {
  overflow-x: auto;
  padding-bottom: 18px;
}

.wch-bracket-board {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  min-width: 1180px;
}

.wch-bracket-column {
  width: 260px;
  flex: 0 0 260px;
}

.wch-bracket-round-title {
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #20d760;
  color: #07140d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.wch-bracket-match {
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 14px;
  background: #202928;
  border: 1px solid rgba(255,255,255,.06);
}

.wch-bracket-time {
  margin-bottom: 10px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 600;
}

.wch-bracket-team {
  min-height: 38px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.wch-bracket-team + .wch-bracket-team {
  margin-top: 8px;
}

.wch-bracket-team img,
.wch-bracket-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

.wch-bracket-placeholder {
  display: block;
  background: rgba(255,255,255,.16);
}

.wch-bracket-team b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}

.wch-bracket-team strong {
  color: #20d760;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

@media (max-width: 700px) {
  .wch-bracket-card {
    padding: 20px;
  }

  .wch-bracket-board {
    min-width: 1000px;
  }

  .wch-bracket-column {
    width: 230px;
    flex-basis: 230px;
  }
}

.wch-bracket-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 14px;
}

.wch-bracket-tool-btn,
.wch-bracket-select {
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: #202928;
  color: #fff;
  font-weight: 700;
}

.wch-bracket-tool-btn {
  width: 42px;
  cursor: pointer;
  font-size: 24px;
}

.wch-bracket-select {
  padding: 0 14px;
  outline: none;
}

.wch-bracket-column {
  position: relative;
  border-radius: 18px;
  transition: .25s ease;
  padding: 10px;
}

.wch-bracket-column.active {
  background:
    radial-gradient(circle at top, rgba(32,215,96,.16), transparent 60%),
    rgba(32,215,96,.05);

  box-shadow:
    inset 0 0 0 1px rgba(32,215,96,.28),
    0 0 30px rgba(32,215,96,.12);
}

.wch-bracket-column {
  box-sizing: border-box;
}

.wch-bracket-scroll {
  scroll-padding-left: 24px;
}

.wch-news-single-page {
  max-width: 960px !important;
}

.wch-news-article {
  padding: 38px;
}

.wch-news-meta {
  color: #20d760;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.wch-news-article h1 {
  margin: 14px 0;
  color: #fff;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 900;
}

.wch-news-description {
  color: rgba(255,255,255,.7);
  font-size: 18px;
  line-height: 1.65;
}

.wch-news-content {
  margin-top: 28px;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.8;
}

.wch-news-content h2 {
  margin: 30px 0 12px;
  color: #fff;
  font-size: 28px;
}

.wch-news-content ul {
  padding-left: 22px;
}

.wch-news-mini-table {
  display: grid;
  gap: 8px;
}

.wch-news-mini-table div {
  display: grid;
  grid-template-columns: 42px 1fr 90px;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  background: #202928;
  color: #fff;
}

.wch-news-mini-table b {
  color: #20d760;
  text-align: right;
}

.wch-team-groups {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 0 14px;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}

.wch-team-group-btn {
  flex: 0 0 auto;
  width: 58px !important;
  height: 28px !important;
  min-width: 58px !important;
  padding: 0 !important;
  margin: 0 !important;

  border: 0 !important;
  border-radius: 16px !important;
  background: #202928 !important;

  color: #fff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  cursor: pointer;
  white-space: normal;
}

.wch-team-group-btn:hover {
  background: rgba(31, 220, 90, .25) !important;
}

.wch-team-group-btn.active,
.wch-team-group-btn.is-active {
  background: #15dc5b !important;
  color: #07100b !important;
}

/* ===== FINAL MOBILE FIX ===== */
@media (max-width: 700px) {
  .wch-page {
    padding: 10px !important;
    overflow-x: hidden !important;
  }

  .wch-card,
  .wch-results-card,
  .wch-standings-main-card,
  .wch-bracket-card,
  .wch-fixtures-page .wch-schedule-card {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .wch-hero {
    padding: 18px !important;
    display: block !important;
  }

  .wch-hero-left {
    display: block !important;
    text-align: center !important;
  }

  .wch-logo {
    width: 68px !important;
    height: 68px !important;
    margin: 0 auto 14px !important;
  }

  .wch-hero h1,
  .wch-section-head h2,
  .wch-fixtures-page .wch-section-head h2 {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }

  .wch-grid {
    display: block !important;
  }

  .wch-main,
  .wch-sidebar {
    display: grid !important;
    gap: 16px !important;
  }

  .wch-nav-tabs {
    grid-template-columns: 1fr 1fr !important;
    padding: 12px !important;
    gap: 10px !important;
  }

  .wch-nav-item {
    min-height: 70px !important;
    padding: 10px !important;
  }

  .wch-countdown {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .wch-countdown-left img {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
  }

  .wch-countdown-left h2 {
    font-size: 18px !important;
  }

  .wch-time-box strong {
    font-size: 22px !important;
  }

  .wch-match {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
    gap: 14px !important;
  }

  .wch-team,
  .wch-team:last-child {
    justify-content: center !important;
    text-align: center !important;
  }

  .wch-team img {
    width: 44px !important;
    height: 44px !important;
  }

  .wch-vs span {
    font-size: 20px !important;
  }

  .wch-teams,
  .wch-meet-grid {
    grid-template-columns: 1fr !important;
  }

  .wch-schedule-filters {
    grid-template-columns: 1fr !important;
  }

  .wch-schedule-row,
  .wch-fixtures-page .wch-schedule-row,
  .wch-result-row {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 16px !important;
    gap: 10px !important;
    text-align: center !important;
    border-radius: 14px !important;
    margin-bottom: 10px !important;
  }

  .wch-fixtures-page .wch-match-round,
  .wch-match-time,
  .wch-match-venue {
    text-align: center !important;
    white-space: normal !important;
  }

  .wch-match-team,
  .wch-home,
  .wch-away,
  .wch-fixtures-page .wch-home,
  .wch-fixtures-page .wch-away {
    justify-content: center !important;
  }

  .wch-match-team span,
  .wch-fixtures-page .wch-match-team span {
    font-size: 16px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .wch-match-team img,
  .wch-fixtures-page .wch-match-team img {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
  }

  .wch-match-vs,
  .wch-fixtures-page .wch-match-vs {
    width: 42px !important;
    height: 42px !important;
    font-size: 13px !important;
  }

  .wch-score,
  .wch-result-score {
    font-size: 24px !important;
  }

  .wch-standing-head {
    display: block !important;
  }

  .wch-standing-head h2 {
    font-size: 22px !important;
    margin-bottom: 12px !important;
  }

  .wch-standing-head select {
    width: 100% !important;
  }

  .wch-news-article {
    padding: 20px !important;
  }

  .wch-news-article h1 {
    font-size: 28px !important;
  }

  .wch-news-description {
    font-size: 15px !important;
  }

  .wch-news-content {
    font-size: 15px !important;
  }
}

@media (max-width:700px){

  .wch-match{
    display:grid !important;
    grid-template-columns: minmax(0,1fr) 48px minmax(0,1fr) !important;
    grid-template-areas:
      "date date date"
      "home vs away" !important;
    align-items:center !important;
    gap:22px 8px !important;
    padding:28px 18px !important;
  }

  .wch-vs{
    grid-area:date !important;
    text-align:center !important;
  }

  .wch-vs strong{
    display:block !important;
    margin:0 !important;
    font-size:14px !important;
    color:rgba(255,255,255,.72) !important;
  }

  .wch-vs span{
    display:none !important;
  }

  .wch-match .wch-team:first-child{
    grid-area:home !important;
    justify-content:flex-start !important;
    text-align:left !important;
  }

  .wch-match .wch-team:last-child{
    grid-area:away !important;
    justify-content:flex-end !important;
    text-align:right !important;
  }

  .wch-match::after{
    content:"VS";
    grid-area:vs !important;
    text-align:center !important;
    color:#20d760;
    font-size:20px;
    font-weight:900;
  }

  .wch-match .wch-team{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    min-width:0 !important;
  }

  .wch-match .wch-team:first-child strong,
  .wch-match .wch-team:last-child strong{
    font-size:14px !important;
    line-height:1.2 !important;
  }

  .wch-match .wch-team img{
    width:30px !important;
    height:30px !important;
    flex:0 0 30px !important;
  }
}

@media (max-width:700px){

  /* 主队整体往 VS 靠近 */
  .wch-match .wch-team:first-child{
    justify-content:flex-end !important;
    padding-right:4px !important;
  }

  /* 主队 logo 再靠近 VS 一点 */
  .wch-match .wch-team:first-child img{
    margin-left:8px !important;
  }

  /* 客队也稍微靠近 VS */
  .wch-match .wch-team:last-child{
    justify-content:flex-start !important;
    padding-left:4px !important;
  }
}

@media (max-width:700px){

  .wch-match-schedule-new{
    padding:4px !important;
  }

  .wch-match-schedule-new .wch-home,
  .wch-match-schedule-new .wch-away,
  .wch-match-schedule-new .wch-match-vs{
    position:static !important;
    transform:none !important;
  }

  .wch-match-schedule-new{
    display:grid !important;
    grid-template-columns:1fr 50px 1fr !important;
    grid-template-areas:
      "round round round"
      "time time time"
      "home vs away"
      "venue venue venue" !important;
    align-items:center !important;
    gap:12px 8px !important;
  }

  .wch-match-schedule-new .wch-match-round{
    grid-area:round !important;
    text-align:center !important;
  }

  .wch-match-schedule-new .wch-match-time{
    grid-area:time !important;
    text-align:center !important;
  }

  .wch-match-schedule-new .wch-home{
    grid-area:home !important;
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
    gap:6px !important;
    text-align:right !important;
  }

  .wch-match-schedule-new .wch-match-vs{
    grid-area:vs !important;
    justify-self:center !important;
  }

  .wch-match-schedule-new .wch-away{
    grid-area:away !important;
    display:flex !important;
    justify-content:flex-start !important;
    align-items:center !important;
    gap:6px !important;
    text-align:left !important;
  }

  .wch-match-schedule-new .wch-match-venue{
    grid-area:venue !important;
    text-align:center !important;
  }

  .wch-match-schedule-new .wch-match-team img{
    width:28px !important;
    height:28px !important;
    flex:0 0 28px !important;
  }

  .wch-match-schedule-new .wch-match-team span{
    font-size:14px !important;
    line-height:1.15 !important;
  }
  
  .wch-match-schedule-new .wch-match-team span{
    max-width:50px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    display:block !important;
  }
}

/* ===== DESKTOP SCHEDULE ROW CLEAN DESIGN ===== */

@media (min-width:701px){

  .wch-schedule-row{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
    display:grid !important;
    grid-template-columns: 145px 70px minmax(0,1fr) 170px !important;
    align-items:center !important;
    gap:14px !important;
    min-height:76px !important;
    padding:0 18px !important;
    overflow:hidden !important;
  }

  .wch-match-schedule-new{
    min-width:0 !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr) !important;
    align-items:center !important;
    gap:10px !important;
  }

  .wch-match-schedule-new .wch-home{
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
    gap:8px !important;
    min-width:0 !important;
    text-align:right !important;
  }

  .wch-match-schedule-new .wch-away{
    display:flex !important;
    justify-content:flex-start !important;
    align-items:center !important;
    gap:8px !important;
    min-width:0 !important;
  }

  .wch-match-schedule-new .wch-match-team span{
    min-width:0 !important;
    max-width:95px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  .wch-match-schedule-new .wch-match-team img{
    width:32px !important;
    height:32px !important;
    flex:0 0 32px !important;
  }

  .wch-match-schedule-new .wch-match-vs{
    justify-self:center !important;
    width:44px !important;
    height:44px !important;
  }

  .wch-match-venue{
    min-width:0 !important;
    text-align:right !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
}