/* V14 desktop/iPad: reuse the country explorer's existing button and panel.
   Only the banner is collapsed; the original listener, country choices and player remain intact. */
@media (min-width: 761px) and (min-height: 621px) {
  html body:not(.toptv-immersive-open) #live.hero {
    position: relative;
  }
  html body:not(.toptv-immersive-open) #live.hero #toptvCountryExplorerV14 {
    margin: 0 !important;
    min-height: 0 !important;
  }
  html body:not(.toptv-immersive-open) #live.hero #toptvCountryExplorerV14 .toptv-country-explorer-banner {
    display: block !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  /* Keep the title for aria-labelledby without keeping a visible banner. */
  html body:not(.toptv-immersive-open) #live.hero #toptvCountryExplorerV14 .toptv-country-explorer-copy {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    pointer-events: none !important;
  }
  html body:not(.toptv-immersive-open) #live.hero #toptvCountryExplorerV14 .toptv-country-explorer-toggle {
    position: absolute !important;
    z-index: 20 !important;
    top: 0 !important;
    left: 90px !important;
    width: 130px !important;
    max-width: 130px !important;
    min-width: 0 !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 2px 4px !important;
    gap: 2px !important;
    border-width: 2px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    font-size: 10px !important;
  }
  html body:not(.toptv-immersive-open) #live.hero #toptvCountryExplorerV14 .toptv-country-toggle-action {
    flex: 0 0 auto;
    font-size: 10px !important;
  }
  html body:not(.toptv-immersive-open) #live.hero #toptvCountryExplorerV14 .toptv-country-current {
    min-width: 0;
    gap: 2px !important;
    font-size: 10px !important;
  }
  html body:not(.toptv-immersive-open) #live.hero #toptvCountryExplorerV14 .toptv-country-current-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  html body:not(.toptv-immersive-open) #live.hero #toptvCountryExplorerV14 .toptv-country-current-flag {
    flex: 0 0 auto;
    font-size: 12px !important;
  }
  html body:not(.toptv-immersive-open) #live.hero #toptvCountryExplorerV14 .toptv-country-toggle-arrow {
    flex: 0 0 auto;
    font-size: 8px !important;
  }
}
/* The 160px left sidebar at narrow iPad widths still fits the single-line header. */
@media (min-width: 761px) and (max-width: 900px) and (min-height: 621px) {
  html body:not(.toptv-immersive-open) #live.hero > aside.channels h2 {
    font-size: 11px !important;
  }
  html body:not(.toptv-immersive-open) #live.hero #toptvCountryExplorerV14 .toptv-country-explorer-toggle {
    left: 66px !important;
    width: 94px !important;
    max-width: 94px !important;
    height: 27px !important;
    min-height: 27px !important;
    padding: 1px 2px !important;
    gap: 1px !important;
    font-size: 8px !important;
  }
  html body:not(.toptv-immersive-open) #live.hero #toptvCountryExplorerV14 .toptv-country-toggle-action,
  html body:not(.toptv-immersive-open) #live.hero #toptvCountryExplorerV14 .toptv-country-current {
    font-size: 8px !important;
  }
  html body:not(.toptv-immersive-open) #live.hero #toptvCountryExplorerV14 .toptv-country-current-flag {
    font-size: 10px !important;
  }
}
