html.available-channels-page {
  --channel-accent: #2563eb;
  --channel-accent-soft: rgba(37, 99, 235, 0.08);
  --channel-border: rgba(37, 99, 235, 0.16);
}

html.available-channels-page main {
  background:
    radial-gradient(circle at 75% 4%, rgba(56, 189, 248, 0.10), transparent 26rem),
    radial-gradient(circle at 18% 18%, rgba(99, 102, 241, 0.08), transparent 24rem);
}

html.available-channels-page main .grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 520px)) !important;
  align-items: start;
  gap: 1.25rem !important;
}

html.available-channels-page main .grid > div {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--channel-border) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08) !important;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

html.available-channels-page main .grid > div::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #06b6d4, #8b5cf6);
  content: "";
}

html.available-channels-page main .grid > div:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.32) !important;
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.13) !important;
}

html.available-channels-page main .grid > div > div:first-child {
  padding: 1.35rem 1.4rem 1.1rem !important;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.04));
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

html.available-channels-page main .grid > div > div:last-child {
  padding: 1.25rem 1.4rem 1.4rem !important;
}

html.available-channels-page main .grid [class*="badge"],
html.available-channels-page main .grid span[class*="rounded"] {
  border-radius: 999px !important;
  padding: 0.3rem 0.65rem !important;
  font-weight: 550;
  letter-spacing: 0.01em;
}

html.available-channels-page main .grid > div > div:last-child span {
  border-color: rgba(37, 99, 235, 0.18) !important;
  background: var(--channel-accent-soft);
  color: #1d4ed8;
}

html.dark.available-channels-page main .grid > div {
  background: rgba(15, 23, 42, 0.88) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.26) !important;
}

html.dark.available-channels-page main .grid > div > div:first-child {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.20), rgba(6, 182, 212, 0.08));
}

html.dark.available-channels-page main .grid > div > div:last-child span {
  color: #93c5fd;
}

@media (max-width: 720px) {
  html.available-channels-page main .grid {
    grid-template-columns: 1fr !important;
  }

  html.available-channels-page main .grid > div > div:first-child,
  html.available-channels-page main .grid > div > div:last-child {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}
