/* Responsive EFL featured matchup — deliberately independent of legacy poster positioning. */
#spotlight .spot-slide.match-slide {
  isolation: isolate !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(69, 163, 255, .27), transparent 44%),
    radial-gradient(circle at 12% 100%, rgba(23, 105, 232, .18), transparent 38%),
    linear-gradient(145deg, #020713 0%, #071a35 52%, #031020 100%) !important;
  border: 1px solid rgba(69, 163, 255, .27) !important;
}

#spotlight .spot-slide.match-slide::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: .72 !important;
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(255, 217, 121, .16) 50%, transparent 50.15%),
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(69, 163, 255, .045) 55px 56px) !important;
}

#spotlight .spot-slide.match-slide::after,
#spotlight .spot-slide.match-slide > img {
  display: none !important;
}

#spotlight .spot-slide.match-slide .match-content {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px 70px 38px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
}

.match-slide-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.match-head-main,
.match-head-meta {
  display: flex;
  align-items: center;
}

.match-head-main { gap: 11px; }
.match-head-meta { gap: 9px; }

.match-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid rgba(255, 217, 121, .32);
  box-shadow: 0 0 22px rgba(23, 105, 232, .3);
}

.match-kicker {
  color: #8fbdf6;
  font-size: 8px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.match-heading {
  margin-top: 4px;
  color: #fff;
  font-size: clamp(22px, 2.6vw, 31px);
  line-height: .95;
  font-weight: 1000;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.match-live,
.match-week {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 8px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .1em;
  white-space: nowrap;
}

.match-live {
  gap: 6px;
  color: #cfe5ff;
  background: rgba(23, 105, 232, .14);
  border: 1px solid rgba(69, 163, 255, .28);
}

.match-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #69e5a8;
  box-shadow: 0 0 11px rgba(105, 229, 168, .72);
}

.match-week {
  color: #221704;
  background: linear-gradient(135deg, #ffe695, #e8b84a);
  border: 1px solid rgba(255, 238, 177, .62);
}

#spotlight .spot-slide.match-slide #featuredMatch {
  position: relative !important;
  inset: auto !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  width: auto !important;
  height: auto !important;
}

#spotlight .spot-slide.match-slide .match-board {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 13px !important;
}

#spotlight .spot-slide.match-slide .match-team {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 15px !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 17px !important;
  border: 1px solid rgba(69, 163, 255, .24) !important;
  background: linear-gradient(155deg, rgba(14, 38, 72, .94), rgba(5, 15, 31, .96)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 16px 30px rgba(0, 0, 0, .25) !important;
}

#spotlight .spot-slide.match-slide .match-team:last-child {
  border-color: rgba(232, 184, 74, .3) !important;
  background: linear-gradient(155deg, rgba(32, 41, 60, .95), rgba(7, 17, 33, .97)) !important;
}

.match-team-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.match-team-copy { min-width: 0; }

.match-team-meta {
  display: block;
  margin-bottom: 5px;
  color: #8fbdf6;
  font-size: 7px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

#spotlight .spot-slide.match-slide .match-team-name {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: clamp(17px, 2vw, 24px) !important;
  line-height: 1.02 !important;
  font-weight: 1000 !important;
  letter-spacing: -.035em !important;
  text-align: left !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#spotlight .spot-slide.match-slide .win-prob {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
  color: #ffd979 !important;
  line-height: 1 !important;
  text-shadow: none !important;
}

.win-prob strong {
  color: #ffd979;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: .9;
  font-weight: 1000;
  letter-spacing: -.04em;
}

.win-prob span {
  margin-top: 5px;
  color: #91a8c6;
  font-size: 6px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.prob-track {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 5px;
  margin: 11px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(143, 189, 246, .12);
  box-shadow: inset 0 0 0 1px rgba(69, 163, 255, .1);
}

.prob-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1769e8, #45a3ff 72%, #ffd979);
  box-shadow: 0 0 13px rgba(69, 163, 255, .5);
}

#spotlight .spot-slide.match-slide .player-stack {
  position: static !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  display: grid !important;
  grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#spotlight .spot-slide.match-slide .player-chip {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  overflow: hidden !important;
  border: 1px solid rgba(69, 163, 255, .14) !important;
  border-radius: 10px !important;
  background: rgba(4, 13, 27, .64) !important;
}

#spotlight .spot-slide.match-slide .player-chip img {
  position: static !important;
  inset: auto !important;
  left: auto !important;
  top: auto !important;
  width: 32px !important;
  height: 32px !important;
  transform: none !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center top !important;
  background: #0c1b34 !important;
  box-shadow: 0 0 0 1px rgba(255, 217, 121, .28) !important;
}

.player-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

#spotlight .spot-slide.match-slide .player-pos,
#spotlight .spot-slide.match-slide .player-name {
  position: static !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  width: auto !important;
  transform: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-shadow: none !important;
}

#spotlight .spot-slide.match-slide .player-pos {
  flex: 0 0 auto;
  color: #ffd979 !important;
  font-size: 7px !important;
  font-weight: 1000 !important;
  letter-spacing: .04em !important;
}

#spotlight .spot-slide.match-slide .player-name {
  min-width: 0 !important;
  color: #f5f9ff !important;
  font-size: clamp(9px, 1vw, 12px) !important;
  font-weight: 850 !important;
  text-align: left !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.player-avatar-fallback {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #8fbdf6;
  background: #0c1b34;
  border: 1px solid rgba(69, 163, 255, .22);
  font-size: 10px;
  font-weight: 950;
}

#spotlight .spot-slide.match-slide .match-vs {
  position: relative !important;
  inset: auto !important;
  z-index: 2 !important;
  display: grid !important;
  place-items: center !important;
  width: auto !important;
  height: auto !important;
  color: #ffd979 !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
  letter-spacing: .08em !important;
  text-shadow: none !important;
}

.match-vs span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #061020;
  background: linear-gradient(145deg, #fff0ad, #dca735);
  border: 3px solid #0a1c36;
  box-shadow: 0 0 0 1px rgba(255, 217, 121, .55), 0 0 25px rgba(23, 105, 232, .36);
}

.match-loading,
.match-unavailable {
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 17px;
  border: 1px dashed rgba(69, 163, 255, .3);
  color: #a9bdd6;
  background: rgba(4, 13, 27, .42);
  font-size: 11px;
  font-weight: 750;
}

/* Give carousel indicators a real touch target without visually enlarging the dots. */
#spotlight .spot-dot {
  position: relative !important;
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  background: transparent !important;
}

#spotlight .spot-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #71839d;
  transition: width .18s ease, background .18s ease;
}

#spotlight .spot-dot.on::after {
  width: 19px;
  background: #ffd979;
  box-shadow: 0 0 12px rgba(255, 217, 121, .36);
}

@media (max-width: 760px) {
  #spotlight.matchup-active {
    height: 500px !important;
    min-height: 500px !important;
    aspect-ratio: auto !important;
  }

  #spotlight.matchup-active .spot-arrow {
    top: auto !important;
    bottom: 10px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 24px !important;
  }

  #spotlight.matchup-active .spot-arrow.prev { left: 12px !important; }
  #spotlight.matchup-active .spot-arrow.next { right: 12px !important; }
  #spotlight.matchup-active .spot-dots { bottom: 16px !important; }

  #spotlight .spot-slide.match-slide .match-content {
    padding: 16px 14px 57px !important;
    gap: 10px !important;
  }

  .match-slide-head { gap: 12px; }
  .match-head-main { gap: 8px; }
  .match-head-meta { gap: 7px; }
  .match-mark { width: 36px; height: 36px; flex-basis: 36px; border-radius: 9px; }
  .match-kicker { font-size: 7px; }
  .match-heading { margin-top: 3px; font-size: 22px; }
  .match-live { display: none; }
  .match-week { min-height: 29px; padding: 0 10px; font-size: 9px; }

  #spotlight .spot-slide.match-slide .match-board {
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(0, 1fr) 26px minmax(0, 1fr) !important;
    gap: 4px !important;
  }

  #spotlight .spot-slide.match-slide .match-team {
    padding: 9px 10px !important;
    border-radius: 13px !important;
  }

  .match-team-meta { margin-bottom: 4px; font-size: 8px; }
  #spotlight .spot-slide.match-slide .match-team-name { font-size: 18px !important; }
  .win-prob strong { font-size: 25px; }
  .win-prob span { margin-top: 4px; font-size: 7px; }
  .prob-track { height: 5px; margin: 7px 0 8px; }

  #spotlight .spot-slide.match-slide .player-stack {
    flex: 0 0 auto !important;
    grid-template-rows: repeat(3, 30px) !important;
    gap: 4px !important;
  }

  #spotlight .spot-slide.match-slide .player-chip {
    grid-template-columns: 31px minmax(0, 1fr) !important;
    gap: 8px !important;
    min-height: 30px !important;
    padding: 2px 8px !important;
    overflow: visible !important;
    border-radius: 8px !important;
  }

  #spotlight .spot-slide.match-slide .player-chip img,
  .player-avatar-fallback {
    width: 28px !important;
    height: 28px !important;
  }

  #spotlight .spot-slide.match-slide .player-pos { font-size: 8px !important; }
  #spotlight .spot-slide.match-slide .player-copy { height: 100%; align-items: center; }
  #spotlight .spot-slide.match-slide .player-name { display: flex !important; align-items: center !important; height: 100%; font-size: 12px !important; font-weight: 900 !important; }

  #spotlight .spot-slide.match-slide .match-vs {
    font-size: 9px !important;
    transform: translateY(-3px) !important;
  }

  .match-vs span {
    width: 32px;
    height: 32px;
    border-width: 2px;
  }
}

@media (max-width: 370px) {
  #spotlight.matchup-active { height: 510px !important; min-height: 510px !important; }
  #spotlight .spot-slide.match-slide .match-content { padding-left: 10px !important; padding-right: 10px !important; }
  .match-heading { font-size: 20px; }
  #spotlight .spot-slide.match-slide .player-name { font-size: 11px !important; }
}

@media (prefers-reduced-motion: reduce) {
  #spotlight .spot-dot::after { transition: none; }
}
