.wc-ko-page {
  --wc-ko-bg: #f3f7ff;
  --wc-ko-panel: #1e40af;
  --wc-ko-panel-soft: #2563eb;
  --wc-ko-card: #f1f6ff;
  --wc-ko-card-soft: #ffffff;
  --wc-ko-border: rgba(255, 255, 255, .34);
  --wc-ko-accent: #38bdf8;
  --wc-ko-accent-2: #60a5fa;
  --wc-ko-accent-3: #1e40af;
  --wc-ko-text: #0f172a;
  --wc-ko-muted: #64748b;
  --wc-ko-surface: rgba(255, 255, 255, .9);
  --wc-ko-surface-border: #dbe7fb;
  overflow-x: clip;
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, .09), transparent 28rem),
    linear-gradient(180deg, #eef5ff 0, var(--wc-ko-bg) 25rem, #f8fafc 100%);
  color: #0f172a;
}

.wc-ko-hero { position: relative; padding-bottom: .75rem; }
.wc-ko-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 40px;
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, .05));
  pointer-events: none;
}
.wc-ko-hero .fs-hero-card { position: relative; z-index: 1; overflow: hidden; }

.wc-ko-page .tp-container,
.wc-ko-hero .tp-container {
  width: min(100%, 1520px);
  margin-inline: auto;
  padding-inline: clamp(16px, 1.5vw, 28px);
  box-sizing: border-box;
}

.wc-ko-related {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.wc-ko-related a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .65rem 1rem;
  border: 1px solid rgba(37, 99, 235, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #1d4ed8;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .07);
  backdrop-filter: blur(10px);
  font-weight: 800;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.wc-ko-related a:hover,
.wc-ko-related a:focus-visible {
  border-color: rgba(56, 189, 248, .62);
  box-shadow: 0 10px 26px rgba(37, 99, 235, .14);
  outline: none;
  transform: translateY(-1px);
}

.wc-ko-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.wc-ko-kpis article {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.15rem;
  border: 1px solid var(--wc-ko-surface-border);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--wc-ko-surface), rgba(244, 248, 255, .88));
  box-shadow: 0 14px 34px rgba(30, 64, 175, .08);
  backdrop-filter: blur(12px);
}

.wc-ko-kpis article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wc-ko-accent-3), var(--wc-ko-accent), var(--wc-ko-accent-2));
  opacity: .8;
}

.wc-ko-kpis span {
  color: #64748b;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.wc-ko-kpis strong { color: #102a5c; font-size: 1.08rem; line-height: 1.35; }
.wc-ko-kpis article:nth-child(2) strong,
.wc-ko-kpis article:nth-child(3) strong { color: #1d4ed8; font-size: 1.32rem; }
.wc-ko-kpis small { color: #64748b; }
.wc-ko-section { padding-top: 1.65rem; }
.wc-ko-heading { max-width: 820px; margin-bottom: 1.25rem; }
.wc-ko-heading h2, .wc-ko-list-round h3 { margin: 0 0 .45rem; color: #17356f; }
.wc-ko-heading p { margin: 0; color: #475569; line-height: 1.65; }

/* Premium bracket surface. The chronological list below keeps its own layout. */
.wc-ko-bracket-shell {
  width: 100%;
  min-width: 0;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid rgba(30, 64, 175, .14);
  border-radius: 38px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 18px 46px rgba(30, 64, 175, .09);
}

.wc-ko-bracket {
  --ko-card-height: 168px;
  --ko-card-gap: 18px;
  --ko-track-height: 2958px;
  --ko-column-width: 270px;
  --ko-column-gap: 44px;
  --ko-header-height: 48px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  padding: 20px 26px 26px;
  border: 1px solid var(--wc-ko-border);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, .2), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(147, 197, 253, .25), transparent 30%),
    linear-gradient(145deg, var(--wc-ko-panel) 0%, var(--wc-ko-panel-soft) 58%, #1d4ed8 100%);
  box-shadow: 0 28px 70px rgba(30, 64, 175, .22), inset 0 1px 0 rgba(255, 255, 255, .16);
  scrollbar-color: #bfdbfe rgba(30, 64, 175, .55);
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
  isolation: isolate;
}

/* On a desktop display, all five phases fit without horizontal scrolling. */
@media (min-width: 1180px) {
  .wc-ko-bracket {
    --ko-column-gap: 12px;
    overflow-x: hidden;
    padding: 18px 12px 24px;
  }

  .wc-ko-bracket .wc-ko-tree-stage {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
  }

  .wc-ko-round .wc-ko-card { padding-inline: 9px; }
  .wc-ko-round .wc-ko-card-head { font-size: .62rem; }
  .wc-ko-round .wc-ko-status { max-width: 58%; font-size: .54rem; }
  .wc-ko-round .wc-ko-team { gap: .38rem; font-size: .82rem; }
  .wc-ko-round .wc-ko-team--tbd { font-size: .68rem; }
  .wc-ko-round .wc-ko-bracket-info { font-size: .56rem; }
  .wc-ko-round .wc-ko-bracket-info time { gap: 4px; padding-left: 6px; }
  .wc-ko-round .wc-ko-ai { font-size: .56rem; }
}

.wc-ko-tree-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, var(--ko-column-width));
  column-gap: var(--ko-column-gap);
  width: max-content;
  min-width: 100%;
  height: calc(var(--ko-header-height) + var(--ko-track-height));
}

.wc-ko-round {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: var(--ko-header-height) var(--ko-track-height);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.wc-ko-round h3 {
  position: sticky;
  left: 0;
  z-index: 4;
  margin: 0 0 14px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(30, 64, 175, .72);
  color: #fff;
  box-shadow: 0 8px 22px rgba(30, 58, 138, .22), inset 0 1px 0 rgba(255, 255, 255, .14);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.wc-ko-round-track {
  position: relative;
  height: var(--ko-track-height);
  overflow: visible;
}

/* Each connector represents exactly two declared source matches feeding one
   target. Its arms are generated from knockout_bracket.py relationships. */
.wc-ko-connector {
  position: absolute;
  z-index: 0;
  top: var(--ko-connector-top);
  left: 100%;
  width: var(--ko-column-gap);
  height: var(--ko-connector-height);
  pointer-events: none;
}

.wc-ko-connector::before,
.wc-ko-connector::after,
.wc-ko-connector-arm {
  content: "";
  position: absolute;
  display: block;
  background: linear-gradient(90deg, var(--wc-ko-accent-3), var(--wc-ko-accent), var(--wc-ko-accent-2));
  box-shadow: 0 0 9px rgba(56, 189, 248, .38);
}

.wc-ko-connector::before {
  top: 50%;
  right: 0;
  width: 50%;
  height: 2px;
  transform: translateY(-1px);
}

.wc-ko-connector::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-1px);
  background: linear-gradient(180deg, var(--wc-ko-accent), var(--wc-ko-accent-2));
}

.wc-ko-connector-arm {
  left: 0;
  width: 50%;
  height: 2px;
}

.wc-ko-connector-arm--a { top: 0; }
.wc-ko-connector-arm--b { bottom: 0; }

.wc-ko-secondary {
  position: absolute;
  z-index: 2;
  top: var(--ko-top);
  left: 0;
  width: 100%;
  padding-top: 32px;
}

.wc-ko-secondary h4 {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  color: #c4b5fd;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.wc-ko-card {
  position: relative;
  min-width: 0;
  padding: .85rem;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

.wc-ko-round .wc-ko-card {
  position: absolute;
  z-index: 2;
  top: var(--ko-top);
  left: 0;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  width: 100%;
  height: var(--ko-card-height);
  min-height: 0;
  box-sizing: border-box;
  padding: 10px 11px;
  border-color: rgba(219, 234, 254, .95);
  border-radius: 22px;
  background: linear-gradient(155deg, var(--wc-ko-card-soft), var(--wc-ko-card));
  color: var(--wc-ko-text);
  box-shadow: 0 13px 28px rgba(30, 64, 175, .18), inset 0 1px 0 rgba(255, 255, 255, .75);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.wc-ko-secondary .wc-ko-card {
  position: relative;
  top: auto;
}

.wc-ko-round .wc-ko-card:hover,
.wc-ko-round .wc-ko-card:focus-within {
  z-index: 3;
  border-color: rgba(56, 189, 248, .68);
  box-shadow: 0 17px 38px rgba(30, 64, 175, .24), 0 0 0 1px rgba(56, 189, 248, .18);
  transform: translateY(-1px);
}

.wc-ko-round .wc-ko-card--confirmed {
  border-color: rgba(14, 165, 233, .6);
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .16), transparent 42%),
    linear-gradient(155deg, #fff, #eaf4ff);
  box-shadow: 0 14px 32px rgba(3, 105, 161, .16), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.wc-ko-round .wc-ko-card--played {
  border-color: rgba(52, 211, 153, .42);
}

.wc-ko-round--final > .wc-ko-round-track > .wc-ko-node--primary {
  border-color: rgba(96, 165, 250, .85);
  background:
    radial-gradient(circle at 90% 0%, rgba(56, 189, 248, .2), transparent 38%),
    linear-gradient(145deg, #fff, #dbeafe 65%, #eff6ff);
  box-shadow: 0 18px 42px rgba(30, 64, 175, .26), 0 0 0 1px rgba(255, 255, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.wc-ko-card--confirmed { border-color: #38bdf8; }
.wc-ko-card--played { border-color: #34d399; }

.wc-ko-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .55rem;
  color: #64748b;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.wc-ko-round .wc-ko-card-head { color: #475569; }

.wc-ko-status {
  max-width: 62%;
  overflow: hidden;
  padding: .18rem .45rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: .6rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-ko-status--confirmed { background: #dbeafe; color: #1d4ed8; }
.wc-ko-status--played { background: #d1fae5; color: #047857; }
.wc-ko-round .wc-ko-status--tbd { border: 1px solid #cbd5e1; background: #eef2f7; color: #475569; }
.wc-ko-round .wc-ko-status--confirmed { border: 1px solid #bae6fd; background: #e0f2fe; color: #0369a1; }
.wc-ko-round .wc-ko-status--played { background: rgba(6, 95, 70, .34); color: #6ee7b7; }

.wc-ko-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: .32rem;
  min-width: 0;
}

.wc-ko-team {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
}

.wc-ko-team strong,
.wc-ko-team span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-ko-round .wc-ko-team--tbd span {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.32;
  text-overflow: clip;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wc-ko-team--tbd {
  min-height: 26px;
  color: #64748b;
  font-size: .76rem;
  font-style: normal;
}

.wc-ko-round .wc-ko-team--tbd { color: #475569; }

.wc-ko-team .wc-team-flag {
  flex: 0 0 auto;
  width: 28px;
  height: 19px;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

.wc-ko-vs { display: none; }
.wc-ko-score { position: absolute; top: 42px; right: 12px; color: #fbbf24; font-size: 1.05rem; }

.wc-ko-bracket-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(148, 163, 184, .14);
  color: var(--wc-ko-muted);
  font-size: .63rem;
}

.wc-ko-bracket-venue {
  overflow: hidden;
  padding-right: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-ko-bracket-info time {
  display: flex;
  gap: 6px;
  padding-left: 9px;
  border-left: 1px solid rgba(56, 189, 248, .38);
  white-space: nowrap;
}

.wc-ko-bracket-info time strong { color: #0f172a; }

.wc-ko-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  margin-top: 6px;
}

.wc-ko-ai {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
  padding: 3px 7px 3px 4px;
  max-width: calc(100% - 30px);
  border: 1px solid rgba(56, 189, 248, .24);
  border-radius: 999px;
  background: #e8f1ff;
  color: #1e3a8a;
  font-size: .62rem;
}

.wc-ko-ai span {
  padding: 2px 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wc-ko-accent-3), var(--wc-ko-accent), var(--wc-ko-accent-2));
  color: #fff;
  font-size: .55rem;
  font-weight: 950;
}

.wc-ko-ai strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-ko-card-link {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: auto;
  border: 1px solid rgba(56, 189, 248, .32);
  border-radius: 50%;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}

.wc-ko-card-link:hover,
.wc-ko-card-link:focus-visible { background: var(--wc-ko-accent-3); color: #fff; outline: none; }

/* Chronological SEO list: deliberately independent from bracket geometry. */
.wc-ko-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .85rem;
  margin-top: .75rem;
  padding-top: .7rem;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: .8rem;
}

.wc-ko-prediction {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .45rem;
  margin-top: .75rem;
  padding: .65rem;
  border: 1px solid rgba(37, 99, 235, .1);
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  color: #1e3a8a;
  font-size: .78rem;
}

.wc-ko-prediction strong { font-size: .86rem; }
.wc-ko-analysis { display: inline-flex; margin-top: .7rem; color: #1d4ed8; font-weight: 800; text-decoration: none; }
.wc-ko-list-tools {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 1.2rem;
}
.wc-ko-list-tools label {
  display: grid;
  gap: .4rem;
  width: min(100%, 330px);
  color: #334155;
  font-size: .75rem;
  font-weight: 850;
}
.wc-ko-list-tools select {
  width: 100%;
  min-height: 44px;
  padding: .65rem 2.4rem .65rem .8rem;
  border: 1px solid rgba(30, 64, 175, .22);
  border-radius: 12px;
  background: #fff;
  color: #17356f;
  font: inherit;
  font-size: .9rem;
  font-weight: 750;
}
.wc-ko-list-round[hidden] { display: none !important; }
.wc-ko-list-round { margin-top: 1.8rem; }
.wc-ko-list-round h3 { padding-bottom: .6rem; border-bottom: 2px solid #cfe2ff; }
.wc-ko-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.wc-ko-list-grid > .wc-ko-card {
  border-color: var(--wc-ko-surface-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 8px 24px rgba(30, 64, 175, .055);
}
.wc-ko-faq {
  max-width: 900px;
  padding: 1.35rem;
  border: 1px solid var(--wc-ko-surface-border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(244, 248, 255, .9));
  box-shadow: 0 14px 38px rgba(30, 64, 175, .07);
}
.wc-ko-faq h2 { margin-top: 0; }
.wc-ko-faq details { padding: .9rem 0; border-top: 1px solid #e2e8f0; }
.wc-ko-faq summary { cursor: pointer; color: #17356f; font-weight: 850; }
.wc-ko-faq p { color: #475569; line-height: 1.65; }

.wc-ko-ad-section { padding: 1.25rem 0; }
.wc-ko-ad-shell { width: min(100%, 1180px); margin-inline: auto; }
.wc-ko-ad-slot {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 280px;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px dashed rgba(30, 64, 175, .25);
  border-radius: 18px;
  background: rgba(255, 255, 255, .62);
}
.wc-ko-ad-label {
  position: absolute;
  top: 8px;
  left: 10px;
  z-index: 1;
  color: #64748b;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.wc-ko-ad-slot .adsbygoogle {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 250px;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.wc-ko-ad-slot .adsbygoogle > iframe { display: block !important; max-width: 100% !important; margin-inline: auto !important; }
.user-no-ads .wc-ko-ad-section { display: none !important; }

[data-theme="dark"] .wc-ko-page {
  --wc-ko-bg: #07111f;
  --wc-ko-panel: #0a1022;
  --wc-ko-panel-soft: #111a31;
  --wc-ko-card: #172139;
  --wc-ko-card-soft: #1d2841;
  --wc-ko-border: rgba(129, 140, 248, .26);
  --wc-ko-accent: #38bdf8;
  --wc-ko-accent-2: #7c3aed;
  --wc-ko-accent-3: #2563eb;
  --wc-ko-text: #f8fafc;
  --wc-ko-muted: #9fb0ca;
  --wc-ko-surface: rgba(15, 31, 53, .94);
  --wc-ko-surface-border: #2a4667;
  background: radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .15), transparent 30rem), #07111f;
  color: #f8fafc;
}
[data-theme="dark"] .wc-ko-bracket {
  background:
    linear-gradient(rgba(56, 189, 248, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, .025) 1px, transparent 1px),
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, .3), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(124, 58, 237, .18), transparent 30%),
    linear-gradient(145deg, var(--wc-ko-panel) 0%, var(--wc-ko-panel-soft) 52%, #080d1c 100%);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
  box-shadow: 0 30px 80px rgba(15, 23, 42, .28), inset 0 1px 0 rgba(255, 255, 255, .035);
  scrollbar-color: var(--wc-ko-accent-2) rgba(15, 23, 42, .7);
}
[data-theme="dark"] .wc-ko-round h3 {
  border-color: rgba(56, 189, 248, .2);
  background: linear-gradient(135deg, rgba(23, 33, 57, .96), rgba(17, 26, 49, .96));
  color: #dff6ff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .04);
}
[data-theme="dark"] .wc-ko-round .wc-ko-card {
  border-color: rgba(148, 163, 184, .2);
  background: linear-gradient(155deg, var(--wc-ko-card-soft), var(--wc-ko-card));
  color: var(--wc-ko-text);
  box-shadow: 0 13px 30px rgba(0, 0, 0, .27), inset 0 1px 0 rgba(255, 255, 255, .045);
}
[data-theme="dark"] .wc-ko-round .wc-ko-card--confirmed {
  border-color: rgba(56, 189, 248, .5);
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .12), transparent 42%),
    linear-gradient(155deg, #1b2b47, #142038);
  box-shadow: 0 14px 34px rgba(3, 105, 161, .14), inset 0 1px 0 rgba(125, 211, 252, .07);
}
[data-theme="dark"] .wc-ko-round--final > .wc-ko-round-track > .wc-ko-node--primary {
  border-color: rgba(167, 139, 250, .72);
  background:
    radial-gradient(circle at 90% 0%, rgba(56, 189, 248, .2), transparent 38%),
    linear-gradient(145deg, #202552, #151d3c 60%, #111a31);
  box-shadow: 0 18px 44px rgba(76, 29, 149, .32), 0 0 0 1px rgba(56, 189, 248, .1), inset 0 1px 0 rgba(255, 255, 255, .08);
}
[data-theme="dark"] .wc-ko-round .wc-ko-card-head { color: var(--wc-ko-muted); }
[data-theme="dark"] .wc-ko-round .wc-ko-status--tbd { border-color: rgba(167, 139, 250, .16); background: rgba(76, 29, 149, .2); color: #ddd6fe; }
[data-theme="dark"] .wc-ko-round .wc-ko-status--confirmed { border-color: rgba(56, 189, 248, .16); background: rgba(14, 116, 144, .28); color: #7dd3fc; }
[data-theme="dark"] .wc-ko-round .wc-ko-team--tbd { color: #b8c5d9; }
[data-theme="dark"] .wc-ko-bracket-info time strong { color: #e2e8f0; }
[data-theme="dark"] .wc-ko-ai { background: linear-gradient(90deg, rgba(37, 99, 235, .18), rgba(124, 58, 237, .16)); color: #dbeafe; }
[data-theme="dark"] .wc-ko-card-link { background: rgba(37, 99, 235, .16); color: #dbeafe; }
[data-theme="dark"] .wc-ko-bracket-shell { border-color: rgba(96, 165, 250, .16); background: rgba(7, 17, 31, .72); box-shadow: 0 18px 46px rgba(0, 0, 0, .22); }
[data-theme="dark"] .wc-ko-list-tools label { color: #cbd5e1; }
[data-theme="dark"] .wc-ko-list-tools select { border-color: #334155; background: #0f1f35; color: #dbeafe; }
[data-theme="dark"] .wc-ko-ad-slot { border-color: rgba(148, 163, 184, .28); background: rgba(15, 23, 42, .72); }
[data-theme="dark"] .wc-ko-ad-label { color: #94a3b8; }
[data-theme="dark"] .wc-ko-related a,
[data-theme="dark"] .wc-ko-kpis article,
[data-theme="dark"] .wc-ko-list-grid > .wc-ko-card,
[data-theme="dark"] .wc-ko-faq { border-color: #334155; background: #0f1f35; color: #f8fafc; }
[data-theme="dark"] .wc-ko-heading p,
[data-theme="dark"] .wc-ko-card-meta,
[data-theme="dark"] .wc-ko-list-grid .wc-ko-team--tbd,
[data-theme="dark"] .wc-ko-faq p { color: #cbd5e1; }
[data-theme="dark"] .wc-ko-card-meta,
[data-theme="dark"] .wc-ko-faq details { border-color: #334155; }
[data-theme="dark"] .wc-ko-prediction { background: #172554; color: #bfdbfe; }
[data-theme="dark"] .wc-ko-heading h2,
[data-theme="dark"] .wc-ko-list-round h3,
[data-theme="dark"] .wc-ko-faq summary { color: #dbeafe; }
[data-theme="dark"] .wc-ko-analysis,
[data-theme="dark"] .wc-ko-related a { color: #93c5fd; }

@media (max-width: 1100px) {
  .wc-ko-bracket {
    --ko-column-width: 260px;
    --ko-column-gap: 34px;
  }
}

@media (max-width: 980px) {
  .wc-ko-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wc-ko-list-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .wc-ko-kpis { gap: .7rem; }
  .wc-ko-kpis article { min-width: 0; padding: .9rem; border-radius: 17px; }
  .wc-ko-kpis span { font-size: .65rem; letter-spacing: .045em; }
  .wc-ko-kpis strong { font-size: .96rem; }
  .wc-ko-kpis article:nth-child(2) strong,
  .wc-ko-kpis article:nth-child(3) strong { font-size: 1.2rem; }
  .wc-ko-list-grid { gap: .75rem; }
  .wc-ko-prediction { grid-template-columns: 1fr; }

  .wc-ko-bracket-shell { padding: 6px; border-radius: 30px; }

  .wc-ko-bracket {
    --ko-column-width: clamp(260px, 72vw, 280px);
    --ko-column-gap: 18px;
    margin-right: 0;
    padding: 16px max(14px, env(safe-area-inset-left)) 20px;
    border-radius: 24px;
    scroll-padding-inline: max(14px, env(safe-area-inset-left));
    scroll-snap-type: x mandatory;
  }

  .wc-ko-round h3 {
    position: sticky;
    font-size: .7rem;
  }

  .wc-ko-connector::before,
  .wc-ko-connector-arm { box-shadow: 0 0 7px rgba(56, 189, 248, .35); }

  .wc-ko-round .wc-ko-team--tbd { font-size: .72rem; }
  .wc-ko-round .wc-ko-card-head { font-size: .61rem; }
  .wc-ko-round .wc-ko-status { font-size: .53rem; }
  .wc-ko-round .wc-ko-team { font-size: .82rem; }
  .wc-ko-round .wc-ko-bracket-info { font-size: .56rem; }
  .wc-ko-round .wc-ko-ai { font-size: .56rem; }
  .wc-ko-card-actions { min-width: 0; }
  .wc-ko-list-tools { justify-content: stretch; }
  .wc-ko-list-tools label { width: 100%; }
  .wc-ko-ad-section { padding-block: .9rem; }
  .wc-ko-ad-slot,
  .wc-ko-ad-slot .adsbygoogle { min-height: 348px; }
}

@media (max-width: 420px) {
  .wc-ko-round .wc-ko-card { padding-inline: 10px; }
  .wc-ko-bracket-info { font-size: .6rem; }
  .wc-ko-bracket-info time { gap: 4px; padding-left: 7px; }
}

@media (max-width: 350px) {
  .wc-ko-kpis { grid-template-columns: 1fr; }
  .wc-ko-bracket { --ko-column-width: 260px; }
}

@supports not (overflow: clip) {
  .wc-ko-page { overflow-x: hidden; }
}

@supports not selector(:has(*)) {
  @media (max-width: 700px) {
    .wc-ko-bracket { max-width: calc(100vw - 24px); }
  }
}
