/* CUSTOMCAST CSS STYLING SYSTEM (Step 1) */

:root {
  /* Absolute Contrast Colors */
  --bg-main: #0f0f0f;
  --bg-card: #151515;
  --bg-sidebar: #0f0f0f;
  --bg-nav: rgba(15, 15, 15, 0.95);
  
  --text-primary: #f1f1f1;
  --text-secondary: #aaaaaa;
  
  --accent-red: #ff0000;
  --accent-red-hover: #cc0000;
  --border-color: #2c2c2c;
  --hover-overlay: rgba(255, 255, 255, 0.08);
  --focus-outline: #ffffff;
  --focus-glow: 0 0 12px rgba(255, 0, 0, 0.6);
  
  /* Layout Sizing */
  --sidebar-width: 240px;
  --sidebar-collapsed-width: 72px;
  --nav-height: 56px;
}

/* Base Styles & System Font Fallbacks (Zero-latency TV Safeguard) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji";
  font-size: 14px;
  line-height: 1.4;
  overflow-x: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 12px 0;
}

/* Global Keypad & Navigation Focus Outline styling */
.focused-element {
  outline: 2px solid var(--accent-red) !important;
  outline-offset: 3px;
  box-shadow: var(--focus-glow) !important;
  transform: scale(1.02) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  z-index: 10;
}

/* Top Navigation Bar */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: var(--bg-nav);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.nav-btn:hover {
  background-color: var(--hover-overlay);
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  user-select: none;
}

.logo-accent {
  color: var(--accent-red);
}

.nav-center {
  flex: 0 1 600px;
  margin: 0 24px;
}

.search-container {
  display: flex;
  width: 100%;
  background-color: #000000;
  border: 1px solid var(--border-color);
  border-radius: 40px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.search-container:focus-within {
  border-color: var(--text-primary);
}

#search-bar {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  padding: 10px 20px;
  font-size: 15px;
}

.search-btn {
  background-color: #222222;
  border: none;
  border-left: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-btn:hover {
  background-color: #333333;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile sidebar controls block — hidden by default on tablet/desktop.
   Shown inside the slide-in drawer via the @media (max-width: 768px) rule below. */
.mobile-nav-controls {
  display: none;
}

/* Detox Switch */
.detox-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #222;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 6px 14px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.detox-btn:hover {
  background: #333;
}

.toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
  background-color: #555;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.detox-btn.active .toggle-switch {
  background-color: var(--accent-red);
}

.detox-btn.active .toggle-switch::after {
  transform: translateX(16px);
}

.user-profile {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.user-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Layout Wrapper */
.app-layout {
  display: flex;
  flex: 1;
  margin-top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow: hidden;
}

/* Sidebar Navigation */
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  padding: 12px;
  overflow-y: auto;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.nav-group {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-primary);
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-link svg {
  flex-shrink: 0;
}

.nav-link:hover {
  background-color: var(--hover-overlay);
}

.nav-link.active {
  background-color: var(--hover-overlay);
  font-weight: 600;
}

.nav-header {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 6px 14px 4px 14px;
  letter-spacing: 0.5px;
}

.feed-emoji {
  font-size: 16px;
}

.create-feed-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  border: 1px dashed var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  padding: 10px;
  margin-top: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.create-feed-btn:hover {
  background-color: var(--hover-overlay);
  border-color: var(--text-secondary);
}

/* Main Content Panel */
.main-content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  position: relative;
}

/* Feed Builder Panel */
.feed-builder {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  max-width: 800px;
}

.feed-builder h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.builder-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.builder-container label {
  color: var(--text-secondary);
  font-size: 13px;
}

.builder-container textarea {
  width: 100%;
  height: 80px;
  background-color: #000;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 12px;
  outline: none;
  font-family: inherit;
  resize: none;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.builder-container textarea:focus {
  border-color: var(--accent-red);
}

.primary-btn {
  align-self: flex-start;
  background-color: var(--accent-red);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.primary-btn:hover {
  background-color: var(--accent-red-hover);
}

/* Video Section */
.video-section h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Grid Layout Matrix */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  transition: all 0.3s ease;
}

/* Video Card Block */
.video-card {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.video-card:hover {
  transform: translateY(-4px);
}

.thumbnail-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #222;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.video-details {
  display: flex;
  gap: 12px;
}

.channel-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #333;
  flex-shrink: 0;
}

.card-metadata {
  display: flex;
  flex-direction: column;
}

.video-title {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-channel {
  color: var(--text-secondary);
  font-size: 12px;
  margin-bottom: 2px;
}

.video-stats {
  color: var(--text-secondary);
  font-size: 12px;
}

/* Video Player Container */
.player-container {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-color);
}

.player-title {
  font-weight: 600;
  font-size: 15px;
}

.player-controls {
  display: flex;
  gap: 8px;
}

.player-controls button {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.player-controls button:hover {
  background-color: var(--hover-overlay);
}

.player-aspect-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.player-aspect-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Minimized PIP Mode Layout */
.player-container.minimized {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  z-index: 1000;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 0;
  transform: translateZ(0); /* Force HW acceleration */
}

.player-container.minimized .player-header {
  padding: 8px 12px;
}

.player-container.minimized .player-title {
  font-size: 12px;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-container.minimized #player-minimize-btn {
  display: none; /* Can't minimize further */
}

/* Dopamine Detox Mode Active Styles (Hacker News / RSS Text-Dense List) */
.detox-active .video-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.detox-active .video-card {
  flex-direction: row;
  align-items: flex-start;
  background-color: transparent;
  border-bottom: 1px solid #222;
  border-radius: 0;
  padding: 10px 0;
  gap: 16px;
  transform: none !important;
}

.detox-active .video-card:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.detox-active .thumbnail-container {
  display: none !important; /* Hides thumbnail block container completely */
}

.detox-active .channel-avatar-placeholder {
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.detox-active .video-details {
  width: 100%;
}

.detox-active .video-title {
  font-size: 15px;
  margin-bottom: 4px;
  display: inline-block;
}

.detox-active .card-metadata {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.detox-active .video-channel {
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0;
}

.detox-active .video-channel::after {
  content: ' •';
  margin-left: 6px;
}

.detox-active .video-stats {
  color: var(--text-secondary);
}

/* Helper Class */
.hidden {
  display: none !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* Tablet Layout Fold Point (768px - 1024px) */
@media (max-width: 1024px) {
  :root {
    --sidebar-width: 72px; /* Pinned but collapsed sidebar */
  }
  
  .sidebar {
    width: var(--sidebar-collapsed-width);
    padding: 12px 6px;
  }
  
  .sidebar .nav-link span,
  .sidebar .nav-header,
  .sidebar .create-feed-btn span {
    display: none; /* Collapses names, only keeps SVG */
  }
  
  .sidebar .create-feed-btn {
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 12px auto 0 auto;
  }
  
  .sidebar .nav-link {
    justify-content: center;
    padding: 12px;
  }
  
  .video-grid {
    grid-template-columns: repeat(2, 1fr); /* 2-column matrix layout */
    gap: 16px;
  }
}

/* Mobile Layout Fold Point (under 768px) */
@media (max-width: 768px) {
  .top-nav {
    padding: 0 12px;
  }
  
  .nav-center {
    display: none; /* Hide main search bar on mobile screen, open via toggle if needed */
  }
  
  .app-layout {
    position: relative;
  }
  
  .sidebar {
    position: absolute;
    left: -240px;
    top: 0;
    bottom: 0;
    width: 240px !important;
    z-index: 90;
    background-color: var(--bg-main);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .sidebar.open {
    left: 0;
  }
  
  .sidebar .nav-link span,
  .sidebar .nav-header,
  .sidebar .create-feed-btn span {
    display: inline; /* Shows elements again in side drawer */
  }
  
  .sidebar .create-feed-btn {
    border-radius: 10px;
    width: auto;
    height: auto;
    padding: 10px;
    margin: 12px 0 0 0;
  }
  
  .sidebar .nav-link {
    justify-content: flex-start;
  }
  
  .main-content {
    padding: 16px;
  }
  
  .video-grid {
    grid-template-columns: 1fr; /* 1-column layout matrix */
    gap: 16px;
  }
  
  .player-container.minimized {
    width: calc(100% - 32px);
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  /* Hide Sandbox/Detox buttons from top nav on mobile — they live in the drawer */
  #sandbox-toggle,
  #detox-toggle {
    display: none;
  }

  /* Show the mobile controls block in the sidebar drawer */
  .mobile-nav-controls {
    display: block;
  }

  /* Mobile control row — full-width touchable list item */
  .mobile-control-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 11px 14px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.18s ease;
    text-align: left;
  }

  .mobile-control-row:hover,
  .mobile-control-row:focus {
    background-color: var(--hover-overlay);
    outline: none;
  }

  .mobile-control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-secondary);
  }

  .mobile-control-label {
    flex: 1;
  }

  /* Sandbox active badge */
  .mobile-control-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: #2a2a2a;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
  }

  .mobile-control-badge.active {
    background: rgba(255, 0, 0, 0.18);
    color: var(--accent-red);
  }

  /* Detox inline toggle switch */
  .mobile-detox-switch {
    position: relative;
    width: 36px;
    height: 20px;
    background-color: #555;
    border-radius: 10px;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
  }

  .mobile-detox-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
    display: block;
  }

  #mobile-detox-toggle.active .mobile-detox-switch {
    background-color: var(--accent-red);
  }

  #mobile-detox-toggle.active .mobile-detox-knob {
    transform: translateX(16px);
  }

  /* Mobile YouTube URL search row */
  .mobile-search-row {
    padding: 8px 14px 4px 14px;
  }

  .mobile-search-container {
    display: flex;
    align-items: center;
    background: #111;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px 10px;
    gap: 8px;
    transition: border-color 0.2s ease;
  }

  .mobile-search-container:focus-within {
    border-color: var(--accent-red);
  }

  .mobile-search-icon {
    flex-shrink: 0;
    color: var(--text-secondary);
  }

  .mobile-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
    min-width: 0;
  }

  .mobile-search-input::placeholder {
    color: #555;
  }

  .mobile-search-submit {
    background: var(--accent-red);
    border: none;
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
  }

  .mobile-search-submit:hover {
    background: var(--accent-red-hover);
  }
}

/* ==========================================================================
   PREMIUM PAYWALL MODAL OVERLAY STYLES
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
}

.modal-card {
  background: #1a1a1a;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  width: 90%;
  max-width: 680px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(90deg, #ff3366, #ff9f43);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.close-modal-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-modal-btn:hover {
  background-color: var(--hover-overlay);
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.modal-intro {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
  text-align: center;
}

.features-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-tier {
  background: #111;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.feature-tier.highlighted {
  border-color: #ff3366;
  background: #1e1118;
  position: relative;
}

.premium-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(90deg, #ff3366, #ff9f43);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.feature-tier h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-tier .price {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.feature-tier .price span {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
}

.feature-tier ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-tier li {
  font-size: 13px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.feature-tier li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2ecc71;
  font-weight: bold;
}

.free-tier li::before {
  color: var(--text-secondary);
}

.modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
}

.checkout-btn {
  background: linear-gradient(90deg, #ff3366, #ff9f43);
  color: white;
  border: none;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 40px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 51, 102, 0.6);
}

@media (max-width: 600px) {
  .features-comparison {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INTERACTIVE WORKSPACE DUAL-PANE WATCH VIEW
   ========================================================================== */
.watch-workspace {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-bottom: 24px;
}

.workspace-left {
  flex: 0 1 65%;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}

.workspace-right {
  flex: 0 1 35%;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  height: fit-content;
  max-height: 85vh;
}

/* Tabs Navigation */
.workspace-tabs {
  display: flex;
  background-color: #1a1a1a;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-secondary);
  padding: 12px 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
  background-color: var(--hover-overlay);
}

.tab-btn.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-red);
  background-color: rgba(255, 255, 255, 0.03);
}

/* Tab Panels */
.tab-content-container {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
  min-height: 380px;
}

.tab-panel {
  display: none;
  flex-direction: column;
  height: 100%;
}

.tab-panel.active {
  display: flex;
}

/* Voice Panel */
.voice-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.voice-status-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #555;
  transition: background-color 0.3s ease;
}

.pulse-indicator.active {
  background-color: #2ecc71;
  animation: pulseGlow 1.5s infinite;
}

.pulse-indicator.thinking {
  background-color: #f1c40f;
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.waveform-container {
  width: 100%;
  height: 80px;
  background-color: #000;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

#waveform-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.voice-controls {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}

.voice-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-action-btn svg {
  width: 16px;
  height: 16px;
}

.voice-action-btn.secondary-btn {
  background-color: #444;
  color: white;
}

.voice-action-btn.secondary-btn:hover {
  background-color: #555;
}

.voice-transcript-log {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.voice-transcript-log h4 {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.transcript-bubbles {
  background: #000;
  border-radius: 8px;
  padding: 10px;
  max-height: 180px;
  overflow-y: auto;
  font-size: 13px;
  border: 1px solid var(--border-color);
}

.empty-transcript-message {
  color: var(--text-secondary);
  text-align: center;
  font-style: italic;
  padding: 20px 0;
}

/* Chat Message Bubbles */
.text-chat-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 350px;
  justify-content: space-between;
}

.text-chat-history {
  flex: 1;
  overflow-y: auto;
  background-color: #000;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 280px;
  margin-bottom: 12px;
}

.chat-message {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.4;
}

.chat-message.user {
  align-self: flex-end;
  background-color: var(--accent-red);
  color: white;
  border-bottom-right-radius: 2px;
}

.chat-message.agent {
  align-self: flex-start;
  background-color: #222;
  color: white;
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 2px;
}

.chat-message.system {
  align-self: center;
  background-color: transparent;
  color: var(--text-secondary);
  font-size: 11px;
  text-align: center;
  border: none;
}

.chat-input-area {
  display: flex;
  gap: 8px;
}

#text-chat-input {
  flex: 1;
  background-color: #000;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: white;
  padding: 10px 16px;
  outline: none;
}

#text-chat-input:focus {
  border-color: var(--accent-red);
}

.chat-options-area, .voice-options-area {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.chat-options-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.char-count {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.char-count.at-limit {
  color: #d9534f;
}

/* Phone-as-microphone pairing panel (TV only) */
.voice-pair-panel {
  margin-top: 12px;
  padding: 16px;
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.voice-pair-instructions {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.voice-qr {
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  line-height: 0;
}
.voice-qr img {
  display: block;
  width: 180px;
  height: 180px;
  image-rendering: pixelated;
}
.voice-pair-fallback {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-secondary);
}
.voice-pair-code {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-red);
  word-break: break-all;
}
.voice-pair-status {
  margin: 4px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Custom Checkbox */
.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

/* Timeline Index Item list */
.timeline-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background-color: #111;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.timeline-item:hover {
  background-color: var(--hover-overlay);
}

.timestamp-badge {
  background-color: rgba(255, 0, 0, 0.15);
  color: var(--accent-red);
  font-weight: 700;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: monospace;
}

.timeline-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Notes/Settings Panel (shared layout) */
.notes-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
}

.notes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
}

.badge {
  background-color: #333;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Workspace Meta Details */
.video-meta-details {
  padding: 16px;
  border-top: 1px solid var(--border-color);
}

.video-title-text {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.video-channel-text {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Workspace button icon alignments */
.workspace-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workspace-btn:hover {
  color: var(--text-primary);
}

.player-alert {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  gap: 16px;
}

.player-alert p {
  font-size: 15px;
  font-weight: 600;
  max-width: 400px;
}

/* Sandbox Settings styling */
.sandbox-btn {
  background: #222;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 6px 14px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sandbox-btn:hover {
  background: #333;
}

.sandbox-locked-ui .search-container,
.sandbox-locked-ui .create-feed-btn,
.sandbox-locked-ui #save-video-btn {
  display: none !important;
}

/* Responsive folding layout overrides for watch page */
@media (max-width: 1024px) {
  .watch-workspace:not(.floating):not(.theater) {
    flex-direction: column;
  }
  .watch-workspace:not(.floating):not(.theater) .workspace-left,
  .watch-workspace:not(.floating):not(.theater) .workspace-right {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   WORKSPACE VIEW MODES — Floating (PiP) & Theater (fullscreen)
   Each mode is a pure CSS state on #watch-workspace; the DOM never moves so
   the YouTube iframe and LiveKit voice session stay alive across switches.
   ========================================================================== */

/* The companion collapse toggle is only meaningful in floating/theater modes */
.companion-collapse-btn {
  display: none;
}
.watch-workspace.floating .companion-collapse-btn,
.watch-workspace.theater .companion-collapse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #1a1a1a;
  border: none;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex: 0 0 auto;
}
.watch-workspace.floating .companion-collapse-btn:hover,
.watch-workspace.theater .companion-collapse-btn:hover {
  color: var(--text-primary);
  background-color: var(--hover-overlay);
}
.watch-workspace.companion-collapsed .companion-collapse-btn svg {
  transform: rotate(180deg);
}

/* Collapsed: hide tabs + content, keep the reopen button visible */
.watch-workspace.companion-collapsed .workspace-tabs,
.watch-workspace.companion-collapsed .tab-content-container {
  display: none;
}

/* ---- Floating (PiP) ---- */
.watch-workspace.floating {
  position: fixed;
  z-index: 1500;
  margin: 0;
  gap: 0;
  flex-direction: column;
  width: 440px;
  height: 380px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.watch-workspace.floating .workspace-left {
  flex: 0 0 auto;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--border-color);
}
.watch-workspace.floating .player-header {
  cursor: move;
  user-select: none;
}
/* Trim chrome that doesn't fit the compact window */
.watch-workspace.floating .premium-onboarding-banner,
.watch-workspace.floating .video-meta-details {
  display: none;
}
.watch-workspace.floating .workspace-right {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  height: auto;
  border: none;
  border-radius: 0;
}
.watch-workspace.floating .tab-content-container {
  min-height: 0;
}
.watch-workspace.floating.companion-collapsed {
  height: auto !important;
}

/* Resize grip (bottom-right) — floating only */
.float-resize-grip {
  display: none;
}
.watch-workspace.floating .float-resize-grip {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
  z-index: 6;
  cursor: nwse-resize;
  background: linear-gradient(135deg,
    transparent 0 55%,
    var(--text-secondary) 55% 62%,
    transparent 62% 72%,
    var(--text-secondary) 72% 79%,
    transparent 79%);
}

/* ---- Theater (app-level fullscreen) ---- */
.watch-workspace.theater {
  position: fixed;
  inset: 0;
  z-index: 1500;
  margin: 0;
  gap: 0;
  background-color: #000;
}
.watch-workspace.theater .workspace-left {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: none;
  border-radius: 0;
  background: #000;
}
.watch-workspace.theater .premium-onboarding-banner,
.watch-workspace.theater .video-meta-details {
  display: none;
}
.watch-workspace.theater .player-aspect-wrapper {
  max-height: 100vh;
}
.watch-workspace.theater .workspace-right {
  flex: 0 0 360px;
  max-height: none;
  height: 100vh;
  border: none;
  border-left: 1px solid var(--border-color);
  border-radius: 0;
}
.watch-workspace.theater.companion-collapsed .workspace-right {
  flex: 0 0 auto;
}

/* Disable iframe hit-testing while dragging/resizing so it doesn't swallow
   the pointer and "stick" the window. */
.watch-workspace.dragging .player-aspect-wrapper iframe,
.watch-workspace.resizing .player-aspect-wrapper iframe {
  pointer-events: none;
}

/* Narrow screens: stack the theater companion under the player */
@media (max-width: 768px) {
  .watch-workspace.theater {
    flex-direction: column;
  }
  .watch-workspace.theater .workspace-right {
    flex: 0 0 auto;
    height: auto;
    max-height: 45vh;
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
}

/* ==========================================================================
   QUOTA WARNING BANNER STYLES
   ========================================================================== */
.quota-banner {
  background: #2e080b;
  border: 1px solid #ff3366;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: quotaBannerPulse 2s infinite ease-in-out;
}

@keyframes quotaBannerPulse {
  0% {
    box-shadow: 0 0 5px rgba(255, 51, 102, 0.2);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 51, 102, 0.2);
  }
}

.quota-banner-icon {
  font-size: 18px;
}

.quota-banner-text {
  font-size: 14px;
  font-weight: 600;
  color: #ffcccc;
}

/* ==========================================================================
   SAVED AI FEEDS CONTROL PANEL STYLES
   ========================================================================== */

.sidebar-feed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  border-radius: 10px;
  transition: background-color 0.2s ease;
  margin-bottom: 2px;
}

.sidebar-feed-row:hover {
  background-color: var(--hover-overlay);
}

.sidebar-feed-row .nav-link {
  flex: 1;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-feed-row .nav-link:hover {
  background-color: transparent !important;
}

.feed-edit-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  opacity: 0;
  transition: opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.sidebar-feed-row:hover .feed-edit-btn,
.feed-edit-btn.focused-element {
  opacity: 1;
}

.feed-edit-btn:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hide edit gears completely in sandbox mode */
.sandbox-locked-ui .feed-edit-btn {
  display: none !important;
}

/* Style for Form elements in advanced dropdown and edit modal */
.form-select, .form-input {
  width: 100%;
  background-color: #000;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  padding: 8px 12px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-select:focus, .form-input:focus {
  border-color: var(--accent-red);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 32px;
}

.kid-badge-icon {
  margin-left: auto;
  font-size: 10px;
  background-color: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: bold;
  display: inline-block;
}

.advanced-settings-details[open] .advanced-settings-summary {
  margin-bottom: 6px;
}

/* ==========================================================================
   USER AUTH & DROPDOWN STYLES
   ========================================================================== */
.auth-container {
  position: relative;
  display: flex;
  align-items: center;
}

.login-btn {
  background: linear-gradient(135deg, #e10000, #b30000);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(225, 0, 0, 0.2);
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(225, 0, 0, 0.4);
  background: linear-gradient(135deg, #ff1a1a, #cc0000);
}

.login-btn:active {
  transform: translateY(0);
}

.user-profile {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.user-profile:hover {
  transform: scale(1.05);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px;
  min-width: 200px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeInDropdown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.user-dropdown-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.user-dropdown-email {
  font-size: 11px;
  color: var(--text-secondary);
}

.dropdown-divider {
  border-top: 1px solid var(--border-color);
  margin: 4px 0;
}

.dropdown-btn {
  background: #2a2a2a;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
  width: 100%;
}

.dropdown-btn:hover {
  background: #3a3a3a;
  border-color: var(--text-secondary);
}

/* Refresh Animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.refreshing #refresh-icon {
  animation: spin 1s linear infinite;
}

/* Skeleton Loading Animation */
@keyframes shimmer {
  0% { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-thumb {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite ease-in-out;
  border-radius: 12px;
}

.skeleton-avatar {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite ease-in-out;
}

.skeleton-line {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 600px 100%;
  animation: shimmer 1.5s infinite ease-in-out;
  border-radius: 4px;
}

/* ==========================================================================
   CLIENT-SIDE ANIMATED AVATAR STYLES
   ========================================================================== */
.avatar-dropdown-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 0;
  width: 100%;
}

.avatar-dropdown-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, #aaaaaa);
}

.avatar-select-dropdown {
  flex: 0 1 200px;
}

.waveform-container {
  height: 180px !important;
  position: relative;
}

.avatar-canvas-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Glassmorphic voice overlay widget */
.voice-video-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

.voice-overlay-avatar-container {
  width: 50px;
  height: 50px;
  position: relative;
  background: #000;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  overflow: hidden;
  flex-shrink: 0;
}

.voice-overlay-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.voice-overlay-status {
  font-size: 11px;
  font-weight: 700;
  color: #2ecc71;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.voice-overlay-status::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2ecc71;
  animation: pulseGlow 1.5s infinite;
}

.voice-overlay-controls {
  display: flex;
  gap: 8px;
}

.voice-overlay-btn {
  background: #333;
  border: 1px solid var(--border-color);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-overlay-btn:hover {
  background: #444;
  border-color: var(--text-secondary);
}

.voice-overlay-btn.muted {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.voice-overlay-btn.disconnect:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

/* Empty Feed Curation UX State Card */
.empty-feed-container {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: rgba(21, 21, 21, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.empty-feed-container.locked {
  border-color: rgba(235, 94, 85, 0.3);
  background: rgba(26, 15, 15, 0.6);
}

.empty-feed-container.empty-results {
  border-color: rgba(170, 170, 170, 0.2);
  background: rgba(20, 20, 20, 0.5);
}

.empty-feed-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.empty-feed-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.empty-feed-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 24px;
}

.empty-feed-btn {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  border: none;
  border-radius: 24px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.empty-feed-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.empty-feed-btn:active {
  transform: translateY(0);
}


