.tv-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}

.tv-cats {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  position: sticky;
  top: 5.5rem;
  padding: 0.7rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(21, 24, 35, 0.96), rgba(31, 26, 42, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 28px rgba(18, 20, 30, 0.18);
}

.tv-cat {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.8rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
  color: #f3f5ff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.tv-cat:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(2px);
}

.tv-cat.is-active {
  background: linear-gradient(135deg, rgba(154, 107, 255, 0.9), rgba(246, 98, 166, 0.86));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(151, 104, 255, 0.25);
}

.tv-main {
  min-width: 0;
}

@media (max-width: 820px) {
  .tv-layout {
    grid-template-columns: 1fr;
  }

  .tv-cats {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.55rem;
  }

  .tv-cat {
    white-space: nowrap;
  }
}
