
.tfad-wc-strip {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 14px;
  margin: 10px 0 14px;
  font-family: inherit;
}

.tfad-wc-inner {
  max-width: 1180px;
  margin: 0 auto;
  box-sizing: border-box;
  background: #f7f5ef;
  border: 1px solid rgba(20, 28, 24, 0.12);
  border-radius: 7px;
  padding: 8px 10px 9px;
  overflow: hidden;
}

.tfad-wc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.tfad-wc-heading {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  flex-wrap: wrap;
}

.tfad-wc-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: #2f6e3f;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
}

.tfad-wc-kicker:hover {
  color: #fff;
  background: #245a32;
  text-decoration: none;
}

.tfad-wc-title {
  color: #101514;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 750;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.tfad-wc-note {
  color: rgba(16, 21, 20, 0.64);
  font-size: 12px;
  line-height: 1.2;
  white-space: normal;
}

.tfad-wc-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.tfad-wc-full-link {
  color: rgba(16, 21, 20, .72);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.tfad-wc-full-link:hover {
  color: #2f6e3f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tfad-wc-controls {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.tfad-wc-btn {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(16, 21, 20, 0.18);
  border-radius: 50%;
  background: #fff;
  color: #1a211f;
  cursor: pointer;
  line-height: 1;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tfad-wc-btn:hover {
  border-color: rgba(16, 21, 20, 0.34);
}

.tfad-wc-track-wrap {
  width: 100%;
  overflow: hidden;
}

.tfad-wc-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-sizing: border-box;
  padding-left: 8px;
  padding-right: 8px;
  scroll-padding-left: 8px;
  scroll-snap-type: x mandatory;
}

.tfad-wc-track::-webkit-scrollbar {
  display: none;
}

.tfad-wc-card {
  flex: 0 0 255px;
  max-width: 255px;
  background: #fff;
  border: 1px solid rgba(16, 21, 20, 0.12);
  border-radius: 6px;
  padding: 7px 9px 6px;
  box-sizing: border-box;
  color: #111;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.tfad-wc-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}

.tfad-wc-group {
  font-size: 11px;
  line-height: 1;
  color: rgba(16, 21, 20, 0.67);
  font-weight: 650;
  text-transform: uppercase;
  white-space: nowrap;
}

.tfad-wc-status,
.tfad-wc-time {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 0 5px;
  border-radius: 4px;
  background: #141816;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.tfad-wc-live {
  background: #2f6e3f;
}

.tfad-wc-team-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  border-top: 1px solid rgba(16, 21, 20, 0.11);
}

.tfad-wc-team-row:first-of-type {
  border-top: 0;
}

.tfad-wc-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 20px;
  overflow: hidden;
}

.tfad-wc-flag-img {
  width: 22px;
  max-height: 16px;
  object-fit: contain;
  display: block;
}

.tfad-wc-code {
  font-size: 10px;
  line-height: 1;
  color: rgba(16, 21, 20, .62);
  font-weight: 700;
}

.tfad-wc-team {
  min-width: 0;
  color: #111;
  font-size: 15.5px;
  line-height: 1.1;
  font-weight: 650;
  letter-spacing: -0.025em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tfad-wc-score {
  font-size: 15.5px;
  line-height: 1;
  font-weight: 800;
  text-align: right;
}

.tfad-wc-empty {
  padding: 8px 4px 2px;
  color: rgba(16,21,20,.67);
  font-size: 13px;
  line-height: 1.35;
}


.tfad-wc-schedule {
  width: min(960px, calc(100vw - 32px));
  max-width: none;
  margin: 34px 0 52px 50%;
  transform: translateX(-50%);
  padding: 0;
  box-sizing: border-box;
  color: #111;
  font-family: inherit;
}

.tfad-wc-schedule-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 30px;
  align-items: center;
  margin-bottom: 20px;
  padding: 30px 32px;
  background: #fffdf8;
  border: 1px solid rgba(16,21,20,.13);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(16,21,20,.035);
}

.tfad-wc-schedule-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 10px;
  border-radius: 999px;
  background: #2f6e3f;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: .045em;
  margin: 0 0 16px;
}

.tfad-wc-schedule-hero h2 {
  max-width: 520px;
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
}

.tfad-wc-schedule-lead {
  max-width: 480px;
  margin: 0;
  color: rgba(16,21,20,.72);
  font-size: 15.5px;
  line-height: 1.58;
}

.tfad-wc-schedule-updated {
  margin: 18px 0 0;
  color: rgba(16,21,20,.55);
  font-size: 12.5px;
  line-height: 1.35;
}

.tfad-wc-schedule-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tfad-wc-schedule-panel div {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(16,21,20,.11);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
}

.tfad-wc-schedule-panel strong {
  display: block;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 650;
}

.tfad-wc-schedule-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(16,21,20,.68);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 650;
  text-transform: none;
}

.tfad-wc-next-match {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  padding: 19px 24px;
  background: #fff;
  border: 1px solid rgba(16,21,20,.13);
  border-left: 4px solid #2f6e3f;
  border-radius: 11px;
  box-shadow: 0 8px 28px rgba(16,21,20,.025);
}

.tfad-wc-next-match-label {
  color: #2f6e3f;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: .045em;
}

.tfad-wc-next-match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
}

.tfad-wc-next-match-team {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.tfad-wc-next-match-team img {
  width: 28px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}

.tfad-wc-next-match-team strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 650;
}

.tfad-wc-next-match-separator {
  color: rgba(16,21,20,.34);
  font-size: 20px;
}

.tfad-wc-next-match-time {
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  background: #2f6e3f;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.tfad-wc-groups {
  margin: 0 0 24px;
  padding: 26px 28px;
  background: #fffdf8;
  border: 1px solid rgba(16,21,20,.12);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(16,21,20,.025);
  scroll-margin-top: 88px;
}

.tfad-wc-groups-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(16,21,20,.10);
}

.tfad-wc-groups-kicker {
  margin: 0 0 7px;
  color: #2f6e3f;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tfad-wc-groups-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.tfad-wc-groups-head p:last-child {
  margin: 0;
  color: rgba(16,21,20,.62);
  font-size: 13.5px;
  line-height: 1.5;
}

.tfad-wc-groups-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tfad-wc-group-card {
  background: #fff;
  border: 1px solid rgba(16,21,20,.10);
  border-radius: 10px;
  padding: 13px;
  min-width: 0;
}

.tfad-wc-group-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.tfad-wc-group-card header strong {
  color: #2f6e3f;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.tfad-wc-group-card header span {
  color: rgba(16,21,20,.48);
  font-size: 11px;
  line-height: 1;
  font-weight: 750;
  white-space: nowrap;
}

.tfad-wc-group-card ul {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.tfad-wc-group-team {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 31px;
  border-top: 1px solid rgba(16,21,20,.08);
  color: #111;
  font-size: 14.5px;
  line-height: 1.18;
  font-weight: 650;
}

.tfad-wc-group-team:first-child { border-top: 0; }
.tfad-wc-group-team > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tfad-wc-schedule-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.tfad-wc-schedule-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid rgba(16,21,20,.13);
  border-radius: 999px;
  background: #fff;
  color: rgba(16,21,20,.76);
  font-size: 13px;
  line-height: 1;
  font-weight: 750;
  text-decoration: none;
}

.tfad-wc-schedule-nav a:first-child {
  background: #2f6e3f;
  color: #fff;
  border-color: #2f6e3f;
}

.tfad-wc-schedule-nav a:hover {
  color: #2f6e3f;
  border-color: rgba(47,110,63,.36);
  text-decoration: none;
}

.tfad-wc-schedule-nav a:first-child:hover { color: #fff; }

.tfad-wc-schedule-timeline {
  display: grid;
  gap: 28px;
}

.tfad-wc-day { margin: 0; scroll-margin-top: 88px; }

.tfad-wc-day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16,21,20,.13);
}

.tfad-wc-day-title {
  font-size: 22px;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.035em;
}

.tfad-wc-day-head span {
  color: rgba(16,21,20,.58);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  white-space: nowrap;
}

.tfad-wc-day-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.tfad-wc-schedule-match {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(16,21,20,.12);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 1px 0 rgba(16,21,20,.025);
}

.tfad-wc-schedule-match-live {
  border-color: rgba(47,110,63,.42);
  box-shadow: inset 0 0 0 1px rgba(47,110,63,.12);
}

.tfad-wc-schedule-meta {
  display: grid;
  gap: 9px;
  color: rgba(16,21,20,.62);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 760;
}

.tfad-wc-schedule-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 8px;
  border-radius: 999px;
  background: #141816;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}

.tfad-wc-schedule-status-finished {
  background: rgba(16,21,20,.10);
  color: rgba(16,21,20,.72);
}

.tfad-wc-schedule-status-live { background: #2f6e3f; color: #fff; }
.tfad-wc-schedule-status-muted { background: rgba(16,21,20,.10); color: rgba(16,21,20,.58); }

.tfad-wc-schedule-team {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 42px;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  border-top: 1px solid rgba(16,21,20,.10);
  font-size: 16.5px;
  font-weight: 650;
}

.tfad-wc-schedule-team:first-child { border-top: 0; }
.tfad-wc-schedule-team span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tfad-wc-schedule-team strong {
  text-align: right;
  font-size: 18px;
  font-weight: 850;
}

.tfad-wc-schedule-empty {
  display: grid;
  gap: 5px;
  max-width: 720px;
  margin: 32px auto;
  padding: 18px;
  background: #fffdf8;
  border: 1px solid rgba(16,21,20,.12);
  border-radius: 9px;
}

.tfad-wc-schedule-empty span { color: rgba(16,21,20,.66); font-size: 14px; }

@media (max-width: 980px) {
  .tfad-wc-schedule-hero { grid-template-columns: 1fr; }
  .tfad-wc-schedule-panel { max-width: 520px; }
  .tfad-wc-groups-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .tfad-wc-strip { padding: 0 10px; margin: 8px 0 12px; }
  .tfad-wc-inner { padding: 8px; }
  .tfad-wc-title { font-size: 16px; }
  .tfad-wc-note { flex-basis: 100%; font-size: 11.5px; }
  .tfad-wc-actions { width: 100%; justify-content: space-between; }
  .tfad-wc-full-link { font-size: 11.5px; }
  .tfad-wc-card { flex-basis: 230px; max-width: 230px; }
  .tfad-wc-team { font-size: 14.5px; }
  .tfad-wc-score { font-size: 14.5px; }
  .tfad-wc-schedule { width: min(100%, calc(100vw - 24px)); margin-top: 22px; }
  .tfad-wc-schedule-hero { gap: 16px; padding: 22px; }
  .tfad-wc-schedule-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
  .tfad-wc-schedule-panel div { min-height: 92px; padding: 12px 8px; }
  .tfad-wc-schedule-panel strong { font-size: 26px; }
  .tfad-wc-schedule-panel span { font-size: 11px; }
  .tfad-wc-next-match { grid-template-columns: 1fr; gap: 12px; padding: 17px 18px; }
  .tfad-wc-next-match-teams { justify-content: flex-start; flex-wrap: wrap; gap: 10px; }
  .tfad-wc-next-match-team strong { white-space: normal; }
  .tfad-wc-groups { padding: 18px; }
  .tfad-wc-groups-head { grid-template-columns: 1fr; gap: 8px; align-items: start; }
  .tfad-wc-groups-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tfad-wc-schedule-match { grid-template-columns: 1fr; gap: 10px; padding: 13px 14px; }
  .tfad-wc-schedule-meta { display: flex; justify-content: space-between; align-items: center; }
  .tfad-wc-day-title { font-size: 20px; }
}

@media (max-width: 480px) {
  .tfad-wc-groups-grid { grid-template-columns: 1fr; }
  .tfad-wc-schedule-panel { grid-template-columns: 1fr; }
  .tfad-wc-schedule-panel div { min-height: auto; align-items: flex-start; text-align: left; }
}

/* Pasek jest drukowany przez wp_body_open, a JS przenosi go pod header. */
.tfad-wc-strip[data-tfad-wc-auto="1"]:not([data-tfad-wc-mounted="1"]) { visibility: hidden; }

/* v1.1.8 — menu nad hero, spójne godziny lokalne, szlif graficzny */
.tfad-wc-schedule-hero {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
}

.tfad-wc-schedule-lead {
  max-width: 430px;
}

.tfad-wc-schedule-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tfad-wc-schedule-updated::before {
  content: "↻";
  color: #2f6e3f;
  font-size: 16px;
  line-height: 1;
}

.tfad-wc-schedule-panel div svg {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  fill: none;
  stroke: #2f6e3f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tfad-wc-schedule-panel span {
  text-transform: none;
}

.tfad-wc-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16,21,20,.10);
}

.tfad-wc-section-head p {
  margin: 0;
  color: #2f6e3f;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.tfad-wc-section-head span {
  color: rgba(16,21,20,.54);
  font-size: 12px;
  font-weight: 750;
}

.tfad-wc-today {
  margin: 0 0 20px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid rgba(16,21,20,.13);
  border-left: 4px solid #2f6e3f;
  border-radius: 11px;
  box-shadow: 0 8px 28px rgba(16,21,20,.025);
}

.tfad-wc-today-list {
  display: grid;
  gap: 9px;
}

.tfad-wc-today-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid rgba(16,21,20,.08);
}

.tfad-wc-today-card:first-child { border-top: 0; padding-top: 0; }
.tfad-wc-today-card:last-child { padding-bottom: 0; }

.tfad-wc-today-meta {
  display: grid;
  gap: 8px;
  align-items: start;
  color: rgba(16,21,20,.62);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
}

.tfad-wc-today-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 0;
}

.tfad-wc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  padding: 4px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(16,21,20,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
}

.tfad-wc-tabs button {
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(16,21,20,.72);
  font: inherit;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}

.tfad-wc-tabs button:hover,
.tfad-wc-tabs button:focus-visible {
  color: #2f6e3f;
  outline: none;
}

.tfad-wc-tabs button.is-active {
  background: #2f6e3f;
  color: #fff;
  box-shadow: 0 4px 12px rgba(47,110,63,.16);
}

.tfad-wc-tab-panel { display: none; }
.tfad-wc-tab-panel.is-active { display: block; }

.tfad-wc-groups-tables {
  margin: 0;
}

.tfad-wc-groups-tables .tfad-wc-groups-head {
  grid-template-columns: 1fr;
  align-items: start;
}

.tfad-wc-group-tables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tfad-wc-group-table-card {
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(16,21,20,.10);
  border-radius: 10px;
  padding: 14px 14px 10px;
  box-shadow: 0 1px 0 rgba(16,21,20,.025);
}

.tfad-wc-group-table-card header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 9px;
}

.tfad-wc-group-table-card header strong {
  color: #2f6e3f;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.tfad-wc-group-table-card header span {
  color: rgba(16,21,20,.46);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.tfad-wc-group-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.tfad-wc-group-table {
  width: 100%;
  min-width: 430px;
  border-collapse: collapse;
  table-layout: fixed;
}

.tfad-wc-group-table th,
.tfad-wc-group-table td {
  padding: 8px 5px;
  border-top: 1px solid rgba(16,21,20,.08);
  text-align: center;
  color: rgba(16,21,20,.78);
  font-size: 12px;
  line-height: 1.1;
}

.tfad-wc-group-table thead th {
  border-top: 0;
  color: rgba(16,21,20,.50);
  font-size: 10.5px;
  font-weight: 850;
  text-transform: uppercase;
}

.tfad-wc-group-table .tfad-wc-group-table-team {
  width: 48%;
  text-align: left;
}

.tfad-wc-group-position {
  display: inline-flex;
  width: 18px;
  color: rgba(16,21,20,.52);
  font-weight: 800;
}

.tfad-wc-group-team-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: calc(100% - 22px);
  vertical-align: middle;
  color: #111;
  font-size: 13.5px;
  font-weight: 750;
}

.tfad-wc-group-team-inline > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tfad-wc-today-list-tab {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid rgba(16,21,20,.12);
  border-radius: 11px;
}

@media (max-width: 980px) {
  .tfad-wc-group-tables-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .tfad-wc-tabs { width: 100%; border-radius: 18px; }
  .tfad-wc-tabs button { flex: 1 1 auto; }
  .tfad-wc-today-card { grid-template-columns: 1fr; gap: 10px; }
  .tfad-wc-today-teams { justify-content: flex-start; flex-wrap: wrap; gap: 10px; }
  .tfad-wc-today-teams .tfad-wc-next-match-team strong { white-space: normal; }
}

@media (max-width: 480px) {
  .tfad-wc-schedule-panel div svg { width: 30px; height: 30px; margin-bottom: 8px; }
  .tfad-wc-group-table { min-width: 410px; }
}

/* v1.1.7 — scorers tab and duplicate-today cleanup */
.tfad-wc-scorers {
  margin: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(16,21,20,.10);
  border-radius: 11px;
  box-shadow: 0 1px 0 rgba(16,21,20,.025);
}

.tfad-wc-scorers-head {
  margin-bottom: 14px;
}

.tfad-wc-scorers-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.tfad-wc-scorers-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  table-layout: fixed;
}

.tfad-wc-scorers-table th,
.tfad-wc-scorers-table td {
  padding: 11px 8px;
  border-top: 1px solid rgba(16,21,20,.08);
  color: rgba(16,21,20,.78);
  font-size: 13px;
  line-height: 1.15;
  text-align: center;
}

.tfad-wc-scorers-table thead th {
  border-top: 0;
  color: rgba(16,21,20,.52);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.tfad-wc-scorers-table .tfad-wc-scorers-player {
  width: 42%;
  text-align: left;
}

.tfad-wc-scorers-player strong {
  color: #111;
  font-weight: 800;
}

.tfad-wc-today .tfad-wc-next-match-team img,
.tfad-wc-today-card .tfad-wc-next-match-team img,
.tfad-wc-next-match .tfad-wc-next-match-team img {
  width: 28px;
  height: 20px;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(16,21,20,.08);
}

@media (max-width: 768px) {
  .tfad-wc-scorers { padding: 16px; }
  .tfad-wc-scorers-table { min-width: 560px; }
}


/* v1.1.8 — dopracowanie góry strony i etykiet */
.tfad-wc-tabs {
  margin: 0 0 18px;
}

.tfad-wc-schedule-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 88% 18%, rgba(47,110,63,.10), transparent 30%),
    linear-gradient(135deg, #fffdf8 0%, #fff 56%, #f7f5ee 100%);
}

.tfad-wc-schedule-hero::after {
  content: "";
  position: absolute;
  inset: 14px 18px auto auto;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(47,110,63,.13);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(47,110,63,.10) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(47,110,63,.08) 50%, transparent 51%);
  opacity: .55;
  z-index: -1;
  transform: rotate(-10deg);
}

.tfad-wc-schedule-hero::before {
  content: "MUNDIAL 2026";
  position: absolute;
  right: 28px;
  bottom: 18px;
  color: rgba(47,110,63,.055);
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.045em;
  z-index: -1;
  pointer-events: none;
}

.tfad-wc-schedule-updated {
  font-variant-numeric: tabular-nums;
}

.tfad-wc-schedule-meta span {
  letter-spacing: .035em;
}

.tfad-wc-schedule-team span:nth-child(2),
.tfad-wc-next-match-team strong {
  overflow: visible;
  text-overflow: clip;
}

@media (max-width: 720px) {
  .tfad-wc-schedule-hero::before,
  .tfad-wc-schedule-hero::after { display: none; }
  .tfad-wc-tabs { width: 100%; justify-content: flex-start; }
}

/* v1.1.9 — hero image and local update time polish */
.tfad-wc-featured-visual {
  margin: 0 0 18px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(33, 55, 42, .12);
  box-shadow: 0 18px 42px rgba(22, 33, 28, .10);
  background: #1d3429;
}

.tfad-wc-featured-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tfad-wc-updated-time {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .tfad-wc-featured-visual {
    border-radius: 16px;
    margin-bottom: 14px;
  }
}

/* v1.2.0 — uproszczona góra strony: bez dużego kafla, statystyki w zakładce */
.tfad-wc-schedule .tfad-wc-featured-visual,
.tfad-wc-schedule .tfad-wc-schedule-hero {
  display: none !important;
}

.tfad-wc-schedule .tfad-wc-tabs {
  margin-bottom: 14px;
}

.tfad-wc-schedule-updated-compact {
  margin: 0 0 14px;
  color: rgba(16,21,20,.56);
  font-size: 13px;
  line-height: 1.35;
}

.tfad-wc-schedule .tfad-wc-today {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 0;
  padding: 28px 32px;
  border-radius: 16px;
  border-left: 4px solid #2f6e3f;
  background:
    radial-gradient(circle at 88% 16%, rgba(47,110,63,.105), transparent 30%),
    linear-gradient(135deg, #fffdf8 0%, #fff 58%, #f7f5ee 100%);
  box-shadow: 0 14px 34px rgba(16,21,20,.055);
}

.tfad-wc-schedule .tfad-wc-today::after {
  content: "";
  position: absolute;
  inset: 16px 22px auto auto;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(47,110,63,.13);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49%, rgba(47,110,63,.10) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(47,110,63,.08) 50%, transparent 51%);
  opacity: .46;
  z-index: -1;
  transform: rotate(-10deg);
}

.tfad-wc-schedule .tfad-wc-today::before {
  content: "MUNDIAL 2026";
  position: absolute;
  right: 26px;
  bottom: 16px;
  color: rgba(47,110,63,.045);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.045em;
  z-index: -1;
  pointer-events: none;
}

.tfad-wc-schedule .tfad-wc-today-list {
  position: relative;
  z-index: 1;
}

.tfad-wc-stats-panel {
  display: grid;
  gap: 18px;
}

.tfad-wc-stats-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tfad-wc-stats-summary div {
  min-height: 136px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(16,21,20,.10);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(16,21,20,.025);
  text-align: center;
}

.tfad-wc-stats-summary svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #2f6e3f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tfad-wc-stats-summary strong {
  color: #0d0d0d;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: .95;
  font-weight: 850;
  letter-spacing: -.05em;
}

.tfad-wc-stats-summary span {
  color: rgba(16,21,20,.68);
  font-size: 13px;
  font-weight: 750;
}

@media (max-width: 720px) {
  .tfad-wc-schedule .tfad-wc-today {
    padding: 20px 18px;
  }
  .tfad-wc-schedule .tfad-wc-today::before,
  .tfad-wc-schedule .tfad-wc-today::after {
    display: none;
  }
  .tfad-wc-stats-summary {
    grid-template-columns: 1fr;
  }
  .tfad-wc-stats-summary div {
    min-height: 104px;
  }
}


/* v1.2.1 — faza grupowa / faza eliminacji w zakładce Grupy i tabele */
.tfad-wc-phase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 4px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(16,21,20,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.70);
}

.tfad-wc-phase-tabs button {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(16,21,20,.70);
  font: inherit;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.tfad-wc-phase-tabs button:hover,
.tfad-wc-phase-tabs button:focus-visible {
  color: #2f6e3f;
  outline: none;
}

.tfad-wc-phase-tabs button.is-active {
  background: #2f6e3f;
  color: #fff;
  box-shadow: 0 4px 12px rgba(47,110,63,.14);
}

.tfad-wc-phase-panel { display: none; }
.tfad-wc-phase-panel.is-active { display: block; }

.tfad-wc-knockout-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(16,21,20,.10);
}

.tfad-wc-knockout-head h3 {
  margin: 4px 0 0;
  color: #101514;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.tfad-wc-knockout-head > span {
  color: rgba(16,21,20,.56);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.tfad-wc-knockout-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tfad-wc-knockout-match {
  min-width: 0;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(16,21,20,.10);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(16,21,20,.025);
}

.tfad-wc-knockout-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.tfad-wc-knockout-empty {
  padding: 18px 20px;
  border: 1px solid rgba(16,21,20,.10);
  border-radius: 12px;
  background: #fff;
  color: rgba(16,21,20,.62);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .tfad-wc-knockout-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .tfad-wc-phase-tabs {
    width: 100%;
    border-radius: 18px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .tfad-wc-phase-tabs::-webkit-scrollbar { display: none; }
  .tfad-wc-phase-tabs button { flex: 0 0 auto; }
  .tfad-wc-knockout-match {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


/* v1.2.3 — mobile hardening: strip header, tabs, clean top selectors */
.tfad-wc-schedule .tfad-wc-featured-visual,
.tfad-wc-schedule .tfad-wc-schedule-hero {
  display: none !important;
}

.tfad-wc-schedule[data-tfad-active-tab="tables"] > .tfad-wc-today,
.tfad-wc-schedule[data-tfad-active-tab="stats"] > .tfad-wc-today,
.tfad-wc-schedule[data-tfad-active-tab="tables"] > .tfad-wc-next-match,
.tfad-wc-schedule[data-tfad-active-tab="stats"] > .tfad-wc-next-match,
.tfad-wc-schedule[data-tfad-active-tab="tables"] > .tfad-wc-schedule-updated-compact,
.tfad-wc-schedule[data-tfad-active-tab="stats"] > .tfad-wc-schedule-updated-compact {
  display: none !important;
}

@media (max-width: 640px) {
  .tfad-wc-strip {
    padding: 0 8px;
    margin: 8px 0 12px;
  }

  .tfad-wc-inner {
    padding: 12px 10px 10px;
    border-radius: 10px;
  }

  .tfad-wc-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    margin-bottom: 10px;
  }

  .tfad-wc-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    min-width: 0;
  }

  .tfad-wc-kicker {
    width: fit-content;
    max-width: 100%;
  }

  .tfad-wc-title {
    white-space: normal;
    font-size: 18px;
    line-height: 1.12;
    letter-spacing: -0.03em;
  }

  .tfad-wc-note {
    max-width: 240px;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
  }

  .tfad-wc-actions {
    width: auto;
    justify-content: flex-end;
    align-self: center;
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .tfad-wc-full-link {
    display: none;
  }

  .tfad-wc-controls {
    gap: 8px;
  }

  .tfad-wc-btn {
    width: 44px;
    height: 32px;
    font-size: 16px;
  }

  .tfad-wc-track {
    gap: 10px;
    padding-left: 0;
    padding-right: 0;
    scroll-padding-left: 0;
  }

  .tfad-wc-card {
    flex: 0 0 calc(100vw - 88px);
    max-width: calc(100vw - 88px);
    min-width: 245px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .tfad-wc-team-row {
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    min-height: 30px;
  }

  .tfad-wc-team {
    font-size: 17px;
  }

  .tfad-wc-score {
    font-size: 17px;
  }

  .tfad-wc-schedule {
    width: calc(100vw - 20px);
    margin-top: 20px;
  }

  .tfad-wc-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    border-radius: 999px;
    scrollbar-width: none;
  }

  .tfad-wc-tabs::-webkit-scrollbar { display: none; }
  .tfad-wc-tabs button { flex: 0 0 auto; white-space: nowrap; padding: 0 16px; }

  .tfad-wc-today {
    padding: 18px 16px !important;
    border-radius: 14px !important;
  }

  .tfad-wc-section-head {
    align-items: center;
    gap: 10px;
  }

  .tfad-wc-today-card {
    grid-template-columns: 1fr !important;
    gap: 10px;
    padding: 12px 0;
  }

  .tfad-wc-today-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .tfad-wc-today-teams {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 9px;
  }

  .tfad-wc-today-teams .tfad-wc-next-match-team {
    font-size: clamp(18px, 5.2vw, 22px);
    gap: 7px;
  }

  .tfad-wc-today-teams .tfad-wc-next-match-team strong {
    white-space: normal;
    overflow: visible;
  }

  .tfad-wc-next-match-separator {
    flex: 0 0 auto;
  }

  .tfad-wc-day-title {
    font-size: 19px;
  }

  .tfad-wc-day-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .tfad-wc-schedule-match,
  .tfad-wc-knockout-match {
    grid-template-columns: 1fr !important;
    gap: 10px;
    padding: 13px 14px;
  }

  .tfad-wc-schedule-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .tfad-wc-schedule-team {
    grid-template-columns: 30px minmax(0, 1fr) 34px;
    gap: 8px;
    font-size: 15.5px;
  }

  .tfad-wc-group-tables-grid,
  .tfad-wc-knockout-list {
    grid-template-columns: 1fr !important;
  }

  .tfad-wc-group-table-card,
  .tfad-wc-scorers,
  .tfad-wc-today-list-tab {
    padding: 14px;
    border-radius: 12px;
  }

  .tfad-wc-group-table-wrap,
  .tfad-wc-scorers-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 380px) {
  .tfad-wc-note { max-width: 205px; }
  .tfad-wc-card {
    flex-basis: calc(100vw - 76px);
    max-width: calc(100vw - 76px);
  }
  .tfad-wc-today-teams .tfad-wc-next-match-team { font-size: 18px; }
}
