/* ==========================================================
   GUÍA DE CANALES TELECABLE - DISEÑO PREMIUM, LIMPIO Y ELEGANTE
   ========================================================== */

:root {
  --guide-bg: #000000;
  /* Superficie limpia y oscura con glassmorphism sutil */
  --guide-card-bg: rgba(14, 18, 14, 0.7);
  --guide-card-hover-bg: rgba(20, 28, 18, 0.85);
  --guide-header-bg: rgba(22, 30, 20, 0.65);
  --guide-header-hover-bg: rgba(28, 40, 24, 0.85);
  --guide-accent: #86ff05;
  --guide-accent-gradient: linear-gradient(135deg, #86ff05 0%, #ffee00 100%);
  --guide-border: rgba(255, 255, 255, 0.08);
  --guide-border-hover: rgba(134, 255, 5, 0.4);
  --guide-text-muted: rgba(255, 255, 255, 0.65);
  --guide-table-border: rgba(255, 255, 255, 0.05);
  --guide-radius: 18px;
  --guide-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  --guide-glow: 0 0 25px rgba(134, 255, 5, 0.12);
  --guide-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sección Principal con Espaciado Generoso y Limpio */
.channels-guide-section {
  position: relative;
  background-color: var(--guide-bg);
  padding: 9.5rem 0 12.5rem 0;
  overflow: hidden;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.channels-guide-container {
  position: relative;
  z-index: 3;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================
   ENCABEZADO DE LA GUÍA
   ========================================== */
.guide-header-box {
  text-align: center;
  max-width: 950px;
  margin: 0 auto 3.8rem auto;
}

.guide-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.85rem;
  background: rgba(160, 244, 42, 0.08);
  border: 1px solid rgba(160, 244, 42, 0.3);
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--guide-accent);
  margin-bottom: 1.8rem;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.4px;
  box-shadow: 0 0 12px rgba(134, 255, 5, 0.1);
}

.guide-kicker::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(160, 244, 42, 0.3), transparent);
  animation: guideKickerShine 3s linear infinite;
}

@keyframes guideKickerShine {
  0% {
    left: -100%;
  }

  20%,
  100% {
    left: 100%;
  }
}

.guide-main-title {
  font-size: clamp(3.4rem, 7.8vw, 5.2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 1.8rem;
}

.text-gradient-lime {
  background: var(--guide-accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.guide-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  color: var(--guide-text-muted);
  max-width: 560px;
  margin: 0 auto 4.2rem auto;
  line-height: 1.7;
}

.guide-subtitle strong {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================
   BUSCADOR MODERNO & ESPACIOSO
   ========================================== */
.guide-search-wrapper {
  display: flex;
  justify-content: center;
  max-width: 620px;
  margin: 0 auto 3.2rem auto;
}

.guide-search-input-group {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.guide-search-input-group .search-icon {
  position: absolute;
  left: 1.4rem;
  color: var(--guide-accent);
  font-size: 1.15rem;
  pointer-events: none;
  z-index: 5;
  transition: var(--guide-transition);
}

#searchInput {
  width: 100%;
  padding: 1.15rem 3.2rem 1.15rem 3.4rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--guide-transition);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

#searchInput:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--guide-accent);
  box-shadow: 0 0 25px rgba(134, 255, 5, 0.25), 0 8px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

#searchInput::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
}

.clear-search-btn {
  position: absolute;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--guide-transition);
}

.clear-search-btn:hover {
  background: rgba(230, 57, 70, 0.85);
  color: #ffffff;
  transform: scale(1.1);
}

/* Dropdown de Autocompletado Moderno */
.guide-search-wrapper {
  position: relative;
}

.guide-autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: rgba(14, 20, 14, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(134, 255, 5, 0.3);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(134, 255, 5, 0.15);
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
  animation: autocompleteFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.guide-autocomplete-dropdown::-webkit-scrollbar {
  width: 5px;
}

.guide-autocomplete-dropdown::-webkit-scrollbar-thumb {
  background: rgba(134, 255, 5, 0.4);
  border-radius: 10px;
}

@keyframes autocompleteFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.autocomplete-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background: rgba(134, 255, 5, 0.12);
  transform: translateX(4px);
}

.auto-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.auto-num {
  font-family: 'SF Pro Display', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--guide-accent);
  font-size: 0.92rem;
  min-width: 60px;
}

.auto-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
}

.auto-name mark {
  background: transparent;
  color: var(--guide-accent);
  text-decoration: underline;
  font-weight: 800;
}

.auto-cat {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================
   PILLS DE FILTRADO (SLIDER HORIZONTAL PREMIUM TIPO APPLE)
   ========================================== */
.guide-pills-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto 1.5rem auto;
  padding: 0 0.5rem;
}

/* Indicadores de borde limpios sin tapar botones */
.guide-pills-slider-wrapper::before,
.guide-pills-slider-wrapper::after {
  display: none !important;
}

.guide-category-pills {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.8rem 0.5rem;
  width: 100%;
  scrollbar-width: none;
  /* Firefox */
}

.guide-category-pills::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

/* Botones de navegación del slider tipo Apple */
.pills-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(14, 20, 14, 0.9);
  border: 1px solid rgba(134, 255, 5, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--guide-transition);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.pills-nav-btn:hover {
  background: rgba(134, 255, 5, 0.2);
  border-color: var(--guide-accent);
  color: var(--guide-accent);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(134, 255, 5, 0.35);
}

.pills-nav-btn.prev-btn {
  margin-right: 0.85rem;
}

.pills-nav-btn.next-btn {
  margin-left: 0.85rem;
}

.cat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.62rem 1.3rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--guide-transition);
  backdrop-filter: blur(12px);
  user-select: none;
}

.cat-pill i {
  color: var(--guide-accent);
  font-size: 0.92rem;
  transition: transform 0.25s ease;
}

.cat-pill:hover {
  background: rgba(134, 255, 5, 0.12);
  border-color: rgba(134, 255, 5, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

.cat-pill.active {
  background: var(--guide-accent-gradient);
  color: #000000;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(134, 255, 5, 0.35);
  transform: translateY(-2px);
}

.cat-pill.active i {
  color: #000000;
}

/* ==========================================
   GRID DE CATEGORÍAS (LIMPIO, ESPACIADO Y EQUILIBRADO)
   ========================================== */
.guide-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modo Filtro Único: Centrado armónico tipo Apple */
.guide-grid-layout.single-filter-active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.guide-grid-layout.single-filter-active .category-column {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.guide-grid-layout.single-filter-active .category-column:empty,
.guide-grid-layout.single-filter-active .category-column:not(:has(.category-container[style*="display: block"])) {
  display: none;
}

/* Modo Búsqueda Múltiple: Acomodo balanceado y simétrico */
.guide-grid-layout.search-multi-active {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

.guide-grid-layout.search-multi-active .category-column {
  flex: 1 1 360px;
  max-width: 420px;
}

.guide-grid-layout.search-multi-active .category-column:empty,
.guide-grid-layout.search-multi-active .category-column:not(:has(.category-container[style*="display: block"])) {
  display: none;
}

.category-column {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Tarjeta Acordeón */
.category-container {
  background: var(--guide-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--guide-border);
  border-radius: var(--guide-radius);
  overflow: hidden;
  box-shadow: var(--guide-shadow);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.category-container.animate-in {
  animation: appleCardSmooth 0.45s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

@keyframes appleCardSmooth {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.category-container:hover {
  border-color: var(--guide-border-hover);
  box-shadow: var(--guide-glow), var(--guide-shadow);
  transform: translateY(-3px);
}

.category-container.highlight-search {
  border-color: var(--guide-accent) !important;
  box-shadow: 0 0 30px rgba(134, 255, 5, 0.3) !important;
}

/* Header de Categoría */
.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.25rem;
  background: var(--guide-header-bg);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: var(--guide-transition);
  user-select: none;
}

.category-header:hover {
  background: var(--guide-header-hover-bg);
}

.category-container.active .category-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(26, 36, 22, 0.9);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
}

.category-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(134, 255, 5, 0.1);
  border: 1px solid rgba(134, 255, 5, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--guide-transition);
}

.category-icon-box i {
  color: var(--guide-accent);
  font-size: 1.1rem;
}

.category-container.active .category-icon-box {
  background: var(--guide-accent-gradient);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(134, 255, 5, 0.35);
}

.category-container.active .category-icon-box i {
  color: #000000;
}

.category-title {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  white-space: nowrap;
}

.cat-badge-counter {
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--guide-accent);
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  border: 1px solid rgba(134, 255, 5, 0.15);
  margin-left: auto;
  margin-right: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.category-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #264212;
  border: 1.5px solid #4a821e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #ffffff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.category-header:hover .category-icon {
  background: #315816;
  border-color: #86ff05;
  color: #ffffff;
}

.category-container.active .category-icon {
  transform: rotate(180deg);
  background: #3a681a;
  border-color: #86ff05;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(134, 255, 5, 0.35);
}

/* Contenido Colapsable con Altura para 6 Canales, Scrollbar y Difuminación Inferior */
.category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(0, 0, 0, 0.35);
  position: relative;
}

.category-container.active .category-content {
  max-height: 295px;
  overflow-y: auto;
  mask-image: linear-gradient(to bottom, black calc(100% - 35px), transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 35px), transparent 100%);
}

/* Scrollbar estilizada con degradado Verde a Amarillo vibrante */
.category-content::-webkit-scrollbar {
  width: 7px;
}

.category-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px;
  margin: 4px 0;
}

.category-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #86ff05 0%, #ffee00 100%);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(134, 255, 5, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.category-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #9eff1a 0%, #fff233 100%);
  box-shadow: 0 0 14px rgba(134, 255, 5, 0.75);
}

/* Tabla de Canales - Estilizada, Alineada y Legible */
.channel-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  table-layout: fixed;
}

.channel-table thead tr {
  background: rgba(0, 0, 0, 0.65);
  border-bottom: 1px solid var(--guide-table-border);
  position: sticky;
  top: 0;
  z-index: 2;
}

.channel-table th {
  padding: 0.85rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--guide-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
}

.channel-table th:first-child,
.channel-table td:first-child {
  width: 110px;
  min-width: 110px;
  white-space: nowrap;
}

.channel-table tbody tr {
  border-bottom: 1px solid var(--guide-table-border);
  transition: background 0.15s ease;
}

.channel-table tbody tr:last-child {
  border-bottom: none;
}

.channel-table tbody tr:hover {
  background: rgba(134, 255, 5, 0.09);
}

.channel-table td {
  padding: 0.82rem 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  vertical-align: middle;
}

.channel-table td:first-child {
  font-family: 'SF Pro Display', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--guide-accent);
  letter-spacing: 0.5px;
  font-size: 1.02rem;
}

.channel-table td:last-child {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.98rem;
}

/* Badges Exclusivo y Canales Especiales */
.channel-badge {
  display: inline-block;
  background: rgba(134, 255, 5, 0.16);
  color: var(--guide-accent);
  border: 1px solid rgba(134, 255, 5, 0.45);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-left: 0.6rem;
  letter-spacing: 0.4px;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(134, 255, 5, 0.2);
}

.premium-channel {
  background: rgba(134, 255, 5, 0.035);
}

.azteca-channel {
  border-left: 3.5px solid #8ae639;
}

.televisa-channel {
  border-left: 3.5px solid #83ea2e;
}

/* Fila resaltada por búsqueda */
.channel-table tr.highlight-row {
  background: rgba(134, 255, 5, 0.22) !important;
}

.channel-table tr.highlight-row td {
  color: #ffffff !important;
  font-weight: 700;
}

/* ==========================================
   SIN RESULTADOS DE BÚSQUEDA
   ========================================== */
.guide-no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(16, 22, 16, 0.55);
  border: 1px dashed rgba(134, 255, 5, 0.3);
  border-radius: var(--guide-radius);
  max-width: 650px;
  margin: 3.5rem auto 0 auto;
  animation: fadeIn 0.4s ease;
}

.guide-no-results i {
  font-size: 3.2rem;
  color: var(--guide-accent);
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.guide-no-results h3 {
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.guide-no-results p {
  color: var(--guide-text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.85rem;
  line-height: 1.6;
}

.reset-filter-btn {
  background: var(--guide-accent-gradient);
  color: #000000;
  border: none;
  font-weight: 700;
  padding: 0.85rem 1.85rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--guide-transition);
  box-shadow: 0 4px 18px rgba(134, 255, 5, 0.35);
}

.reset-filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(134, 255, 5, 0.45);
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   RESPONSIVIDAD
   ========================================== */
@media (max-width: 1200px) {
  .guide-grid-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 820px) {
  .channels-guide-section {
    padding: 4.5rem 0 6rem 0;
  }

  .channels-guide-container {
    padding: 0 1.25rem;
  }

  .guide-header-box {
    margin-bottom: 2.2rem;
  }

  .guide-pills-slider-wrapper {
    max-width: 100%;
    padding: 0;
  }

  .pills-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  .pills-nav-btn.prev-btn {
    margin-right: 0.4rem;
  }

  .pills-nav-btn.next-btn {
    margin-left: 0.4rem;
  }

  .guide-category-pills {
    padding: 0.6rem 0.5rem;
    gap: 0.65rem;
  }

  .cat-pill {
    padding: 0.55rem 1.1rem;
    font-size: 0.84rem;
  }

  .guide-grid-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .guide-search-wrapper {
    width: 100%;
    margin-bottom: 2.2rem;
  }

  #searchInput {
    padding: 0.95rem 2.8rem 0.95rem 2.9rem;
    font-size: 0.92rem;
  }

  .category-header {
    padding: 1rem 1.2rem;
  }

  .category-title {
    font-size: 0.95rem;
  }

  .channel-table th,
  .channel-table td {
    padding: 0.75rem 1.1rem;
    font-size: 0.88rem;
  }

  .guide-grid-layout.single-filter-active {
    width: 100%;
    margin: 0;
  }

  .guide-grid-layout.single-filter-active .category-column {
    max-width: 100%;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .channels-guide-section {
    padding: 4.5rem 0 7rem 0;
  }

  .guide-header-box {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .channels-guide-section {
    padding: 4.5rem 0 6.5rem 0;
  }

  .channels-guide-container {
    padding: 0 0.9rem;
  }

  .guide-header-box {
    margin-bottom: 1.8rem;
  }

  .guide-kicker {
    font-size: 0.72rem;
    padding: 0.22rem 0.75rem;
    margin-bottom: 0.9rem;
  }

  .guide-main-title {
    font-size: clamp(2rem, 8.2vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 0.9rem;
    letter-spacing: -0.5px;
  }

  .guide-subtitle {
    font-size: 0.86rem;
    max-width: 320px;
    margin: 0 auto 1.8rem auto;
    line-height: 1.55;
    padding: 0 0.4rem;
  }

  .guide-search-wrapper {
    margin-bottom: 1.6rem;
    padding: 0 0.2rem;
  }

  .guide-search-input-group .search-icon {
    left: 1.1rem;
    font-size: 0.95rem;
  }

  #searchInput {
    padding: 0.88rem 2.6rem 0.88rem 2.65rem;
    font-size: 0.84rem;
    border-radius: 40px;
  }

  #searchInput::placeholder {
    font-size: 0.8rem;
  }

  .clear-search-btn {
    right: 0.9rem;
    width: 25px;
    height: 25px;
    font-size: 0.75rem;
  }

  .guide-pills-slider-wrapper {
    position: relative;
    padding: 0;
    margin: 0 0 1.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }

  .pills-nav-btn {
    display: flex;
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 0.75rem;
    background: rgba(18, 26, 18, 0.95);
    border: 1px solid rgba(134, 255, 5, 0.35);
    color: #86ff05;
    margin: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

  .guide-category-pills {
    padding: 0.35rem 0.2rem;
    gap: 0.5rem;
    scroll-snap-type: x proximity;
  }

  .cat-pill {
    padding: 0.48rem 0.85rem;
    font-size: 0.76rem;
    gap: 0.45rem;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .cat-pill i {
    font-size: 0.82rem;
  }

  .guide-grid-layout {
    gap: 0.9rem;
    margin-top: 0.8rem;
  }

  .category-column {
    gap: 0.9rem;
  }

  .category-container {
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
  }

  .category-header {
    padding: 0.85rem 0.95rem;
  }

  .header-content {
    gap: 0.65rem;
    min-width: 0;
  }

  .category-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .category-icon-box i {
    font-size: 0.95rem;
  }

  .category-title {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.2px;
  }

  .cat-badge-counter {
    font-size: 0.68rem;
    padding: 0.18rem 0.45rem;
    margin-right: 0.25rem;
    border-radius: 12px;
  }

  .category-icon {
    width: 27px;
    height: 27px;
    font-size: 0.72rem;
  }

  .category-container.active .category-content {
    max-height: 270px;
  }

  .channel-table th,
  .channel-table td {
    padding: 0.68rem 0.85rem;
    font-size: 0.82rem;
  }

  .channel-table th:first-child,
  .channel-table td:first-child {
    width: 80px;
    min-width: 80px;
    font-size: 0.88rem;
  }

  .channel-table td {
    word-break: break-word;
  }

  .guide-grid-layout.single-filter-active {
    width: 100%;
    padding: 0;
  }

  .guide-grid-layout.single-filter-active .category-column {
    max-width: 100%;
    width: 100%;
  }
}