    /* MediaMix Tabs Styling */
    .mediamix-card {
      border: none;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      overflow: hidden;
    }

    .mediamix-header {
      background: linear-gradient(135deg, #f2f2f2 0%, #ffffff 100%);
      color: #555555;
      padding: 0.5rem 1.25rem;
      font-weight: 600;
      border: none;
    }

    .mediamix-header i {
      margin-right: 0.5rem;
    }

    .mediamix-tabs {
      display: flex;
      background: #f8f9fa;
      border-bottom: 2px solid #e9ecef;
      overflow-x: auto;
      padding: 0.3rem 0.3rem 0;
    }

    .mediamix-tab {
      flex: 1;
      min-width: fit-content;
      padding: 0.45rem 0.9rem;
      background: white;
      border: 2px solid transparent;
      border-bottom: none;
      border-radius: 8px 8px 0 0;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: 500;
      font-size: 0.7rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.01rem;
      margin: 0 0.15rem;
      color: #6c757d;
	  overflow: hidden;
    }

    .mediamix-tab:hover {
      background: #f8f9fa;
      color: #495057;
    }

    .mediamix-tab.active {
      background: white;
      color: #2c3e50;
      border-top-color: transparent;
      border-left-color: transparent;
      border-right-color: transparent;
      position: relative;
    }

    .mediamix-tab.active::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      right: 0;
      height: 3px;
      background: currentColor;
    }

    .mediamix-tab.youtube { border-top-color: #ff0000; }
    .mediamix-tab.youtube.active { color: #ff0000; }
    .mediamix-tab.youtube.active::after { background: #ff0000; }

    .mediamix-tab.spotify { border-top-color: #1db954; }
    .mediamix-tab.spotify.active { color: #1db954; }
    .mediamix-tab.spotify.active::after { background: #1db954; }

    .mediamix-tab.soundcloud { border-top-color: #ff5500; }
    .mediamix-tab.soundcloud.active { color: #ff5500; }
    .mediamix-tab.soundcloud.active::after { background: #ff5500; }

    .mediamix-tab.apple { border-top-color: #000000; }
    .mediamix-tab.apple.active { color: #000000; }
    .mediamix-tab.apple.active::after { background: #000000; }

    .mediamix-content {
      padding: 1.25rem;
      background: white;
    }

    .mediamix-panel {
      display: none;
      animation: fadeIn 0.3s ease;
    }

    .mediamix-panel.active {
      display: block;
    }

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

    .mediamix-panel-header {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 1rem;
      padding-bottom: 0.75rem;
      border-bottom: 2px solid #f0f0f0;
      font-weight: 600;
      color: #2c3e50;
    }

    .mediamix-panel iframe {
      width: 100%;
      border: none;
      border-radius: 8px;
    }

    .youtube-subscribe-wrapper {
      display: flex;
      justify-content: center;
      padding: 1rem;
      background: #f8f9fa;
      border-radius: 8px;
      margin-bottom: 1rem;
    }

    .mediamix-empty {
      text-align: center;
      padding: 2rem;
      color: #6c757d;
    }

    .mediamix-empty i {
      font-size: 3rem;
      margin-bottom: 1rem;
      opacity: 0.3;
    }

    /* Mobile scrolling for tabs */
    @media (max-width: 576px) {
      .mediamix-tabs {
        justify-content: flex-start;
      }
      
      .mediamix-tab {
        flex: 0 0 auto;
      }
    }
	
	/* Mobile scrolling for tabs */
@media (max-width: 576px) {
  .mediamix-tabs { justify-content: flex-start; }
  .mediamix-tab  { flex: 0 0 auto; }
}

/* ================================
   Night Mode Overrides
   ================================ */
body.night-mode .mediamix-card {
  box-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

body.night-mode .mediamix-header {
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.night-mode .mediamix-tabs {
  background: rgba(255,255,255,0.03);
  border-bottom-color: rgba(255,255,255,0.08);
}

body.night-mode .mediamix-tab {
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.65);
}

body.night-mode .mediamix-tab:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
}

body.night-mode .mediamix-tab.active {
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.92);
}

body.night-mode .mediamix-content {
  background: rgba(0,0,0,0.18);
}

body.night-mode .mediamix-panel-header {
  border-bottom-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
}

body.night-mode .youtube-subscribe-wrapper {
  background: rgba(255,255,255,0.04);
}

body.night-mode .mediamix-empty {
  color: rgba(255,255,255,0.65);
}

body.night-mode .mediamix-empty i {
  opacity: 0.25;
}

/* keep brand colors in night mode */
body.night-mode .mediamix-tab.youtube.active,
body.night-mode .mediamix-tab.youtube.active::after { color: #ff0000; background: #ff0000; }

body.night-mode .mediamix-tab.spotify.active,
body.night-mode .mediamix-tab.spotify.active::after { color: #1db954; background: #1db954; }

body.night-mode .mediamix-tab.soundcloud.active,
body.night-mode .mediamix-tab.soundcloud.active::after { color: #ff5500; background: #ff5500; }

body.night-mode .mediamix-tab.apple.active,
body.night-mode .mediamix-tab.apple.active::after { color: #ffffff; background: #ffffff; }