.wc2026-page {
  background: transparent;
  min-height: auto;
}

.wc2026-page--schedule-only {
  padding-top: 0;
}

.wc2026-page--schedule-only .wc2026-schedule-panel {
  margin-top: 0;
}

.wc2026-hero {
  background: linear-gradient(135deg, #0b3d2e 0%, #1a6b4a 45%, #c9a227 100%);
  color: #fff;
  padding: 1.25rem 1rem 1.1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
}

.wc2026-hero-inner {
  max-width: 100%;
}

.wc2026-hero h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.wc2026-hero .wc2026-meta {
  opacity: 0.92;
  font-size: 0.95rem;
  margin: 0;
}

.wc2026-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.78rem;
  margin-right: 0.4rem;
}

.wc2026-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid #e8e8e8;
}

.wc2026-card--compact .wc2026-card-header {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
}

.wc2026-card-header {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
}

.wc2026-card-body {
  padding: 0;
}

.wc2026-outlook-empty,
.wc2026-outlook-inner {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
}

.wc2026-outlook-table {
  font-size: 0.82rem;
  margin: 0;
}

.wc2026-outlook-table .p-bar {
  height: 5px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 2px;
}

.wc2026-outlook-table .p-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1a6b4a, #c9a227);
}

/* 赛程主面板 */
.wc2026-schedule-panel {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  overflow: visible;
}

/* 小组 Tab */
.wc2026-tabs-wrap {
  border-bottom: 1px solid #e8e8e8;
  background: #fafafa;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px 14px 0 0;
}

.wc2026-tabs {
  display: flex;
  flex-wrap: nowrap;
  padding: 0.5rem 0.75rem 0;
  gap: 0.35rem;
  min-width: min-content;
}

.wc2026-tab {
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: #333;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.wc2026-tab:hover {
  background: #eee;
}

.wc2026-tab--active {
  background: #8b2332;
  color: #fff;
}

.wc2026-tab--active:hover {
  background: #7a1f2c;
  color: #fff;
}

/* 日期 × 小组 矩阵赛程 */
.wc2026-grid-scroll {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  border-radius: 0 0 14px 14px;
  background: #fff;
}

table.wc2026-grid {
  display: table !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  font-size: 0.82rem;
  margin: 0 !important;
}

table.wc2026-grid--groups {
  width: max-content;
  min-width: 100%;
}

table.wc2026-grid thead {
  display: table-header-group !important;
}

table.wc2026-grid tbody {
  display: table-row-group !important;
}

table.wc2026-grid tr {
  display: table-row !important;
}

table.wc2026-grid th,
table.wc2026-grid td {
  display: table-cell !important;
  box-sizing: border-box;
  border: 1px solid #e8e8e8;
  vertical-align: top;
}

.wc2026-grid-date-head {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 76px;
  min-width: 76px;
  max-width: 76px;
  text-align: center;
  background: #f7f7f7;
  padding: 0.65rem 0.35rem;
  font-weight: 600;
  vertical-align: top;
  border-right: 2px solid #ddd !important;
  box-shadow: 2px 0 0 #eee;
}

.wc2026-grid-date-head--corner {
  z-index: 4;
  top: 0;
  position: sticky;
  left: 0;
}

.wc2026-grid-date-head .wc2026-grid-date {
  display: block;
  color: #222;
  font-size: 0.85rem;
  line-height: 1.3;
  white-space: nowrap;
}

.wc2026-grid-date-head .wc2026-grid-weekday {
  display: block;
  color: #888;
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: 0.15rem;
  white-space: nowrap;
}

.wc2026-grid-group-head {
  width: 132px;
  min-width: 132px;
  max-width: 132px;
  text-align: center;
  background: #fafafa;
  padding: 0.55rem 0.35rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: #333;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 2px solid #ddd;
}

.wc2026-grid-group-cell {
  width: 132px;
  min-width: 132px;
  max-width: 132px;
  padding: 0.35rem;
  background: #fff;
  vertical-align: top;
}

.wc2026-grid-group-cell:empty,
.wc2026-grid-group-cell--empty {
  background: #fafafa;
}

/* 单场卡片 */
.wc2026-match-card {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  color: #222;
  padding: 0.45rem 0.4rem 0.5rem;
  margin-bottom: 0.35rem;
  border-radius: 6px;
  background: #fafafa;
  border: 1px solid #ececec;
  transition: background 0.12s, border-color 0.12s;
}

.wc2026-match-card:last-child {
  margin-bottom: 0;
}

.wc2026-match-card:hover,
.wc2026-match-card:focus {
  background: #f0f7f4;
  border-color: #c5e1d4;
  text-decoration: none;
  color: #222;
}

.wc2026-match-card--hidden {
  display: none !important;
}

.wc2026-match-group {
  font-size: 0.72rem;
  color: #888;
  margin-bottom: 0.25rem;
  white-space: nowrap;
}

.wc2026-match-team {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1.35;
  margin-bottom: 0.12rem;
  min-width: 0;
}

.wc2026-match-flag {
  width: 18px;
  height: 13px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 1px;
}

.wc2026-match-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8rem;
  color: #222;
}

.wc2026-match-score {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 0.85rem;
  color: #111;
  min-width: 1.1rem;
  text-align: right;
}

.wc2026-match-status {
  font-size: 0.7rem;
  color: #666;
  margin-top: 0.2rem;
  white-space: nowrap;
}

.wc2026-match-status--finished {
  color: #2e7d32;
}

.wc2026-match-status--live {
  color: #c62828;
  font-weight: 600;
}

.wc2026-match-status--scheduled {
  color: #1565c0;
}

.wc2026-match-venue {
  font-size: 0.68rem;
  color: #aaa;
  margin-top: 0.15rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc2026-empty {
  padding: 2rem;
  text-align: center;
  color: #666;
}

@media (max-width: 767.98px) {
  .wc2026-grid-group-head,
  .wc2026-grid-group-cell {
    width: 118px;
    min-width: 118px;
    max-width: 118px;
  }

  .wc2026-grid-date-head {
    width: 68px;
    min-width: 68px;
    max-width: 68px;
  }

  #mainContent.wc2026-main,
  #mainContent:has(.wc2026-mobile) {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #mainContent .wc2026-page-title,
  #mainContent .wc2026-breadcrumb {
    display: none !important;
  }

  #mainContent .wc2026-schedule-panel {
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: #f5f5f5;
  }

  #mainContent .wc2026-page.wc2026-page--schedule-only {
    margin: 0;
  }
}

/* ========== 移动端卡片赛程（设计图） ========== */
.wc2026-mobile {
  background: #f5f5f5;
  min-height: 60vh;
}

.wc2026-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 10px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 50px;
  z-index: 20;
}

.wc2026-mobile-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
}

.wc2026-mobile-head-actions {
  display: flex;
  gap: 4px;
}

.wc2026-icon-btn {
  border: none;
  background: transparent;
  color: #444;
  padding: 6px;
  border-radius: 8px;
  line-height: 0;
  cursor: pointer;
}

.wc2026-icon-btn:active {
  background: #f0f0f0;
}

.wc2026-mobile-search {
  padding: 0 14px 10px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.wc2026-mobile-search-input {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.9rem;
  outline: none;
}

.wc2026-mobile-search-input:focus {
  border-color: #8b2332;
}

.wc2026-mobile-filters {
  background: #fff;
  padding: 10px 0 12px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 98px;
  z-index: 19;
}

.wc2026-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 14px;
}

.wc2026-pills::-webkit-scrollbar {
  display: none;
}

.wc2026-pills--dates {
  margin-bottom: 10px;
}

.wc2026-pills-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
}

.wc2026-pills--groups {
  flex: 1;
  min-width: 0;
  padding: 0;
}

.wc2026-pill {
  flex: 0 0 auto;
  border: none;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.wc2026-pill--date {
  background: #f0f0f0;
  color: #333;
}

.wc2026-pill--date.wc2026-pill--active {
  background: #8b2332;
  color: #fff;
}

.wc2026-pill--group {
  background: #f5f5f5;
  color: #555;
}

.wc2026-pill--group.wc2026-pill--active {
  background: #fce8ec;
  color: #8b2332;
  font-weight: 600;
}

.wc2026-pills-menu {
  flex: 0 0 auto;
  border: none;
  background: #f5f5f5;
  color: #555;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wc2026-mobile-list {
  padding: 8px 12px 24px;
  box-sizing: border-box;
}

.wc2026-day-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0 8px;
}

.wc2026-day-section {
  margin-bottom: 4px;
}

.wc2026-day-section--hidden {
  display: none !important;
}

.wc2026-day-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
}

.wc2026-day-title em {
  font-style: normal;
  font-weight: 500;
  color: #8b2332;
  margin-left: 6px;
  font-size: 0.85rem;
}

.wc2026-day-count {
  font-size: 0.78rem;
  color: #999;
}

.wc2026-mcard {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ececec;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 12px 14px;
  margin-bottom: 10px;
  text-decoration: none;
  color: inherit;
}

.wc2026-mcard--hidden {
  display: none !important;
}

.wc2026-mcard:active {
  background: #fafafa;
}

.wc2026-mcard-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: #888;
}

.wc2026-mcard-time {
  font-weight: 600;
  color: #333;
  min-width: 38px;
}

.wc2026-mcard-meta {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc2026-mcard-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.wc2026-mcard-live {
  background: #8b2332;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.wc2026-mcard-bell {
  color: #bbb;
  line-height: 0;
}

.wc2026-mcard-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.wc2026-mcard-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.wc2026-mcard-side--away {
  text-align: center;
}

.wc2026-mcard-flag {
  width: 36px;
  height: 26px;
  object-fit: contain;
}

.wc2026-mcard-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #222;
  text-align: center;
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wc2026-mcard-center {
  text-align: center;
  min-width: 64px;
}

.wc2026-mcard-score {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.02em;
}

.wc2026-mcard-minute {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #c62828;
  margin-top: 2px;
}

.wc2026-mcard-odds {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.wc2026-mcard-odds span {
  background: #f5f5f5;
  border-radius: 8px;
  text-align: center;
  padding: 6px 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
}

/* 预测页标题下介绍文案 */
.wc2026-page-intro {
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid #eee;
  color: #666;
  font-size: 0.78rem;
  line-height: 1.55;
}

.wc2026-page-intro p {
  margin: 0 0 0.55rem;
}

.wc2026-page-intro p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .wc2026-page-intro {
    margin: 0;
    padding: 10px 14px 12px;
    background: #fff;
    border-bottom: 1px solid #eee;
    font-size: 0.75rem;
  }
}
