/* ==========================================================================
   Netflix & HBO Style Mobile Bottom Navigation Bar & Layout
   ========================================================================== */

:root {
  --mobile-system-inset: max(env(safe-area-inset-bottom, 0px), 14px);
  --mobile-system-top-inset: env(safe-area-inset-top, 0px);
}

.mobile-bottom-nav {
  display: none;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: calc(62px + var(--mobile-system-inset)) !important;
  background: rgba(10, 15, 29, 0.96) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1)) !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  z-index: 9999 !important;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
  padding-bottom: var(--mobile-system-inset) !important;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.7) !important;
  box-sizing: border-box !important;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mobile-nav-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  color: var(--text-muted, #94a3b8) !important;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 500;
  padding: 6px 4px !important;
  margin: 0 !important;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  flex: 1;
  max-width: 80px;
  box-sizing: border-box;
}

.mobile-nav-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-muted, #94a3b8);
  stroke-width: 2.2px;
  fill: none;
  transition: transform 0.2s ease, stroke 0.2s ease, filter 0.2s ease;
  pointer-events: none;
}

.mobile-nav-icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
  line-height: 0;
}

.mobile-nav-update-badge {
  position: absolute;
  top: -6px;
  right: -9px;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border: 2px solid var(--bg-deep, #0b1020);
  border-radius: 50%;
  color: #052e16;
  background: #86efac;
  box-shadow: 0 2px 7px rgba(74, 222, 128, 0.55);
}

.mobile-nav-update-badge[hidden] { display: none; }

.mobile-nav-update-badge svg {
  width: 10px;
  height: 10px;
  stroke: currentColor !important;
  stroke-width: 2.8px !important;
  fill: none !important;
  transform: none !important;
  filter: none !important;
}

.mobile-nav-item span {
  display: block;
  font-size: 10.5px;
  line-height: 1.1;
  color: inherit;
  white-space: nowrap;
  pointer-events: none;
}

.mobile-nav-item:active {
  transform: scale(0.92);
}

.mobile-nav-item.active {
  color: var(--accent-primary, #e50914) !important;
  font-weight: 700 !important;
}

.mobile-nav-item.active svg {
  stroke: var(--accent-primary, #e50914) !important;
  transform: translateY(-2px);
  filter: drop-shadow(0 2px 8px var(--accent-glow, rgba(229, 9, 20, 0.45)));
}

/* Light Theme Styling for Mobile Bottom Navigation */
[data-theme="light"] .mobile-bottom-nav {
  background: rgba(255, 255, 255, 0.95) !important;
  border-top: 1px solid rgba(20, 20, 20, 0.08) !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07) !important;
}

[data-theme="light"] .mobile-nav-item {
  color: var(--text-muted, #475569) !important;
}

[data-theme="light"] .mobile-nav-item svg {
  stroke: var(--text-muted, #475569);
}

[data-theme="light"] .mobile-nav-item:active {
  background: rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .mobile-nav-item.active {
  color: var(--accent-primary, #c40812) !important;
}

[data-theme="light"] .mobile-nav-item.active svg {
  stroke: var(--accent-primary, #c40812) !important;
  filter: drop-shadow(0 2px 8px rgba(79, 70, 229, 0.35));
}

/* Mobile Bottom Sheet "Meer" Popup Menu */
.mobile-more-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 20, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 11110;
  animation: fadeInMoreBackdrop 0.2s ease;
}

@keyframes fadeInMoreBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-more-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-radius: 20px 20px 0 0;
  padding: 12px 18px calc(24px + var(--mobile-system-inset));
  z-index: 11120;
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUpMoreSheet 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpMoreSheet {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.mobile-more-handle {
  width: 38px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto 4px auto;
}

.mobile-more-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-more-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-more-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.mobile-more-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.mobile-more-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 1px 0 0 0;
}

.mobile-more-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}

/* Quick search in sheet */
.mobile-more-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  gap: 8px;
}

.mobile-more-search svg {
  color: var(--text-dim);
  flex-shrink: 0;
}

.mobile-more-search input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
}

.mobile-more-search-submit {
  background: var(--accent-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Grid of Action Tiles */
.mobile-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mobile-more-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-main);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.mobile-more-tile:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--accent-primary);
}

.mobile-more-tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-more-tile-icon.sport-icon {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
}

.mobile-more-tile-icon.yt-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.mobile-more-tile-icon.podcast-icon {
  background: rgba(229, 9, 20, 0.15);
  color: #e50914;
}

.mobile-more-tile-icon.spotify-icon {
  background: rgba(29, 185, 84, 0.15);
  color: #1db954;
}

.mobile-more-tile-icon.downloads-icon {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.mobile-more-tile-icon.settings-icon {
  background: rgba(229, 9, 20, 0.15);
  color: #e50914;
}

.mobile-more-footer-row {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.mobile-more-footer-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.mobile-more-footer-btn:active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

/* Light Theme Styling for Mobile Sheets & Modals */
[data-theme="light"] .mobile-more-backdrop,
[data-theme="light"] .mobile-iptv-modal-backdrop {
  background: rgba(20, 20, 20, 0.45);
}

[data-theme="light"] .mobile-more-sheet,
[data-theme="light"] .mobile-iptv-modal-card {
  background: #ffffff !important;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .mobile-more-handle {
  background: rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .mobile-more-close,
[data-theme="light"] .mobile-iptv-modal-close {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(20, 20, 20, 0.08);
  color: #64748b;
}

[data-theme="light"] .mobile-more-search {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(20, 20, 20, 0.1);
}

[data-theme="light"] .mobile-more-tile {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(20, 20, 20, 0.07);
  color: #141414;
}

[data-theme="light"] .mobile-more-tile:active {
  background: rgba(79, 70, 229, 0.08);
  border-color: var(--accent-primary, #c40812);
}

[data-theme="light"] .mobile-more-footer-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(20, 20, 20, 0.08);
  color: #475569;
}

[data-theme="light"] .mobile-more-footer-btn:active {
  background: rgba(0, 0, 0, 0.07);
  color: #141414;
}

[data-theme="light"] .mobile-iptv-opt {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(20, 20, 20, 0.08);
}

[data-theme="light"] .mobile-iptv-opt:hover,
[data-theme="light"] .mobile-iptv-opt:active {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.3);
}

@media (max-width: 768px) {
  :root {
    --mobile-navigation-height: 62px;
  }

  /* The navigation is fixed outside .app-container. Reserve its full height
     in layout so a populated grid cannot scroll behind the navigation. */
  .app-container {
    height: calc(100% - var(--mobile-navigation-height) - var(--mobile-system-inset)) !important;
  }

  /* Hide top-header in mobile view */
  .top-header {
    display: none !important;
  }

  .main-layout {
    margin-top: 0 !important;
    height: 100% !important;
    padding-top: var(--mobile-system-top-inset) !important;
  }

  .sidebar {
    top: 0 !important;
    height: 100% !important;
  }

  .mobile-bottom-nav {
    display: flex !important;
    height: calc(var(--mobile-navigation-height) + var(--mobile-system-inset)) !important;
  }
  
  .content-view {
    padding: 12px 14px 14px !important;
  }

  .home-view-container {
    padding-bottom: 24px !important;
  }

  .btn-mobile-menu {
    display: flex;
  }

  /* Grid header responsive layout on mobile */
  .grid-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .grid-title {
    width: 100%;
    justify-content: space-between;
  }

  .grid-view-opts {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .grid-view-opts::-webkit-scrollbar {
    display: none;
  }

  .sort-wrapper {
    background: rgba(31, 31, 31, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    padding: 4px 10px !important;
  }

  .sort-select {
    font-size: 11.5px !important;
  }

  .view-btn {
    border-radius: 20px !important;
    background: rgba(31, 31, 31, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 5px 12px !important;
    font-size: 11.5px !important;
  }

  .view-btn.active {
    background: #38bdf8 !important;
    border-color: #38bdf8 !important;
    color: #141414 !important;
  }

  .view-btn.active svg {
    stroke: #141414 !important;
  }
}

/* base.css switches the desktop sidebar to its off-canvas form at 992px.
   Keep primary navigation continuous until that same breakpoint. */
@media (min-width: 769px) and (max-width: 992px) {
  :root {
    --mobile-navigation-height: 62px;
  }

  .app-container {
    height: calc(100% - var(--mobile-navigation-height) - var(--mobile-system-inset)) !important;
  }

  .main-layout {
    height: 100% !important;
    padding-top: var(--mobile-system-top-inset) !important;
  }

  .mobile-bottom-nav {
    display: flex !important;
    height: calc(var(--mobile-navigation-height) + var(--mobile-system-inset)) !important;
  }
}

/* ==========================================================================
   Mobile Speler Touch Gestures (Double-Tap ±10s Ripples & OSD)
   ========================================================================== */

.hero-video-box {
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.touch-ripple {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.touch-ripple-left {
  left: 0;
  border-radius: 0 100px 100px 0;
  background: radial-gradient(circle at left center, rgba(255, 255, 255, 0.22) 0%, transparent 70%);
}

.touch-ripple-right {
  right: 0;
  border-radius: 100px 0 0 100px;
  background: radial-gradient(circle at right center, rgba(255, 255, 255, 0.22) 0%, transparent 70%);
}

.touch-ripple.is-animating {
  animation: rippleAnimation 0.65s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes rippleAnimation {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  30% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    opacity: 0.9;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

.ripple-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  border-radius: 30px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   Screen Lock for Mobile Video Playback
   ========================================================================== */

.hero-video-box.is-screen-locked .plyr__controls,
.hero-video-box.is-screen-locked .fullscreen-osd-overlay,
.hero-video-box.is-screen-locked .hero-player-overlay {
  display: none !important;
  pointer-events: none !important;
}

.player-locked-overlay {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
}

.btn-player-unlock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  animation: pulseUnlock 2s infinite ease-in-out;
}

@keyframes pulseUnlock {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.4);
  }
}

/* ==========================================================================
   Netflix Floating Next Episode Prompt Overlay
   ========================================================================== */

.player-next-ep-prompt {
  position: absolute;
  bottom: 60px;
  right: 18px;
  background: rgba(20, 20, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 70;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
  animation: slideInPrompt 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInPrompt {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.next-ep-prompt-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.next-ep-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.5px;
}

.next-ep-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-play-next-prompt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-play-next-prompt:hover {
  background: #e2e8f0;
  transform: scale(1.05);
}

/* ==========================================================================
   Mobile Bottom-Sheet Transformations for Modals
   ========================================================================== */

@media (max-width: 768px) {
  /* Netflix series modal bottom sheet */
  .netflix-modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .netflix-modal-dialog {
    max-width: 100%;
    width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 86vh;
    transform: translateY(100%);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9);
  }

  #netflix-series-modal.active .netflix-modal-dialog {
    transform: translateY(0);
  }

  /* Info side panel mobile drawer */
  .info-side-panel {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0;
    top: auto;
    bottom: 0;
    height: 85vh;
    max-height: 85vh;
    transform: translateY(100%);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9);
  }

  .info-side-panel.open {
    transform: translateY(0);
  }

  .side-panel-resizer {
    display: none;
  }

  /* Floating mini player on mobile */
  .mini-player-dock {
    top: 68px !important;
    right: 10px !important;
    bottom: auto !important;
    width: 220px !important;
    height: auto !important;
  }
}

/* ==========================================================================
   Share Action Buttons & Tooltips Design System
   ========================================================================== */

.share-top-btn {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

.share-top-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
  transform: translateY(-1px);
}

.btn-person-share {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-person-share:hover {
  background: rgba(229, 9, 20, 0.25);
  border-color: var(--accent-primary);
  color: #fff;
  transform: scale(1.08);
  box-shadow: none;
}

.ep-share-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.ep-share-btn:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}


/* ═══════════════════════════════════════════════════════════════════════════
   ⚽ DEDICATED FULL-PAGE LIVE SPORT MATCH CENTER
   ═══════════════════════════════════════════════════════════════════════════ */

.sports-view-container {
  width: 100%;
  padding-bottom: 60px;
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Header & Stats Banner */
.sports-page-header {
  margin-bottom: 24px;
}

.sports-stats-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.sports-stat-card {
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}
.sports-stat-card:hover {
  border-color: rgba(229, 9, 20, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.sports-stat-card.sports-stat-live {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
}

.sports-stat-num {
  font-size: 26px;
  font-weight: 900;
  color: #f8fafc;
  line-height: 1;
}
.sports-stat-card.sports-stat-live .sports-stat-num {
  color: #f87171;
}

.sports-stat-lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sports-stat-refresh {
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  backdrop-filter: blur(12px);
}

.sports-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #34d399;
}
.sports-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: mc-blink 1.8s infinite;
}

.btn-sports-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-sports-refresh:hover {
  background: rgba(229, 9, 20, 0.25);
  border-color: rgba(229, 9, 20, 0.5);
  color: #ffffff;
  transform: scale(1.03);
}

/* Filter Toolbar */
.sports-filter-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 10px 0;
}

.sports-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  user-select: none;
}
.sports-filter-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}
.sports-filter-pill.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.35));
  border-color: rgba(16, 185, 129, 0.55);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.sports-pill-count {
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}
.sports-filter-pill.active .sports-pill-count {
  background: rgba(16, 185, 129, 0.4);
}

.sports-stat-card.sports-stat-fav {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.38);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}
.sports-stat-card.sports-stat-fav .sports-stat-num {
  color: #fbbf24;
}

/* Competitions List & Match Sections */
.sports-competitions-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sports-competition-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sports-competition-section.is-fav-section {
  background: rgba(245, 158, 11, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 24px rgba(245, 158, 11, 0.08);
}
.sports-competition-section.is-fav-section .sports-comp-header {
  border-bottom-color: rgba(245, 158, 11, 0.25);
}
.sports-competition-section.is-fav-section .sports-comp-name {
  color: #fbbf24;
}

.sports-comp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sports-comp-flag {
  font-size: 18px;
}
.sports-comp-name {
  font-size: 16px;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: 0.3px;
}
.sports-comp-count {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

/* Matches Grid */
.sports-matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}

/* Match Card */
.sports-match-card {
  background: rgba(20, 20, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(14px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.sports-match-card:hover {
  border-color: rgba(229, 9, 20, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.sports-match-card.search-result-target {
  border-color: #e50914;
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.3), 0 18px 42px rgba(20, 20, 20, 0.55);
}

.sports-match-card.is-live {
  background: rgba(239, 68, 68, 0.07);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.12);
}
.sports-match-card.is-fav-card {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.12);
}
.sports-match-card.is-finished {
  opacity: 0.75;
}

.sports-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sports-card-comp-box {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sports-card-comp {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sports-fav-tag {
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  letter-spacing: 0.3px;
}

.sports-status-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}
.sports-status-badge.live {
  background: rgba(239, 68, 68, 0.22);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  animation: mc-blink 2s infinite;
}
.sports-status-badge.finished {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}
.sports-status-badge.scheduled {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Scoreboard Teams Area */
.sports-card-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.sports-team-box {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sports-team-box.home {
  justify-content: flex-end;
  text-align: right;
}
.sports-team-box.away {
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
}

/* Team Star Button (Club Favorite) */
.btn-team-star {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.22);
  font-size: 15px;
  line-height: 1;
  padding: 3px 4px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s ease;
  user-select: none;
  flex-shrink: 0;
}
.btn-team-star:hover {
  color: #fbbf24;
  transform: scale(1.25);
}
.btn-team-star.is-fav {
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.sports-team-box.is-team-fav .sports-team-name {
  color: #fef08a;
  font-weight: 800;
}

.sports-team-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}
.sports-team-logo-fallback {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}

.sports-team-name {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.25;
  word-break: break-word;
}

.sports-scoreboard-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}
.sports-match-score {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 2px;
}
.sports-match-kickoff {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kickoff-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
}
.kickoff-time {
  font-size: 15px;
  font-weight: 800;
  color: #e2e8f0;
}

.sports-venue-name {
  font-size: 9.5px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 2px;
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Compact Channels & Zap Row (1 Primary + Dropdown) */
.sports-card-channels {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sports-channels-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sports-primary-zap-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.25), rgba(56, 189, 248, 0.25));
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  user-select: none;
  flex: 1;
  min-width: 140px;
  max-width: 100%;
}
.sports-primary-zap-btn:hover {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.45), rgba(56, 189, 248, 0.45));
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.35);
}

.zap-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}
.sports-primary-zap-btn:hover .zap-play-icon {
  color: #ffffff;
}

.zap-channel-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}
.zap-channel-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Dropdown for alternative channels */
.sports-dropdown-wrapper {
  position: relative;
  flex-shrink: 0;
}

.sports-stream-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 24px 6px 10px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m1 1 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.sports-stream-select:hover {
  border-color: rgba(229, 9, 20, 0.5);
  color: #e2e8f0;
  background-color: rgba(31, 31, 31, 0.95);
}
.sports-stream-select:focus {
  outline: none;
  border-color: #38bdf8;
}

.sports-stream-select option {
  background: #141414;
  color: #e2e8f0;
  padding: 6px;
}

.sports-broadcast-footnote {
  font-size: 9.5px;
  color: var(--text-dim);
  margin-top: 2px;
}

.no-channels-hint {
  font-size: 10.5px;
  color: var(--text-dim);
  font-style: italic;
}

/* Loading & Empty States */
.sports-loading-box,
.sports-empty-box {
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(20, 20, 20, 0.5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sports-empty-icon {
  font-size: 48px;
  margin-bottom: 4px;
}
.sports-empty-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: #f1f5f9;
}
.sports-empty-box p {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 420px;
}

@media (max-width: 768px) {
  .sports-matches-grid {
    grid-template-columns: 1fr;
  }
  .sports-team-name {
    max-width: 90px;
  }
}

/* ==========================================================================
   Multi-Sport Category Tabs & Teletekst Terminal Viewer
   ========================================================================== */

/* Main Category Tabs */
.sports-category-tabs-wrapper {
  margin-top: 14px;
  margin-bottom: 12px;
  width: 100%;
}

.sports-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 4px;
}

.sports-category-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 14px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.sports-category-tab:hover {
  background: rgba(31, 31, 31, 0.85);
  border-color: rgba(229, 9, 20, 0.4);
  color: #f1f5f9;
  transform: translateY(-1px);
}
.sports-category-tab.active {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.25), rgba(229, 9, 20, 0.25));
  border-color: #e50914;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.25);
}

.sports-category-tab .tab-badge {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
}
.sports-category-tab.active .tab-badge {
  background: #e50914;
  color: #ffffff;
}

/* Tennis Score Box */
.sports-tennis-score-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(10, 15, 29, 0.6);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 80px;
}
.tennis-score-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #94a3b8;
}
.tennis-score-line.is-fav {
  color: #fbbf24;
  font-weight: 700;
}
.tennis-player-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 65px;
}
.tennis-sets {
  font-family: monospace;
  font-weight: 700;
  color: #f1f5f9;
  font-size: 12px;
}

/* Cycling News Banner */
.sports-cycling-news-banner {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.85), rgba(31, 31, 31, 0.85));
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.cycling-news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.cycling-news-badge {
  font-size: 13.5px;
  font-weight: 700;
  color: #fde047;
}
.btn-open-tt-full {
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #fde047;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-open-tt-full:hover {
  background: #eab308;
  color: #141414;
}
.cycling-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}
.cycling-news-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cycling-news-card:hover {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.4);
  transform: translateX(2px);
}
.tt-card-page {
  background: #eab308;
  color: #000000;
  font-family: monospace;
  font-weight: 800;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
}
.tt-card-title {
  font-size: 12px;
  color: #e2e8f0;
  font-weight: 500;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tt-card-arrow {
  font-size: 11px;
  color: #94a3b8;
}

/* ==========================================================================
   Teletekst Retro Terminal Screen & Controls
   ========================================================================== */
.teletekst-tab-body {
  margin-top: 14px;
}

.teletekst-terminal-wrapper {
  background: #000000;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85);
  padding: 16px 20px;
  max-width: 860px;
  margin: 0 auto;
}

.teletekst-controls-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tt-quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.btn-tt-quick {
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #38bdf8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn-tt-quick:hover {
  background: rgba(31, 31, 31, 0.95);
  border-color: rgba(56, 189, 248, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}
.btn-tt-quick.active {
  background: #00ff66;
  color: #000000;
  border-color: #00ff66;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.45);
}

.tt-nav-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.tt-input-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tt-prefix {
  font-family: monospace;
  font-size: 13px;
  color: #ffff00;
  font-weight: 700;
}
#tt-page-input {
  width: 80px;
  background: #141414;
  border: 1px solid #475569;
  border-radius: 8px;
  padding: 6px 10px;
  color: #ffffff;
  font-family: monospace;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
#tt-page-input:focus {
  outline: none;
  border-color: #00ff66;
  box-shadow: 0 0 8px rgba(0, 255, 102, 0.4);
}
.btn-tt-go {
  background: linear-gradient(135deg, #e50914, #c40812);
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-tt-go:hover {
  background: #ff4d55;
  transform: translateY(-1px);
}

.tt-step-buttons {
  display: flex;
  gap: 6px;
}
.btn-tt-step {
  background: rgba(31, 31, 31, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-tt-step:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: #94a3b8;
  color: #ffffff;
}

/* Authentic Teletekst Screen Frame */
.teletekst-screen-frame {
  background: #000000;
  border: 2px solid #27272a;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.95), 0 0 16px rgba(0, 0, 0, 0.6);
  min-height: 480px;
  overflow-x: auto;
}

.teletekst-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #27272a;
  font-family: 'Courier New', Courier, Monaco, monospace;
  font-size: 12px;
}
.tt-header-badge {
  color: #00ff66;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.tt-header-page {
  color: #ffff00;
  font-weight: 800;
}

/* Teletekst Monospace Typography & Vivid Colors */
.teletekst-screen-body {
  font-family: 'Courier New', Courier, 'Lucida Console', Monaco, 'Consolas', monospace !important;
  font-size: 15px;
  line-height: 1.32;
  letter-spacing: 0.5px;
  white-space: pre-wrap;
  word-break: break-all;
  color: #ffffff;
  user-select: text;
}

.teletekst-screen-body a {
  text-decoration: none !important;
  cursor: pointer !important;
  transition: opacity 0.1s ease;
}
.teletekst-screen-body a:hover {
  text-decoration: underline !important;
  filter: brightness(1.4);
}

.teletekst-screen-body .green,
.teletekst-screen-body a.green {
  color: #00ff33 !important;
}
.teletekst-screen-body .yellow,
.teletekst-screen-body a.yellow {
  color: #ffff00 !important;
}
.teletekst-screen-body .red,
.teletekst-screen-body a.red {
  color: #ff3333 !important;
}
.teletekst-screen-body .cyan,
.teletekst-screen-body a.cyan {
  color: #00ffff !important;
}
.teletekst-screen-body .blue,
.teletekst-screen-body a.blue {
  color: #38bdf8 !important;
}
.teletekst-screen-body .white,
.teletekst-screen-body a.white {
  color: #ffffff !important;
}

.teletekst-screen-body .bg-red {
  background-color: #cc0000 !important;
  color: #ffffff !important;
}
.teletekst-screen-body .bg-blue {
  background-color: #0000cc !important;
  color: #ffffff !important;
}
.teletekst-screen-body .bg-green {
  background-color: #008800 !important;
  color: #ffffff !important;
}
.teletekst-screen-body .bg-yellow {
  background-color: #cccc00 !important;
  color: #000000 !important;
}

.tt-loading,
.tt-error-message {
  padding: 60px 20px;
  text-align: center;
  color: #94a3b8;
  font-family: monospace;
}

/* ==========================================================================
   📅 Forward-Looking 7-Day Planning Strip (Today -> Tomorrow -> Next Week)
   ========================================================================== */

.sports-planning-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.planning-strip-title {
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
}

.planning-days-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.btn-planning-day {
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-planning-day:hover {
  background: rgba(31, 31, 31, 0.95);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-planning-day.active {
  background: linear-gradient(135deg, #a30610, #c40812);
  color: #ffffff;
  border-color: #ff4d55;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
}

.btn-planning-day.is-today {
  border-color: rgba(239, 68, 68, 0.4);
}

.btn-planning-day.is-today.active {
  border-color: #f87171;
}

.planning-live-pill {
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 10px;
  animation: pulse-live 1.8s infinite;
}

/* Status Toolbar (Live vs Gepland vs Afgelopen) */
.sports-status-toolbar {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.sports-status-pill {
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.sports-status-pill:hover {
  background: rgba(31, 31, 31, 0.9);
  color: #e2e8f0;
}

.sports-status-pill.active {
  background: rgba(51, 65, 85, 0.9);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.sports-status-pill.live-active {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.85), rgba(185, 28, 28, 0.9));
  color: #ffffff;
  border-color: #f87171;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.35);
}

.sports-status-pill .pill-badge {
  background: rgba(0, 0, 0, 0.3);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 700;
}

