/* theme_010 — dark portal skin for imported wc-* odds widgets */

body.theme-010:has(.t3-odds-layout) {
  overflow-x: hidden;
}

.t3-odds-layout {
  padding-bottom: 56px;
  max-width: 100%;
  overflow-x: hidden;
}

.t3-odds-layout .t3-rules-main {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.t3-odds-main .t3-rules-h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.t3-odds-disclaimer {
  margin-bottom: 20px;
  line-height: 1.6;
}

.t3-odds-content {
  color: var(--t3-text-mid);
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.t3-odds-content .wc-odds-row,
.t3-odds-content .wc-odds-col,
.t3-odds-content .wc-all-groups-grid,
.t3-odds-content .wc-all-groups-item {
  max-width: 100%;
  min-width: 0;
}

/* Kill scraped light-theme text leaking through */
.t3-odds-content,
.t3-odds-content * {
  -webkit-text-size-adjust: 100%;
}

.t3-odds-content [style*="color:#555"],
.t3-odds-content [style*="color: #555"],
.t3-odds-content [style*="color:#666"],
.t3-odds-content [style*="color: #666"],
.t3-odds-content [style*="color:#888"],
.t3-odds-content [style*="color: #888"] {
  color: var(--t3-text-mid) !important;
}

.t3-odds-content .wc-odds-status--yes {
  color: #6ee7a0 !important;
  font-size: 14px;
  font-weight: 600;
}

.t3-odds-content .wc-odds-status--no {
  color: #f0a0a0 !important;
  font-size: 14px;
  font-weight: 600;
}

/* Hide duplicate in-page TOC — sidebar nav covers this */
.t3-odds-content .wc-odds-toc,
.t3-odds-content .wc-odds-toc-sentinel {
  display: none !important;
}

.t3-odds-content .wp-block-separator {
  border: none;
  border-top: 1px solid var(--t3-line-soft);
  margin: 32px 0;
}

.t3-odds-content .wp-block-heading,
.t3-odds-content h2.wc-odds-section-title {
  font-family: var(--t3-serif);
  color: var(--t3-text) !important;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--t3-gold);
}

.t3-odds-content .has-text-align-center {
  text-align: center;
  color: var(--t3-text-dim);
  font-size: 0.92rem;
}

/* Winner + goalscorer tables, polls — always two columns on desktop */
.t3-odds-content .wc-odds-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
  align-items: start;
}

.t3-odds-content .wc-odds-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (max-width: 720px) {
  .t3-odds-content .wc-odds-row {
    grid-template-columns: 1fr;
  }
}

.t3-odds-content .wc-odds-row .wc-odds-table-wrapper,
.t3-odds-content .wc-odds-row .wc-poll-wrapper {
  margin-bottom: 0;
  height: 100%;
}

.t3-odds-content .wc-odds-row .wc-odds-table {
  min-width: 0;
  font-size: 12px;
}

.t3-odds-content .wc-odds-row .wc-odds-table th,
.t3-odds-content .wc-odds-row .wc-odds-table td {
  padding: 8px 6px;
  font-size: 12px;
}

.t3-odds-content .wc-odds-row .wc-odds-team-flag {
  width: 36px !important;
  height: 24px !important;
}

.t3-odds-content .wc-odds-row .wc-odds-player-img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.t3-odds-content .wc-odds-row .wc-odds-player {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.t3-odds-content .wc-odds-row .wc-odds-player-info {
  min-width: 0;
}

.t3-odds-content .wc-odds-row .wc-odds-player-team {
  display: block;
  font-size: 11px;
  color: var(--t3-text-dim);
}

.t3-odds-content .wc-odds-table-wrapper,
.t3-odds-content .wc-match-odds-wrapper,
.t3-odds-content .wc-group-odds-section,
.t3-odds-content .wc-standings-wrapper,
.t3-odds-content .wc-poll-wrapper,
.t3-odds-content .wc-goalscorer-poll-wrapper {
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  padding: clamp(12px, 2vw, 20px);
  margin-bottom: 16px;
  box-shadow: var(--t3-shadow);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.t3-odds-content .wc-odds-table-wrapper:not(#winner-odds):not(#goalscorer-odds),
.t3-odds-content .wc-group-odds-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 夺冠 / 金靴：禁止横向滚动，内容收进模块宽度内 */
.t3-odds-content #winner-odds.wc-odds-table-wrapper,
.t3-odds-content #goalscorer-odds.wc-odds-table-wrapper {
  overflow: hidden !important;
  overflow-x: hidden !important;
}

.t3-odds-content .wc-match-odds-wrapper {
  padding: clamp(10px, 1.5vw, 16px);
}

.t3-odds-content .wc-all-groups-grid {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 16px;
  margin: 16px 0;
  min-width: 0;
}

@media (min-width: 1180px) {
  .t3-odds-content .wc-all-groups-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

.t3-odds-content .wc-all-groups-item {
  min-width: 0;
}

#winner-odds,
#goalscorer-odds,
#match-odds,
#group-odds {
  scroll-margin-top: 12px;
  scroll-margin-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

/* Tables — fit container; wide match table scrolls inside .wc-match-odds-scroll */
.t3-odds-content .wc-odds-table,
.t3-odds-content .wc-group-odds-table,
.t3-odds-content .wc-standings-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: var(--t3-radius-sm);
  table-layout: fixed;
}

.t3-odds-content .wc-odds-row .wc-odds-table,
.t3-odds-content .wc-group-odds-table {
  table-layout: fixed;
}

.t3-odds-content .wc-match-odds-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: transparent !important;
  table-layout: auto;
}

/* Drop duplicate / low-value columns on all viewports */
#winner-odds .wc-odds-table th:nth-child(3),
#winner-odds .wc-odds-table td:nth-child(3),
#goalscorer-odds .wc-odds-table th:nth-child(4),
#goalscorer-odds .wc-odds-table td:nth-child(4),
.t3-odds-content .wc-match-odds-table th:nth-child(6),
.t3-odds-content .wc-match-odds-table td:nth-child(6),
.t3-odds-content .wc-match-odds-table th:nth-child(7),
.t3-odds-content .wc-match-odds-table td:nth-child(7) {
  display: none;
}

.t3-odds-content .wc-group-odds-table th:last-child,
.t3-odds-content .wc-group-odds-table td:last-child {
  display: none;
}

/* Neutralize scraped inline widths that blow out tables */
.t3-odds-content .wc-match-odds-table th[style],
.t3-odds-content .wc-match-odds-table td[style] {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}

.t3-odds-content .wc-odds-table thead,
.t3-odds-content .wc-match-odds-table thead {
  background: linear-gradient(135deg, var(--t3-bg-soft) 0%, var(--t3-bg-elev) 100%) !important;
  color: var(--t3-text) !important;
}

.t3-odds-content .wc-odds-table th,
.t3-odds-content .wc-match-odds-table th,
.t3-odds-content .wc-standings-table th {
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--t3-line);
  white-space: normal;
  color: var(--t3-text) !important;
  line-height: 1.3;
}

.t3-odds-content .wc-odds-table td,
.t3-odds-content .wc-match-odds-table td,
.t3-odds-content .wc-standings-table td {
  padding: 10px 6px;
  color: var(--t3-text-mid);
  font-size: 14px;
  line-height: 1.45;
  vertical-align: middle;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.t3-odds-content .wc-odds-team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: nowrap;
  max-width: 100%;
}

.t3-odds-content .wc-odds-team-flag {
  width: 40px !important;
  height: 27px !important;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 3px;
}

.t3-odds-content .wc-odds-team-info {
  min-width: 0;
  flex: 1;
}

.t3-odds-content .wc-odds-rank {
  color: var(--t3-gold);
  font-weight: 700;
  flex-shrink: 0;
  min-width: 1.2em;
}

.t3-odds-content .wc-odds-team-name,
.t3-odds-content .wc-odds-player-name,
.t3-odds-content .wc-match-team-name {
  color: var(--t3-text) !important;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.35;
  word-break: break-word;
}

.t3-odds-content .wc-odds-value,
.t3-odds-content .wc-match-odds-value {
  color: var(--t3-gold-2) !important;
  font-weight: 700;
  font-size: 15px;
}

.t3-odds-content .wc-odds-value.secondary {
  color: var(--t3-text-mid) !important;
  font-size: 14px !important;
}

.t3-odds-content .wc-odds-value.favorite {
  color: var(--t3-gold) !important;
}

.t3-odds-content .wc-odds-pill {
  font-size: 12px !important;
  min-width: 22px;
  padding: 3px 7px !important;
  color: #fff !important;
  flex-shrink: 0;
}

.t3-odds-content .wc-odds-pill.wc-pill-mini {
  font-size: 11px !important;
  min-width: 20px;
}

.t3-odds-content .wc-group-odds-title,
.t3-odds-content .wc-standings-title {
  color: var(--t3-text) !important;
  font-size: 1rem !important;
  margin: 0 0 12px !important;
  text-align: left !important;
  line-height: 1.4;
  word-break: break-word;
}

.t3-odds-content .wc-match-odds-tbd {
  color: var(--t3-text-dim);
  font-size: 12px;
}

.t3-odds-content .wc-match-vs {
  color: var(--t3-gold) !important;
  font-size: 12px !important;
  flex-shrink: 0;
  background: transparent !important;
}

.t3-odds-content .wc-match-teams {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  background: transparent !important;
  padding: 0 !important;
  max-width: 100%;
}

.t3-odds-content .wc-match-teams-cell {
  background: transparent !important;
  min-width: 0;
  max-width: 240px;
  text-align: left !important;
}

.t3-odds-content .wc-match-team-block {
  min-width: 0;
  flex: 1 1 56px;
  max-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.t3-odds-content .wc-match-flag {
  width: 28px !important;
  height: 20px !important;
}

.t3-odds-content .wc-match-date {
  font-size: 12px !important;
  line-height: 1.35;
  white-space: nowrap;
}

.t3-odds-content .wc-match-date div:first-child {
  color: var(--t3-text) !important;
}

.t3-odds-content .wc-match-date div:last-child {
  color: var(--t3-crimson) !important;
}

.t3-odds-content .wc-match-stage {
  color: var(--t3-text-dim);
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
  word-break: break-word;
}

.t3-odds-content .wc-standings-table {
  background: transparent !important;
}

.t3-odds-content .wc-standings-table thead {
  background: linear-gradient(135deg, var(--t3-bg-soft) 0%, var(--t3-bg-elev) 100%) !important;
  color: var(--t3-text) !important;
}

/* Finished matches toggle — override imported light gray bars */
.t3-odds-content .wc-finished-master-cell,
.t3-odds-content .wc-finished-toggle-cell,
.t3-odds-content .wc-finished-master-row td,
.t3-odds-content .wc-finished-toggle-row td {
  background: linear-gradient(135deg, var(--t3-bg-soft) 0%, var(--t3-bg-elev) 100%) !important;
  color: var(--t3-text) !important;
  border-bottom: 1px solid var(--t3-line) !important;
  cursor: pointer;
  user-select: none;
}

.t3-odds-content .wc-finished-master-row:hover td,
.t3-odds-content .wc-finished-toggle-row:hover td {
  background: var(--t3-bg-elev) !important;
  color: var(--t3-gold) !important;
}

.t3-odds-content .wc-finished-master-icon,
.t3-odds-content .wc-finished-toggle-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 18px !important;
  height: 18px !important;
  line-height: 1 !important;
  margin-right: 8px;
  background: rgba(224, 183, 90, 0.18) !important;
  color: var(--t3-gold) !important;
  border-radius: 4px;
  font-size: 13px !important;
  font-weight: 700;
  vertical-align: middle;
}

.t3-odds-content .wc-finished-master-row.is-open .wc-finished-master-cell,
.t3-odds-content .wc-finished-toggle-row.is-open td {
  background: var(--t3-bg-elev) !important;
  color: var(--t3-gold) !important;
  border-color: var(--t3-gold) !important;
}

.t3-odds-content .wc-match-odds-table tr.wc-match-row-finished {
  background: var(--t3-bg-soft) !important;
}

.t3-odds-content .wc-match-odds-table tr.wc-match-row-finished:hover {
  background: var(--t3-bg-elev) !important;
}

.t3-odds-content .wc-match-odds-table tr.wc-match-row-finished .wc-match-team-name {
  color: var(--t3-text-mid) !important;
}

.t3-odds-content .wc-match-odds-table tr.wc-match-row-finished .wc-match-vs {
  color: var(--t3-gold) !important;
  background: rgba(224, 183, 90, 0.14) !important;
}

.t3-odds-content .wc-match-finished {
  color: var(--t3-text-dim) !important;
}

.t3-odds-content .wc-match-odds-table tr.wc-match-row-finished .wc-match-finished-badge {
  background: rgba(255, 255, 255, 0.12) !important;
  color: var(--t3-text-mid) !important;
}

/* ── Neutralize all imported light-gray / white surfaces ── */
.t3-odds-content .wc-match-odds,
.t3-odds-content .wc-match-secondary,
.t3-odds-content .wc-match-spreads-row,
.t3-odds-content .wc-match-secondary-row,
.t3-odds-content .wc-match-secondary-row td,
.t3-odds-content .wc-goalscorer-wrapper,
.t3-odds-content .wc-match-odds-table td,
.t3-odds-content .wc-odds-table td,
.t3-odds-content .wc-group-odds-table td,
.t3-odds-content .wc-goalscorer-table td {
  background: transparent !important;
  border-bottom-color: var(--t3-line-soft) !important;
  color: var(--t3-text-mid);
}

.t3-odds-content .wc-match-odds-table tr.wc-match-row-live {
  background: rgba(210, 58, 58, 0.1) !important;
}

.t3-odds-content .wc-match-odds-table tr.wc-match-row-live:hover {
  background: rgba(210, 58, 58, 0.16) !important;
}

.t3-odds-content .wc-match-odds-table tr.wc-match-row-live td {
  background: transparent !important;
}

.t3-odds-content .wc-poll-result-item {
  background: var(--t3-bg-soft) !important;
  border: 1px solid var(--t3-line-soft);
}

.t3-odds-content .wc-poll-result-item.user-voted {
  background: rgba(224, 183, 90, 0.1) !important;
  border-color: var(--t3-gold) !important;
}

.t3-odds-content .wc-poll-change-btn,
.t3-odds-content .wc-poll-loading {
  background: var(--t3-bg-elev) !important;
  border-color: var(--t3-line) !important;
  color: var(--t3-text-mid) !important;
}

.t3-odds-content .wc-poll-user-vote {
  color: var(--t3-text-dim) !important;
}

.t3-odds-content .wc-match-carousel-wrapper {
  background: var(--t3-bg-card) !important;
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  padding: 10px 28px 24px !important;
  max-width: 100%;
  overflow: hidden;
}

.t3-odds-content .wc-match-card {
  background: var(--t3-bg-soft) !important;
  border: 1px solid var(--t3-line) !important;
  color: var(--t3-text) !important;
}

.t3-odds-content .wc-match-card.is-today {
  border-color: var(--t3-gold) !important;
  box-shadow: 0 0 0 1px rgba(224, 183, 90, 0.25);
}

.t3-odds-content .wc-match-card.is-live {
  border-color: var(--t3-crimson) !important;
}

.t3-odds-content .wc-match-card.is-finished {
  opacity: 0.85;
}

.t3-odds-content .wc-match-card .wc-match-date,
.t3-odds-content .wc-match-card .wc-match-team-name,
.t3-odds-content .wc-match-card .wc-team-score {
  color: var(--t3-text) !important;
}

.t3-odds-content .wc-match-footer {
  border-top-color: var(--t3-line) !important;
  color: var(--t3-text-dim) !important;
}

.t3-odds-content .wc-match-group {
  color: var(--t3-crimson) !important;
}

.t3-odds-content .wc-match-spreads-label,
.t3-odds-content .wc-match-spread-value {
  color: var(--t3-text-dim) !important;
}

.t3-odds-content .wc-odds-team-flag-placeholder {
  background: var(--t3-bg-elev) !important;
}

.t3-odds-content .wc-goalscorer-poll-img-placeholder {
  background: var(--t3-bg-elev) !important;
}

/* Show more */
.t3-odds-content .wc-odds-show-more {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 16px;
  background: var(--t3-bg-soft) !important;
  border: 1px solid var(--t3-line) !important;
  border-top: 1px solid var(--t3-line) !important;
  border-radius: var(--t3-radius-sm);
  color: var(--t3-gold) !important;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.t3-odds-content .wc-odds-show-more:hover {
  background: var(--t3-bg-elev) !important;
  border-color: var(--t3-gold) !important;
}

.t3-odds-content .wc-odds-show-more.expanded {
  color: var(--t3-text-dim);
}

.t3-odds-content .wc-match-odds-table tbody tr.hidden-row.show {
  display: table-row;
}

.t3-odds-content .wc-match-odds-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin: 0;
  padding: 0 0 4px;
  scrollbar-color: var(--t3-line) transparent;
  border-radius: var(--t3-radius-sm);
  box-shadow: none !important;
}

.t3-odds-content .wc-match-odds-scroll::after {
  content: "← 表格可左右滑动 →";
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--t3-text-dim);
  padding: 8px 0 2px;
  letter-spacing: 0.02em;
}

@media (min-width: 901px) {
  .t3-odds-content .wc-match-odds-scroll::after {
    content: "← 赛程表较宽，可左右滑动查看 →";
  }
}

.t3-odds-content .wc-standings-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {
  body.theme-010:has(.t3-odds-layout) {
    overflow-x: hidden;
  }

  .t3-odds-hero .t3-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .t3-odds-hero {
    padding: 40px 0 28px;
  }

  .t3-odds-hero .t3-hero-title {
    font-size: clamp(22px, 6.5vw, 32px);
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .t3-odds-hero .t3-hero-accent {
    display: block;
    margin-top: 6px;
    font-size: 0.72em;
    font-weight: 500;
    line-height: 1.35;
  }

  .t3-odds-hero .t3-hero-lead {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 0;
  }

  .t3-odds-hero .t3-pillars--odds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }

  .t3-odds-hero .t3-pillar {
    padding: 10px 8px;
  }

  .t3-odds-hero .t3-pillar-k {
    font-size: 1rem;
  }

  .t3-odds-hero .t3-pillar-v {
    font-size: 10px;
    line-height: 1.3;
  }

  .t3-breadcrumb--hero {
    margin-bottom: 10px;
    font-size: 11px;
    flex-wrap: wrap;
  }

  .t3-odds-mobile-jump {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    margin: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: rgba(10, 15, 31, 0.96);
    border-top: 1px solid var(--t3-line);
    backdrop-filter: saturate(140%) blur(12px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  }

  .t3-odds-mobile-jump-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 48px;
    padding: 4px 2px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--t3-text-mid) !important;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    line-height: 1.15;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  }

  .t3-odds-mobile-jump-label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .t3-odds-mobile-jump-link.is-active {
    color: var(--t3-gold) !important;
    background: rgba(224, 183, 90, 0.12);
    box-shadow: inset 0 2px 0 var(--t3-gold);
  }

  .t3-odds-mobile-jump-link:active {
    color: var(--t3-gold) !important;
    background: rgba(224, 183, 90, 0.08);
  }

  .t3-odds-main .t3-rules-header {
    display: none;
  }

  .t3-odds-main .t3-tags--rules {
    display: none;
  }

  .t3-odds-layout .t3-rules-main {
    order: 1;
    padding: 12px 12px 0;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .t3-odds-content {
    padding: 0;
    overflow-x: hidden;
    max-width: 100%;
  }

  /* ── Mobile module cards: one bordered box per section ── */
  .t3-odds-content .wc-odds-col {
    background: var(--t3-bg-card);
    border: 1px solid var(--t3-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--t3-shadow);
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .t3-odds-content .wc-odds-col > .wc-odds-table-wrapper,
  .t3-odds-content .wc-odds-col > .wc-poll-wrapper,
  .t3-odds-content .wc-odds-col > .wc-goalscorer-poll-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    padding: 12px !important;
    overflow: hidden !important;
    max-width: 100%;
  }

  .t3-odds-content .wc-odds-col .wc-odds-section-title {
    margin-top: 0;
    margin-bottom: 10px;
    padding-bottom: 8px;
    font-size: 1rem;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  /* 赛程：标题 + 表格合成一个框 */
  .t3-odds-content #match-odds.wc-odds-section-title {
    background: var(--t3-bg-card);
    border: 1px solid var(--t3-line);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    margin: 14px 0 0;
    padding: 12px 12px 8px;
    box-shadow: var(--t3-shadow);
    max-width: 100%;
    box-sizing: border-box;
  }

  .t3-odds-content #match-odds.wc-odds-section-title + .wc-match-odds-wrapper {
    border-radius: 0 0 12px 12px;
    border-top: none;
    margin-top: 0;
    margin-bottom: 12px;
    overflow: hidden !important;
    padding: 0 12px 12px !important;
    box-shadow: var(--t3-shadow);
  }

  /* 小组出线：整块一个框 */
  .t3-odds-content #group-odds {
    background: var(--t3-bg-card);
    border: 1px solid var(--t3-line);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--t3-shadow);
    max-width: 100%;
    box-sizing: border-box;
  }

  .t3-odds-content #group-odds > .wc-odds-section-title {
    margin-top: 0;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .t3-odds-content #group-odds .wc-all-groups-grid {
    margin: 0;
    gap: 8px !important;
  }

  .t3-odds-content #group-odds .wc-all-groups-item {
    max-width: 100%;
    overflow: hidden;
  }

  .t3-odds-content .wc-odds-section-title {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .t3-odds-content .wc-odds-updated {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 11px;
    line-height: 1.45;
    padding: 0 2px;
  }

  .t3-odds-content .wc-match-carousel-wrapper {
    padding: 10px 8px 22px !important;
    margin: 0 0 12px;
    max-width: 100%;
    overflow: hidden !important;
    box-sizing: border-box;
  }

  .t3-odds-content .wc-carousel-prev,
  .t3-odds-content .wc-carousel-next {
    display: none;
  }

  .t3-odds-content .swiper-slide {
    max-width: 100%;
  }

  .t3-odds-content .wc-match-card {
    max-width: 100%;
    box-sizing: border-box;
  }

  .t3-odds-internal {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .t3-odds-internal-row {
    max-width: 100%;
  }

  .t3-odds-layout .t3-rules-aside {
    display: none;
  }

  .t3-odds-layout {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  body.theme-010:has(.t3-odds-mobile-jump) .t3-footer {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  .t3-odds-disclaimer {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .t3-odds-content .wc-odds-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 12px 0 !important;
  }

  .t3-odds-content .wc-odds-table-wrapper,
  .t3-odds-content .wc-match-odds-wrapper,
  .t3-odds-content .wc-group-odds-section,
  .t3-odds-content .wc-standings-wrapper,
  .t3-odds-content .wc-poll-wrapper,
  .t3-odds-content .wc-goalscorer-poll-wrapper {
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden !important;
  }

  .t3-odds-content .wc-odds-col .wc-odds-table-wrapper,
  .t3-odds-content .wc-odds-col .wc-poll-wrapper,
  .t3-odds-content .wc-odds-col .wc-goalscorer-poll-wrapper {
    padding: 12px !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
  }

  .t3-odds-content .wc-odds-table,
  .t3-odds-content .wc-group-odds-table {
    min-width: 0 !important;
    width: 100%;
    font-size: 12px;
    table-layout: fixed;
  }

  .t3-odds-content .wc-match-odds-table {
    min-width: 0;
    font-size: 11px;
    table-layout: auto;
  }

  .t3-odds-content .wc-match-odds-table th:nth-child(2),
  .t3-odds-content .wc-match-odds-table td:nth-child(2) {
    min-width: 0 !important;
    width: auto !important;
    max-width: 130px;
  }

  .t3-odds-content .wc-all-groups-grid {
    gap: 10px !important;
  }

  .t3-odds-content .wc-all-groups-item {
    min-width: 0;
  }

  .t3-odds-group-details {
    border: 1px solid var(--t3-line);
    border-radius: 10px;
    background: var(--t3-bg-card);
    overflow: hidden;
  }

  .t3-odds-group-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--t3-text);
    cursor: pointer;
    list-style: none;
    user-select: none;
  }

  .t3-odds-group-summary::-webkit-details-marker {
    display: none;
  }

  .t3-odds-group-summary::after {
    content: "＋";
    flex-shrink: 0;
    color: var(--t3-gold);
    font-size: 16px;
    line-height: 1;
  }

  .t3-odds-group-details[open] .t3-odds-group-summary::after {
    content: "－";
  }

  .t3-odds-group-details .wc-group-odds-wrapper,
  .t3-odds-group-details .wc-odds-table-wrapper {
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 10px 10px !important;
    background: transparent !important;
  }

  .t3-odds-content .wc-odds-team-flag {
    width: 28px !important;
    height: 19px !important;
  }

  .t3-odds-content .wc-odds-row .wc-odds-player-img,
  .t3-odds-content .wc-goalscorer-poll-img {
    width: 44px !important;
    height: 44px !important;
  }

  .t3-odds-content .wc-odds-team-name,
  .t3-odds-content .wc-odds-player-name {
    font-size: 12px;
  }

  .t3-odds-content .wc-odds-table th,
  .t3-odds-content .wc-odds-table td,
  .t3-odds-content .wc-match-odds-table th,
  .t3-odds-content .wc-match-odds-table td {
    padding: 8px 4px;
  }

  .t3-odds-content .wc-odds-value,
  .t3-odds-content .wc-match-odds-value {
    font-size: 13px !important;
  }

  .t3-odds-content h2.wc-odds-section-title {
    font-size: 1rem;
    margin: 16px 0 8px;
    padding-bottom: 6px;
  }

  .t3-odds-content .wc-odds-show-more {
    min-height: 44px;
    font-size: 14px;
  }

  /* 夺冠热门 / 金靴 — 手机卡片列表，无横向滑动 */
  #winner-odds.wc-odds-table-wrapper,
  #goalscorer-odds.wc-odds-table-wrapper {
    overflow: hidden !important;
    overflow-x: hidden !important;
    padding: 12px !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  #winner-odds .wc-odds-table,
  #goalscorer-odds .wc-odds-table {
    display: block;
    min-width: 0 !important;
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
  }

  #winner-odds .wc-odds-table thead,
  #goalscorer-odds .wc-odds-table thead {
    display: none;
  }

  #winner-odds .wc-odds-table tbody,
  #goalscorer-odds .wc-odds-table tbody {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  #winner-odds .wc-odds-table tbody tr.hidden-row:not(.show),
  #goalscorer-odds .wc-odds-table tbody tr.hidden-row:not(.show) {
    display: none !important;
  }

  #winner-odds .wc-odds-table tbody tr:not(.hidden-row),
  #winner-odds .wc-odds-table tbody tr.hidden-row.show,
  #goalscorer-odds .wc-odds-table tbody tr:not(.hidden-row),
  #goalscorer-odds .wc-odds-table tbody tr.hidden-row.show {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
    background: var(--t3-bg-soft);
    border: 1px solid var(--t3-line-soft);
    border-radius: 10px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  #winner-odds .wc-odds-table tbody tr td,
  #goalscorer-odds .wc-odds-table tbody tr td {
    display: block;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    min-width: 0;
  }

  #winner-odds .wc-odds-table tbody tr td:first-child,
  #goalscorer-odds .wc-odds-table tbody tr td:first-child {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 72px);
    text-align: left;
    overflow: hidden;
  }

  #goalscorer-odds .wc-odds-table tbody tr td:nth-child(2) {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--t3-text-dim);
    padding-right: 4px !important;
  }

  #winner-odds .wc-odds-table tbody tr td:nth-child(2),
  #goalscorer-odds .wc-odds-table tbody tr td:nth-child(3) {
    flex: 0 0 auto;
    flex-shrink: 0;
    text-align: right;
    max-width: 88px;
  }

  #winner-odds .wc-odds-table th:last-child,
  #winner-odds .wc-odds-table td:last-child,
  #goalscorer-odds .wc-odds-table th:last-child,
  #goalscorer-odds .wc-odds-table td:last-child,
  #winner-odds .wc-odds-table th:nth-child(3),
  #winner-odds .wc-odds-table td:nth-child(3),
  #goalscorer-odds .wc-odds-table th:nth-child(4),
  #goalscorer-odds .wc-odds-table td:nth-child(4) {
    display: none !important;
  }

  #winner-odds .wc-odds-team,
  #goalscorer-odds .wc-odds-team {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    max-width: 100%;
    min-width: 0;
  }

  #winner-odds .wc-odds-team-flag,
  #goalscorer-odds .wc-odds-team-flag {
    width: 26px !important;
    height: 18px !important;
    flex-shrink: 0;
  }

  #winner-odds .wc-odds-rank,
  #goalscorer-odds .wc-odds-rank {
    flex-shrink: 0;
    font-size: 11px;
    min-width: 1.2em;
  }

  #winner-odds .wc-odds-team-info,
  #goalscorer-odds .wc-odds-team-info {
    min-width: 0;
    overflow: hidden;
  }

  #winner-odds .wc-odds-team-name,
  #goalscorer-odds .wc-odds-team-name,
  #goalscorer-odds .wc-odds-player-name {
    font-size: 12px !important;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
  }

  #winner-odds .wc-odds-table tbody tr td > div[style],
  #goalscorer-odds .wc-odds-table tbody tr td > div[style] {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  #winner-odds .wc-odds-value,
  #goalscorer-odds .wc-odds-value {
    font-size: 13px !important;
    white-space: nowrap;
  }

  #winner-odds .wc-odds-pill,
  #goalscorer-odds .wc-odds-pill {
    font-size: 9px !important;
    padding: 1px 4px !important;
    flex-shrink: 0;
  }

  #winner-odds .wc-odds-updated,
  #goalscorer-odds .wc-odds-updated {
    font-size: 11px;
    margin-top: 8px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .t3-odds-content .wc-poll-top-teams,
  .t3-odds-content .wc-goalscorer-poll-top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .t3-odds-content .wc-poll-team-btn,
  .t3-odds-content .wc-goalscorer-poll-btn {
    padding: 10px 6px !important;
  }

  .t3-odds-content .wc-poll-flag {
    width: 36px !important;
    height: 24px !important;
  }

  .t3-odds-content .wc-poll-team-name,
  .t3-odds-content .wc-goalscorer-poll-name {
    font-size: 11px !important;
  }

  .t3-odds-content .wc-poll-other-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .t3-odds-content .wc-poll-vote-btn {
    width: 100%;
    min-height: 44px;
  }

  .t3-odds-content .wc-match-team-block {
    max-width: 88px;
  }

  .t3-odds-content .wc-match-date {
    font-size: 10px !important;
    white-space: normal;
  }

  .t3-odds-internal {
    margin-top: 20px;
    padding-top: 16px;
    padding-bottom: 8px;
  }

  .t3-odds-internal-row {
    gap: 6px;
  }

  .t3-odds-internal-row .t3-league-chip {
    font-size: 12px;
    padding: 6px 10px;
  }

  .t3-tags--rules {
    gap: 6px;
  }

  .t3-tags--rules .t3-tag {
    font-size: 11px;
    padding: 4px 8px;
  }
}

@media (max-width: 600px) {
  .t3-odds-hero {
    padding: 24px 0 18px;
  }

  .t3-odds-hero .t3-pillars--odds {
    display: none;
  }

  .t3-odds-hero .t3-hero-eyebrow {
    font-size: 10px;
    padding: 3px 10px;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
  }

  .t3-odds-hero .t3-hero-lead {
    font-size: 13px;
  }

  .t3-odds-layout .t3-rules-main {
    padding: 12px 10px 0;
  }

  .t3-odds-disclaimer {
    font-size: 12px;
    line-height: 1.55;
    padding: 10px 12px;
    background: var(--t3-bg-card);
    border: 1px solid var(--t3-line-soft);
    border-radius: 10px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Winner / goalscorer — 600px 下再收紧间距 */
  #winner-odds.wc-odds-table-wrapper,
  #goalscorer-odds.wc-odds-table-wrapper {
    padding: 10px !important;
  }

  #winner-odds .wc-odds-table tbody tr:not(.hidden-row),
  #winner-odds .wc-odds-table tbody tr.hidden-row.show,
  #goalscorer-odds .wc-odds-table tbody tr:not(.hidden-row),
  #goalscorer-odds .wc-odds-table tbody tr.hidden-row.show {
    padding: 8px;
    gap: 6px;
  }

  #winner-odds .wc-odds-table tbody tr td:first-child,
  #goalscorer-odds .wc-odds-table tbody tr td:first-child {
    max-width: calc(100% - 64px);
  }

  #winner-odds .wc-odds-table tbody tr td:nth-child(2),
  #goalscorer-odds .wc-odds-table tbody tr td:nth-child(3) {
    max-width: 76px;
  }

  #winner-odds .wc-odds-team-flag,
  #goalscorer-odds .wc-odds-team-flag {
    width: 24px !important;
    height: 16px !important;
  }

  /* Match odds — card layout, contained in module box */
  .t3-odds-content .wc-match-odds-wrapper {
    overflow: hidden !important;
    padding: 0 12px 12px !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .t3-odds-content .wc-match-odds-scroll {
    overflow: hidden !important;
    margin: 0;
    padding: 0;
    max-width: 100%;
  }

  .t3-odds-content .wc-match-odds-scroll::after {
    display: none;
  }

  .t3-odds-content .wc-match-odds-table {
    display: block;
    min-width: 0 !important;
    width: 100%;
    background: transparent !important;
  }

  .t3-odds-content .wc-match-odds-table thead {
    display: none;
  }

  .t3-odds-content .wc-match-odds-table tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .t3-odds-content .wc-match-odds-table tbody tr.wc-finished-master-row,
  .t3-odds-content .wc-match-odds-table tbody tr.wc-finished-toggle-row {
    display: block;
    margin: 4px 0;
    border-radius: 8px;
    overflow: hidden;
  }

  .t3-odds-content .wc-match-odds-table tbody tr.wc-finished-master-row td,
  .t3-odds-content .wc-match-odds-table tbody tr.wc-finished-toggle-row td {
    display: block;
    width: 100% !important;
    padding: 10px 12px !important;
    text-align: left !important;
    background: var(--t3-bg-elev) !important;
    border: 1px solid var(--t3-line-soft);
    border-radius: 8px;
    color: var(--t3-text) !important;
    font-weight: 600;
  }

  .t3-odds-content .wc-match-odds-table tbody tr.wc-finished-master-row.is-open td {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
  }

  .t3-odds-content .wc-match-odds-table tbody tr:not(.wc-finished-master-row):not(.wc-finished-toggle-row) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "date date date"
      "teams teams teams"
      "odd1 oddx odd2";
    gap: 8px 4px;
    padding: 10px;
    background: var(--t3-bg-soft);
    border: 1px solid var(--t3-line-soft);
    border-radius: 10px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .t3-odds-content .wc-match-odds-table tbody tr td.wc-match-teams-cell {
    grid-area: teams;
    text-align: left;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
  }

  .t3-odds-content .wc-match-odds-table tbody tr.wc-finished-child {
    border-radius: 0 0 10px 10px;
    margin-top: -6px;
    border-top: none;
  }

  .t3-odds-content .wc-match-odds-table tbody tr td {
    display: block;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    text-align: center;
  }

  .t3-odds-content .wc-match-odds-table tbody tr td.wc-match-date {
    grid-area: date;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
  }

  .t3-odds-content .wc-match-odds-table tbody tr td:nth-child(3) {
    grid-area: odd1;
  }

  .t3-odds-content .wc-match-odds-table tbody tr td:nth-child(4) {
    grid-area: oddx;
  }

  .t3-odds-content .wc-match-odds-table tbody tr td:nth-child(5) {
    grid-area: odd2;
  }

  .t3-odds-content .wc-match-odds-table tbody tr td:nth-child(3)::before,
  .t3-odds-content .wc-match-odds-table tbody tr td:nth-child(4)::before,
  .t3-odds-content .wc-match-odds-table tbody tr td:nth-child(5)::before {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--t3-text-dim);
    margin-bottom: 4px;
    letter-spacing: 0.04em;
  }

  .t3-odds-content .wc-match-odds-table tbody tr td:nth-child(3)::before {
    content: "主胜";
  }

  .t3-odds-content .wc-match-odds-table tbody tr td:nth-child(4)::before {
    content: "平局";
  }

  .t3-odds-content .wc-match-odds-table tbody tr td:nth-child(5)::before {
    content: "客胜";
  }

  .t3-odds-content .wc-match-odds-table th:nth-child(6),
  .t3-odds-content .wc-match-odds-table td:nth-child(6),
  .t3-odds-content .wc-match-odds-table th:nth-child(7),
  .t3-odds-content .wc-match-odds-table td:nth-child(7),
  .t3-odds-content .wc-match-odds-table th:nth-child(8),
  .t3-odds-content .wc-match-odds-table td:nth-child(8) {
    display: none !important;
  }

  .t3-odds-content .wc-match-teams {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    justify-content: stretch !important;
    flex-wrap: nowrap !important;
    overflow: hidden;
  }

  .t3-odds-content .wc-match-team-block {
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    overflow: hidden;
  }

  .t3-odds-content .wc-match-team-name {
    font-size: 10px !important;
    text-align: center;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  .t3-odds-content .wc-match-flag {
    width: 24px !important;
    height: 16px !important;
  }

  .t3-odds-content .wc-match-vs {
    font-size: 12px !important;
    font-weight: 700;
    color: var(--t3-gold) !important;
    white-space: nowrap;
  }

  .t3-odds-content .wc-match-finished-badge {
    grid-column: 1 / -1;
    justify-self: start;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(224, 183, 90, 0.15);
    color: var(--t3-gold);
  }

  .t3-odds-content .wc-poll-top-teams,
  .t3-odds-content .wc-goalscorer-poll-top {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    max-width: 100%;
  }

  .t3-odds-content .wc-poll-team-btn,
  .t3-odds-content .wc-goalscorer-poll-btn {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .t3-odds-content .wc-poll-team-name,
  .t3-odds-content .wc-goalscorer-poll-name {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 10px !important;
  }

  .t3-odds-content .wc-poll-other-wrapper,
  .t3-odds-content .wc-poll-results-list {
    max-width: 100%;
    overflow: hidden;
  }

  .t3-odds-group-details {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .t3-odds-group-details .wc-group-odds-wrapper,
  .t3-odds-group-details .wc-odds-table-wrapper {
    overflow: hidden !important;
    max-width: 100%;
  }

  .t3-odds-internal-row .t3-league-chip {
    font-size: 11px;
    padding: 6px 9px;
  }
}

/* Desktop-only helpers */
.t3-odds-mobile-jump {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.t3-breadcrumb--hero {
  margin-bottom: 16px;
  font-size: 13px;
}

.t3-odds-aside-links {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--t3-line-soft);
}

.t3-odds-aside-links-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--t3-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.t3-odds-aside-link {
  display: block;
  padding: 6px 10px;
  margin: 2px 0;
  border-radius: 6px;
  font-size: 13px;
  color: var(--t3-text-mid) !important;
  text-decoration: none;
}

.t3-odds-aside-link:hover {
  color: var(--t3-gold) !important;
  background: var(--t3-bg-soft);
}

.t3-odds-internal {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--t3-line-soft);
}

.t3-odds-internal-title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: var(--t3-text);
  font-family: var(--t3-serif);
}

.t3-odds-internal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.t3-odds-internal-row .t3-league-chip {
  text-decoration: none;
  color: var(--t3-text-mid) !important;
}

.t3-odds-internal-row .t3-league-chip:hover {
  color: var(--t3-gold) !important;
  border-color: var(--t3-gold);
}

.t3-odds-hero .t3-hero-lead a {
  color: var(--t3-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.t3-odds-disclaimer a {
  color: var(--t3-gold);
}

/* Updated stamp */
.t3-odds-content .wc-odds-updated {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--t3-text-dim);
}

.t3-odds-content .wc-odds-page-link {
  display: none;
}

/* Neutralize affiliate CTAs — bright like H1 */
.t3-odds-content .wc-odds-cta,
.t3-odds-content a.wc-odds-cta,
.t3-odds-content a.wc-match-odd-btn,
.t3-odds-content a.wc-match-team-bet {
  display: inline-block;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--t3-text) !important;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  text-decoration: none;
}

.t3-odds-content .wc-odds-cta--muted {
  color: var(--t3-text) !important;
  font-weight: 600;
}

/* Group carousel / swiper */
.t3-odds-content .wc-match-carousel-wrapper {
  margin: 12px 0 20px;
}

.t3-odds-content .wc-slide-card,
.t3-odds-content .wc-group-card {
  background: var(--t3-bg-soft) !important;
  border: 1px solid var(--t3-line) !important;
  border-radius: var(--t3-radius) !important;
  color: var(--t3-text);
}

.t3-odds-content .wc-slide-title,
.t3-odds-content .wc-group-card-title {
  color: var(--t3-text) !important;
}

.t3-odds-content .swiper-pagination-bullet {
  background: var(--t3-text-dim);
  opacity: 0.6;
}

.t3-odds-content .swiper-pagination-bullet-active {
  background: var(--t3-gold);
  opacity: 1;
}

.t3-odds-content .swiper-button-next,
.t3-odds-content .swiper-button-prev {
  color: var(--t3-gold);
}

/* Poll widgets — side by side in .wc-odds-row */
.t3-odds-content .wc-poll-wrapper,
.t3-odds-content .wc-goalscorer-poll-wrapper {
  background: var(--t3-bg-card);
  border: 1px solid var(--t3-line);
  border-radius: var(--t3-radius);
  max-width: 100% !important;
  margin: 0 !important;
  width: 100%;
  padding: clamp(12px, 2vw, 18px);
  box-sizing: border-box;
  overflow: hidden;
}

.t3-odds-content .wc-poll-title {
  color: var(--t3-text) !important;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem) !important;
  font-weight: 600;
  text-align: center;
  margin: 0 0 14px !important;
  line-height: 1.4;
}

.t3-odds-content .wc-poll-top-teams {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.t3-odds-content .wc-goalscorer-poll-top {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

@media (min-width: 900px) {
  .t3-odds-content .wc-poll-top-teams,
  .t3-odds-content .wc-goalscorer-poll-top {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.t3-odds-content .wc-poll-other-wrapper {
  flex-wrap: wrap;
  gap: 8px;
}

.t3-odds-content .wc-poll-other-select {
  background: var(--t3-bg-soft) !important;
  border-color: var(--t3-line) !important;
  color: var(--t3-text) !important;
  min-width: 0;
  flex: 1 1 140px;
}

.t3-odds-content .wc-poll-vote-btn {
  background: var(--t3-crimson) !important;
  color: var(--t3-text) !important;
  flex-shrink: 0;
}

.t3-odds-content .wc-poll-total {
  color: var(--t3-text-dim) !important;
}

.t3-odds-content .wc-poll-team-btn,
.t3-odds-content .wc-goalscorer-poll-btn {
  background: var(--t3-bg-soft) !important;
  border-color: var(--t3-line) !important;
  color: var(--t3-text);
}

.t3-odds-content .wc-poll-team-btn:hover,
.t3-odds-content .wc-goalscorer-poll-btn:hover {
  border-color: var(--t3-gold) !important;
  background: var(--t3-bg-elev) !important;
}

.t3-odds-content .wc-poll-team-name,
.t3-odds-content .wc-goalscorer-poll-name,
.t3-odds-content .wc-poll-result-name {
  color: var(--t3-text) !important;
}

.t3-odds-content .wc-poll-result-percent,
.t3-odds-content .wc-gs-goal-badge,
.t3-odds-content .wc-poll-elim-tag {
  color: var(--t3-gold-2) !important;
}

.t3-odds-content .wc-poll-result-bar {
  background: linear-gradient(90deg, var(--t3-crimson), var(--t3-gold)) !important;
}

.t3-odds-content .wc-poll-result-bar-wrap {
  background: var(--t3-line) !important;
}

/* Countdown */
.t3-odds-content .wc-countdown {
  background: linear-gradient(135deg, var(--t3-bg-soft) 0%, var(--t3-bg-elev) 100%) !important;
  border: 1px solid var(--t3-line);
  color: var(--t3-text) !important;
}

.t3-odds-content .wc-countdown-value {
  color: var(--t3-gold) !important;
}

.t3-odds-content img {
  max-width: 100%;
  height: auto;
}

.t3-odds-content .wc-odds-table tbody tr,
.t3-odds-content .wc-match-odds-table tbody tr,
.t3-odds-content .wc-standings-table tbody tr {
  border-bottom: 1px solid var(--t3-line-soft) !important;
  transition: background 0.15s ease;
}

.t3-odds-content .wc-odds-table tbody tr:hover,
.t3-odds-content .wc-match-odds-table tbody tr:hover,
.t3-odds-content .wc-standings-table tbody tr:hover {
  background: var(--t3-bg-soft) !important;
}

/* ── Desktop: column balance + carousel containment ── */
@media (min-width: 901px) {
  .t3-odds-content .wc-odds-row .wc-odds-team-flag {
    width: 32px !important;
    height: 22px !important;
  }

  .t3-odds-content .wc-odds-row .wc-odds-player-img {
    width: 36px !important;
    height: 36px !important;
  }

  .t3-odds-content .wc-match-carousel-wrapper,
  .t3-odds-content .wc-match-carousel,
  .t3-odds-content .swiper {
    max-width: 100%;
    overflow: hidden;
  }

  #winner-odds .wc-odds-table th:nth-child(1) { width: 52%; }
  #winner-odds .wc-odds-table th:nth-child(2) { width: 22%; }
  #winner-odds .wc-odds-table th:nth-child(4) { width: 26%; }

  #goalscorer-odds .wc-odds-table th:nth-child(1) { width: 44%; }
  #goalscorer-odds .wc-odds-table th:nth-child(2) { width: 14%; }
  #goalscorer-odds .wc-odds-table th:nth-child(3) { width: 20%; }
  #goalscorer-odds .wc-odds-table th:nth-child(5) { width: 22%; }

  .t3-odds-content .wc-match-odds-table .wc-match-teams-cell {
    max-width: 200px;
  }
}

/* 压过 imported world-cup-odds.css 的 overflow-x:auto */
@media (max-width: 900px) {
  .t3-odds-content #winner-odds.wc-odds-table-wrapper,
  .t3-odds-content #goalscorer-odds.wc-odds-table-wrapper,
  .t3-odds-content .wc-odds-col > #winner-odds,
  .t3-odds-content .wc-odds-col > #goalscorer-odds {
    overflow: hidden !important;
    overflow-x: hidden !important;
    max-width: 100%;
  }
}
