/* Target the F1 widget container */
.f1 {
  height: auto !important;
  max-height: none !important;
  min-height: 560px !important;
}

/* Individual sport widget containers for granular control */
.epl {
  height: auto !important;
  max-height: none !important;
  min-height: 800px !important;
}

.efl {
  height: auto !important;
  max-height: none !important;
  min-height: 800px !important;
}

.mlb {
  height: auto !important;
  max-height: none !important;
  min-height: 825px !important;
}

.nrl {
  height: auto !important;
  max-height: none !important;
  min-height: 825px !important;
}

.nba {
  height: auto !important;
  max-height: none !important;
  min-height: 800px !important;
}

.cfb {
  height: auto !important;
  max-height: none !important;
  min-height: 825px !important;
}

/* NFL requires more vertical space for divisional view */
.nfl {
  height: auto !important;
  max-height: none !important;
  min-height: 950px !important;
}

/* Target the bracket container to prevent clipping */
.bracket {
  height: auto !important;
  max-height: none !important;
  min-height: 750px !important;
}

/* March Madness requires specific vertical space for 16 teams per column */
.ncaam {
  height: auto !important;
  max-height: none !important;
  min-height: 875px !important;
}

/* 2026 FIFA World Cup bracket - split view with 8 rounds per side */
.world-cup {
  height: auto !important;
  max-height: none !important;
  min-height: 700px !important;
}

/* World Cup Schedule */
.world-cup-schedule {
  height: auto !important;
  max-height: none !important;
  min-height: 600px !important;
}

/* --- THE IFRAME TOP HEADER SPACING FIX --- */
/* 1. Pull the iframe widgets up by 20px to close the gap */
.epl, .efl, .mlb, .nrl, .nba, .cfb, .nfl, .f1, .bracket, .ncaam, .world-cup, .world-cup-schedule {
  margin-top: -20px !important;
  position: relative;
  z-index: 10;
}

/* --- TRUE BLACK / STEALTH THEME OVERRIDES --- */
/* Force main background to pitch black */
html, body, #__next, .min-h-screen {
  background-color: #000000 !important;
  background-image: none !important;
}

/* Force widget cards/containers to be very dark grey */
.dark .bg-white\/5,
.dark .bg-black\/50,
.dark .bg-zinc-800\/50,
.bg-white\/5,
.bg-white\/10 {
  background-color: #121212 !important;
  border-color: #27272a !important;
}

/* Force headers to match */
header, 
nav,
.dark .bg-zinc-900 {
  background-color: #000000 !important;
}