/* ???????????????????????????????????????????????????????
   INTERFILM ? Hub En direct (Radio + TV + Sports + Lecteur pro)
   ?????????????????????????????????????????????????????? */

/* Switcher interne retir? ? navigation via menu En direct */
#liveHubTabs {
  display: none !important;
}
.live-hub-tabs { display: none !important; }

/* Plein largeur ? plus de colonne centr?e ?troite */
#tvView {
  width: 100%;
  max-width: none;
}
#tvMainContent {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.live-hub-hero {
  padding: 16px clamp(14px, 2.2vw, 28px) 12px;
  max-width: none;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}
.live-hub-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--red2);
  margin: 12px 0 6px;
}
.live-hub-hero__title {
  font-family: var(--ff-head);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 6px;
}
.live-hub-hero__desc { color: var(--text2); font-size: 14px; max-width: 640px; margin: 0; }

/* ?? Radio ?? */
.radio-pane {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0 120px;
  box-sizing: border-box;
}
.radio-hero {
  position: relative;
  overflow: hidden;
  margin: 8px clamp(14px, 2.2vw, 28px) 18px;
  padding: 26px clamp(18px, 3vw, 32px) 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    rgba(8, 8, 16, 0.55);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  box-shadow: 0 18px 48px rgba(0,0,0,.35);
}
.radio-hero__glow {
  position: absolute;
  inset: -40% auto auto -10%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(232,48,74,.22), transparent 68%);
  pointer-events: none;
}
.radio-hero__kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ff6b7d;
}
.radio-hero .live-hub-hero__title {
  position: relative;
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 46px);
}
.radio-hero .live-hub-hero__desc {
  position: relative;
  margin: 0;
  max-width: 520px;
}
.radio-now-playing {
  margin: 0 clamp(14px, 2.2vw, 28px) 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.radio-np-inner { display: flex; align-items: center; gap: 14px; }
.radio-np-logo { width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: rgba(0,0,0,.3); }
.radio-np-name { font-weight: 800; font-size: 16px; }
.radio-np-cat { font-size: 12px; color: var(--text2); margin-top: 2px; }
.radio-np-live { color: var(--red2); font-weight: 700; }
.radio-np-stop {
  margin-left: auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(232,48,74,.2);
  color: var(--red2);
  cursor: pointer;
  font-size: 14px;
}
.radio-search-wrap {
  padding: 0 clamp(14px, 2.2vw, 28px) 12px;
}
.radio-search-wrap input {
  width: 100%;
  max-width: none;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 15px;
  box-sizing: border-box;
}
.radio-search-wrap input:focus {
  outline: none;
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 0 0 4px rgba(255,255,255,.06);
}
.radio-categories {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 0 clamp(14px, 2.2vw, 28px) 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.radio-categories::-webkit-scrollbar { display: none; }
.radio-cat-pill {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  color: var(--text2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.radio-cat-pill:hover { color: #fff; border-color: rgba(255,255,255,.2); }
.radio-cat-pill.active {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.radio-marquee-wrap {
  overflow: hidden;
  margin: 0 0 20px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.radio-marquee {
  display: flex;
  gap: 28px;
  animation: radio-marquee 40s linear infinite;
  width: max-content;
  padding: 8px 0;
}
.radio-marquee img {
  height: 44px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  opacity: .85;
  filter: grayscale(.2);
}
@keyframes radio-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  padding: 0 clamp(14px, 2.2vw, 28px);
  width: 100%;
  box-sizing: border-box;
}
.radio-station-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.radio-station-card:hover {
  border-color: rgba(255,255,255,.28);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.radio-station-card.is-playing {
  border-color: rgba(255,255,255,.42);
  box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 16px 36px rgba(232,48,74,.14);
}
.radio-station-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  padding: 6px;
}
.radio-station-name { font-size: 13px; font-weight: 800; line-height: 1.2; }
.radio-station-cat { font-size: 10px; color: var(--muted); font-weight: 600; }
.radio-station-fav {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.25);
  cursor: pointer;
  line-height: 1;
}
.radio-station-fav.active { color: #ff9500; }
.radio-empty,
.tv-sports-no-ch {
  color: rgba(255,255,255,.45);
  font-size: 13px;
  font-weight: 600;
}

/* Mini lecteur flottant (bas gauche) */
.radio-mini-player {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9000;
  max-width: min(420px, calc(100vw - 28px));
  pointer-events: auto;
}
.radio-mini-player__shell {
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  overflow: hidden;
}
.radio-mini-toggle {
  display: block;
  width: 100%;
  border: none;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255,255,255,.55);
  font-size: 11px;
  line-height: 1;
  padding: 5px 0 3px;
  cursor: pointer;
}
.radio-mini-player__body {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  grid-template-rows: auto auto;
  gap: 8px 12px;
  align-items: center;
  padding: 12px 14px 14px;
}
.radio-mini-logo-wrap {
  grid-row: 1 / span 2;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.radio-mini-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.radio-mini-meta {
  min-width: 0;
  grid-column: 2;
}
.radio-mini-name {
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}
.radio-mini-cat,
.radio-mini-live {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.radio-mini-live { color: #ff5a6a; font-weight: 700; }
.radio-mini-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  grid-column: 3;
  grid-row: 1;
}
.radio-mini-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
}
.radio-mini-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}
.radio-mini-btn.is-on { color: #ff9500; border-color: rgba(255,149,0,.35); }
.radio-mini-btn--stop {
  background: rgba(232, 48, 74, 0.18);
  border-color: rgba(232, 48, 74, 0.28);
  color: #ff6b7d;
}
.radio-mini-vol-wrap {
  grid-column: 2 / span 2;
  grid-row: 2;
  display: flex;
  align-items: center;
}
.radio-mini-vol {
  width: 100%;
  accent-color: #fff;
  cursor: pointer;
}
.radio-mini-player.is-collapsed .radio-mini-player__body {
  display: none;
}
.radio-logo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 48px;
  min-height: 48px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
.radio-station-logo.radio-logo-ph {
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
}
html.radio-mini-active {
  scroll-padding-bottom: 100px;
}
@media (max-width: 480px) {
  .radio-mini-player {
    left: 10px;
    bottom: 72px;
    max-width: calc(100vw - 20px);
  }
  .radio-mini-player__body {
    grid-template-columns: 48px 1fr;
  }
  .radio-mini-actions {
    grid-column: 1 / span 2;
    grid-row: 3;
    justify-content: flex-start;
  }
  .radio-mini-vol-wrap {
    grid-column: 1 / span 2;
    grid-row: 4;
  }
}

/* Layout TV + lecteur cin?ma ? pleine largeur */
.tv-inline-layout {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0 64px;
  box-sizing: border-box;
}
.tv-pane {
  width: 100%;
  max-width: none;
}
.tv-pro-player-wrap {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h, 72px) + 12px) clamp(10px, 2vw, 24px) 20px;
  background: rgba(4, 4, 10, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tv-cinema {
  position: relative;
  width: min(1280px, 96vw);
  padding: 10px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    #07070d;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow:
    0 28px 80px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.06);
}
.tv-cinema-stage {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  aspect-ratio: 16 / 9;
  max-height: min(62vh, 640px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.tv-pro-screen,
.tv-cinema-stage .tv-player-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}
.tv-pro-screen iframe,
.tv-cinema-stage iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
  background: #000;
}
.tv-cinema-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 22%),
    linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 28%);
  z-index: 8;
}
.tv-pro-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 12;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 18px;
  transition: opacity .25s;
}
.tv-pro-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: #e8304a;
  padding: 4px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.tv-pro-channel-meta .tv-channel-name-live {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.tv-pro-channel-meta .tv-channel-program {
  font-size: 12px;
  color: rgba(255,255,255,.72);
}
.tv-pro-header-actions { display: flex; gap: 8px; }
.tv-pro-header-actions .tv-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(8,8,14,.55);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.tv-pro-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 16px;
  transition: opacity .25s;
}
.tv-cinema-close {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,8,14,.55);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.tv-cinema-close:hover { background: rgba(255,255,255,.12); }
.tv-pro-sources {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.tv-cinema .tv-source-bar {
  background: rgba(8,8,16,.62);
}
.tv-cinema.tv-controls-hidden .tv-pro-header,
.tv-cinema.tv-controls-hidden .tv-pro-controls,
.tv-cinema.tv-controls-hidden .tv-cinema-shade {
  opacity: 0;
  pointer-events: none;
}
.tv-cinema:fullscreen,
.tv-cinema:-webkit-full-screen {
  padding: 0;
  border-radius: 0;
  max-height: none;
}
.tv-cinema:fullscreen .tv-cinema-stage,
.tv-cinema:-webkit-full-screen .tv-cinema-stage {
  max-height: none;
  height: 100vh;
  border-radius: 0;
  aspect-ratio: auto;
}
.tv-hero-glass {
  text-align: left !important;
  padding: 14px clamp(14px, 2.2vw, 28px) 8px !important;
  margin: 0 0 8px !important;
  width: 100%;
  box-sizing: border-box;
}
.tv-hero-glass .tv-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
}
.tv-hero-glass .tv-hero__count {
  margin-bottom: 0;
}
.tv-browse-tools {
  padding: 0 clamp(14px, 2.2vw, 28px) 12px;
  width: 100%;
  box-sizing: border-box;
}
.tv-browse {
  padding: 0 clamp(14px, 2.2vw, 28px);
  width: 100%;
  box-sizing: border-box;
}
#tvSportsBlock,
#tvSportsRoot {
  width: 100%;
  box-sizing: border-box;
}
#tvSportsRoot {
  padding: 0 clamp(14px, 2.2vw, 28px);
}

/* Override ancien lecteur plein ?cran forc? ? le nouveau iflp g?re l'overlay */
.tv-player-step { position: static !important; inset: auto !important; z-index: auto !important; background: transparent !important; }
body.tv-player-open { overflow: hidden !important; }

/* Ancien chrome cin�ma : carte centr�e (pas full-bleed) */
.tv-cinema.iflp {
  width: min(1180px, 96vw) !important;
  max-width: min(1180px, 96vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0;
  border-radius: 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none !important;
}
.tv-cinema.iflp .tv-cinema-stage {
  max-height: min(70vh, 720px);
  border-radius: 0;
  box-shadow: none;
}

.tv-hero-compact { padding-bottom: 8px !important; }
.tv-subnav {
  padding: 4px 0 18px;
  display: flex;
  justify-content: flex-end;
}
.tv-subnav-link {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.tv-subnav-link:hover { background: rgba(255,255,255,.12); }

/* ?? Matchs sport ?? */
.tv-sports-block { margin-bottom: 24px; width: 100%; }
.live-hub-sport-mode .tv-sports-block {
  --sport-accent: #3dcf7a;
  --sport-glow: rgba(61, 207, 122, .18);
}
.sport-hero {
  max-width: none;
  width: 100%;
  margin: 0 0 8px;
  padding: 4px 0 12px;
  box-sizing: border-box;
}
.sport-hero__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #3dcf7a;
  margin: 0 0 6px;
}
.sport-hero__title {
  font-family: var(--ff-head);
  font-size: clamp(24px, 3.6vw, 36px);
  font-weight: 800;
  margin: 0 0 4px;
}
.sport-hero__count { color: var(--text2); font-size: 13px; margin: 0; }
.live-hub-sport-mode .tv-hero-compact { display: none; }

.tv-sports-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(61,207,122,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(61,207,122,.14);
}
.tv-sports-filters { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; max-width: 100%; }
.tv-sports-filters::-webkit-scrollbar { display: none; }
.tv-sports-filters--sports { opacity: .92; }
.tv-sports-filter {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  color: var(--text2);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  -webkit-tap-highlight-color: transparent;
}
.tv-sports-filter.active {
  background: #3dcf7a;
  border-color: #3dcf7a;
  color: #06140c;
}
.tv-sports-refresh {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: var(--text2);
  cursor: pointer;
  flex-shrink: 0;
}
.tv-sports-section { margin-bottom: 28px; }
.tv-sports-section-title {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 12px;
}
.tv-sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 14px;
  width: 100%;
}
.tv-sports-card {
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}
.tv-sports-card.is-live {
  border-color: rgba(61, 207, 122, .38);
  box-shadow: 0 12px 32px rgba(61, 207, 122, .14);
}
.tv-sports-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.tv-sports-league { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.tv-sports-time { font-size: 12px; font-weight: 700; color: var(--text2); display: inline-flex; align-items: center; gap: 5px; }
.tv-sports-time.is-live { color: #3dcf7a; }
.tv-sports-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.tv-sports-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.tv-sports-team-logo { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
.tv-sports-ph {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.tv-sports-team-name { font-size: 14px; font-weight: 800; line-height: 1.25; }
.tv-sports-vs { font-size: 12px; font-weight: 800; color: var(--muted); }
.tv-sports-vs-label {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  letter-spacing: .08em;
}
.tv-sports-score { font-size: 22px; color: #fff; font-weight: 800; }
.tv-sports-channels { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-sports-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
}
.tv-sports-channel {
  color: #3dcf7a;
}
.tv-sports-date { opacity: .85; }
.tv-sports-channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.tv-sports-channel-btn:hover {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.1);
}
.tv-sports-ch-play {
  margin-left: 2px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff;
  color: #0a0a12;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.tv-sports-ch-logo { width: 24px; height: 24px; object-fit: contain; border-radius: 4px; }
.tv-sports-loading, .tv-sports-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text2);
  font-size: 14px;
}
.tv-sports-retry {
  display: block;
  margin: 12px auto 0;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

@media (max-width: 768px) {
  .tv-pro-player-wrap { padding: 56px 8px 12px; }
  .tv-cinema { padding: 4px; border-radius: 14px; }
  .tv-cinema-stage { max-height: min(48vh, 360px); border-radius: 12px; }
  .tv-sports-grid { grid-template-columns: 1fr; }
  /* Garder home | vs | away ? pas de pile verticale */
  .tv-sports-teams {
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    text-align: center;
  }
  .tv-sports-vs { order: 0; }
  .tv-sports-team-logo,
  .tv-sports-ph { width: 48px; height: 48px; }
  .tv-sports-team-name { font-size: 13px; }
  .tv-sports-vs-label { width: 36px; height: 36px; font-size: 10px; }
  .radio-grid { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
  .radio-station-logo { width: 56px; height: 56px; }
  .radio-hero { margin: 6px 12px 14px; padding: 20px 16px 18px; border-radius: 16px; }
  .radio-mini-player {
    left: 10px;
    right: 10px;
    bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
    max-width: none;
  }
}

/* iPad / tablette */
@media (min-width: 769px) and (max-width: 1180px) {
  .radio-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .tv-sports-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-cinema-stage { max-height: 52vh; }
  .radio-hero, .tv-hero-glass {
    margin-left: clamp(16px, 2vw, 24px);
    margin-right: clamp(16px, 2vw, 24px);
  }
}

/* PC large ? coller aux bords */
@media (min-width: 1181px) {
  .radio-pane,
  .tv-pane,
  .tv-select-step,
  .tv-browse,
  .tv-sports-block {
    max-width: none !important;
    width: 100%;
  }
  .radio-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .tv-sports-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  }
}

/* ?? Nav d?roulante En direct (= style premium-dropdown) ?? */
.nav__live-wrap {
  position: relative;
  overflow: visible !important;
}
.nav__live-trigger { gap: 4px !important; }
.nav__live-chev {
  opacity: .55;
  margin-left: 2px;
  transition: transform .2s ease;
}
.nav__live-trigger[aria-expanded="true"] .nav__live-chev {
  transform: rotate(180deg);
  opacity: .9;
}
.nav__live-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: 268px;
  padding: 0;
  border-radius: 14px;
  background: var(--nav-dropdown-bg, rgba(7, 7, 13, 0.92));
  backdrop-filter: var(--nav-dropdown-blur, blur(20px) saturate(1.4));
  -webkit-backdrop-filter: var(--nav-dropdown-blur, blur(20px) saturate(1.4));
  border: 1px solid var(--nav-dropdown-border, rgba(255, 255, 255, 0.08));
  box-shadow: var(--nav-dropdown-shadow, 0 20px 48px rgba(0, 0, 0, 0.42));
  z-index: 10050;
  display: none;
  flex-direction: column;
  overflow: hidden;
  transition:
    background 0.4s var(--ease, ease),
    border-color 0.4s var(--ease, ease),
    box-shadow 0.4s var(--ease, ease);
}
.nav__live-menu.is-open,
.nav__live-menu:not([hidden]) {
  display: flex;
}
.nav__live-menu[hidden] {
  display: none !important;
}
.nav__live-menu-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  flex-shrink: 0;
}
.header--scrolled .nav__live-menu-head {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav__live-menu-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  flex-shrink: 0;
}
.nav__live-menu-meta { flex: 1; min-width: 0; }
.nav__live-menu-title {
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav__live-menu-sub {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav__live-menu-body {
  padding: 8px 0;
  background: transparent;
}
.nav__live-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 18px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.65);
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.nav__live-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.header--scrolled .nav__live-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.nav__live-item-ico {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.9;
  flex-shrink: 0;
}
.nav__live-item-label {
  flex: 1;
  min-width: 0;
}
.nav__live-vip,
.nav__live-free {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 5px;
  text-transform: uppercase;
}
.nav__live-vip {
  background: rgba(255, 149, 0, 0.16);
  color: #ff9500;
  border: 1px solid rgba(255, 149, 0, 0.28);
}
.nav__live-free {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 768px) {
  .nav__live-menu {
    right: -8px;
    width: min(268px, calc(100vw - 24px));
  }
}

/* Sheet mobile ? choix Radio / TV / Sport */
.mobile-live-sheet {
  position: fixed;
  inset: 0;
  z-index: 12040;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
}
.mobile-live-sheet.is-open,
.mobile-live-sheet:not([hidden]) {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.mobile-live-sheet[hidden] {
  display: none !important;
}
.mobile-live-sheet__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}
.mobile-live-sheet__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  border-radius: 22px 22px 0 0;
  background: rgba(12, 12, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(12px);
  transition: transform .22s ease;
}
.mobile-live-sheet.is-open .mobile-live-sheet__panel {
  transform: translateY(0);
}
.mobile-live-sheet__handle {
  width: 40px;
  height: 4px;
  margin: 4px auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.mobile-live-sheet__head { margin-bottom: 12px; }
.mobile-live-sheet__title {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}
.mobile-live-sheet__sub {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.mobile-live-sheet__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-live-sheet__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mobile-live-sheet__item:active {
  background: rgba(255, 255, 255, 0.08);
}
.mobile-live-sheet__ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}
.mobile-live-sheet__meta { flex: 1; min-width: 0; }
.mobile-live-sheet__label {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.mobile-live-sheet__hint {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.mobile-live-sheet__badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(255, 149, 0, 0.2);
  color: #ffb020;
  border: 1px solid rgba(255, 149, 0, 0.28);
}
.mobile-live-sheet__badge--free {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.12);
}
.mobile-live-sheet__cancel {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
body.mobile-live-sheet-open {
  overflow: hidden;
}

/* ?? Recherche matchs sport ?? */
.tv-sports-search-wrap { flex: 1 1 220px; min-width: 160px; width: 100%; }
.tv-sports-search {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-size: 14px;
}
.tv-sports-search:focus {
  outline: none;
  border-color: rgba(61,207,122,.45);
  box-shadow: 0 0 0 3px rgba(61,207,122,.12);
}

/* /radio et /tv partagent #tvView ? ne pas masquer la vue radio */
body[data-if-route="radio"] #tvView.page-view--active,
body[data-if-route="tv"] #tvView.page-view--active,
body[data-if-route="sport"] #tvView.page-view--active {
  display: block !important;
}
