:root, html.dark {
  --page: #0e0e0c;
  --surface: #1a1a17;
  --surface-2: #262622;
  --surface-3: #32322d;
  --fg: #f4f3ee;
  --fg-muted: #c9c7be;
  --fg-subtle: #9a9890;
  --line: #2e2e29;
  --line-strong: #3f3f39;
  --accent: #d3013e;
  --accent-hover: #e5154f;
  --accent-wash: #3b0716;
  --accent-text: #ff3b6b;
  --on-accent: #ffffff;
}
html.light {
  --page: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #efeeea;
  --surface-3: #e6e4df;
  --fg: #0f0f0d;
  --fg-muted: #4a4943;
  --fg-subtle: #6b6a63;
  --line: #e6e4df;
  --line-strong: #cfcdc6;
  --accent: #d3013e;
  --accent-hover: #b80036;
  --accent-wash: #fde7ee;
  --accent-text: #d3013e;
  --on-accent: #ffffff;
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--fg-subtle);
}
*, ::after, ::before {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  line-height: inherit;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--page);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b, strong {
  font-weight: bolder;
}
button, input {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button {
  text-transform: none;
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}
:-moz-focusring {
  outline: auto;
}
:-moz-ui-invalid {
  box-shadow: none;
}
h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}
ol, ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
input::placeholder {
  opacity: 1;
  color: #9ca3af;
}
:disabled {
  cursor: default;
}
iframe, img, svg, video {
  display: block;
  vertical-align: middle;
}
img, video {
  max-width: 100%;
  height: auto;
}
[hidden]:where(:not([hidden=until-found])) {
  display: none;
}
.theme-toggle, .channel-card, .site-nav__link:not(.site-nav__link--active), .mobile-menu__close, .source-btn:not(.source-btn--active), .channel-list__link, .search-result {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.page {
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.page--channel {
  gap: 1rem;
}
.site-main {
  display: flex;
  flex-direction: column;
  gap: inherit;
}
.site-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid;
  border-color: var(--line);
}
.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.site-header__tools {
  display: none;
  align-items: center;
  gap: 0.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.logo--header {
  flex-shrink: 0;
}
.logo__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo__icon--small {
  width: 2rem;
  height: 2rem;
}
.logo__name {
  font-weight: 700;
  color: var(--fg);
}
.logo--header .logo__name {
  font-size: 1.25rem;
  line-height: 1.75rem;
  letter-spacing: -0.025em;
}
.logo--compact .logo__name {
  font-size: 1rem;
  line-height: 1.5rem;
}
.logo__tld {
  color: var(--accent-text);
}
.logo__tagline {
  display: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-subtle);
}
.theme-toggle, .mobile-menu__close {
  border-radius: 9999px;
  border: 1px solid var(--line);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--surface);
}
.theme-toggle:hover {
  background-color: var(--surface-2);
}
.mobile-menu__close {
  width: 2.25rem;
  height: 2.25rem;
  background-color: var(--surface-2);
}
.mobile-menu__close:hover {
  background-color: var(--surface-3);
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s;
}
.menu-toggle:hover {
  background: var(--surface-2);
}
.search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 0%;
  max-width: 28rem;
  width: 100%;
  position: relative;
}
.search__field {
  position: relative;
  width: 100%;
}
.search__icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  color: var(--fg-subtle);
  pointer-events: none;
}
.search__input {
  width: 100%;
  height: 2.5rem;
  background-color: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--fg);
  padding-left: 2.5rem;
  padding-right: 1rem;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.search__input:focus {
  border-color: var(--accent);
}
.search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  margin-top: 0.5rem;
  display: none;
  flex-direction: column;
  max-height: 20rem;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}
.search-results--open {
  display: flex;
}
.search-results > * + * {
  border-top: 1px solid;
  border-color: var(--line);
}
.search-results__empty {
  padding: 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--fg-subtle);
  text-align: center;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem;
}
.search-result:hover {
  background-color: var(--surface-2);
}
.search-result__logo {
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
  flex-shrink: 0;
}
.search-result__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 0%;
}
.search-result__name, .search-result__category {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-result__name {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--fg);
}
.search-result__category {
  font-size: 10px;
  color: var(--fg-subtle);
}
.channel-card__img, .channel-list__img, .channel-info__img, .search-result__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: var(--page);
  display: none;
  flex-direction: column;
  box-sizing: border-box;
  overflow: hidden;
}
.mobile-menu.mobile-menu--open {
  display: flex;
}
.mobile-menu__header {
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  box-sizing: border-box;
}
.mobile-menu__body {
  flex: 1;
  width: 100%;
  overflow-y: auto;
  padding: 16px;
  box-sizing: border-box;
}
.mobile-menu__title {
  margin-bottom: 0.625rem;
  padding-left: 0.125rem;
  padding-right: 0.125rem;
  font-size: 11px;
  font-weight: 700;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mobile-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}
.mobile-menu__item {
  display: flex;
}
.mobile-menu__item--all {
  grid-column: span 2;
}
.mobile-menu__link {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.15s, border-color 0.15s;
  background: var(--surface-2);
  color: var(--fg);
  border: 1px solid var(--line);
}
.mobile-menu__link:not(.mobile-menu__link--active):hover {
  background: var(--surface-3);
}
.mobile-menu__link--active {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
  font-weight: 700;
}
.site-nav {
  display: none;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.site-nav__item {
  display: flex;
  flex-shrink: 0;
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 9999px;
  white-space: nowrap;
  font-size: 0.75rem;
  line-height: 1rem;
}
.site-nav__link:not(.site-nav__link--active) {
  background-color: var(--surface);
  border: 1px solid var(--line);
  color: var(--fg-muted);
  font-weight: 500;
}
.site-nav__link:not(.site-nav__link--active):hover {
  background-color: var(--surface-2);
  color: var(--fg);
}
.site-nav__link--active {
  background-color: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}
.site-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid;
  border-color: var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--fg-subtle);
}
.site-footer__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.375rem;
}
.site-footer__item, .breadcrumbs__item {
  display: contents;
}
.site-footer__link:hover, .breadcrumbs__link:hover {
  color: var(--accent-text);
}
.hero {
  padding-top: 0.5rem;
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid;
  border-color: var(--line);
}
.hero__eyebrow {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-text);
}
.hero__title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.hero__intro {
  max-width: 42rem;
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--fg-muted);
}
.page-head, .channel-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.page-head__title {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--fg);
}
.more-link {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: var(--accent-text);
}
.more-link:hover {
  text-decoration-line: underline;
}
.channel-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.channel-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.channel-section__title {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}
.channel-grid__item {
  display: flex;
  min-width: 0;
}
.channel-card {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.channel-card:hover {
  border-color: var(--line-strong);
  background-color: var(--surface-2);
}
.channel-card__logo {
  width: 100%;
  aspect-ratio: 4/3;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.channel-card__name, .channel-card__category {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.channel-card__name {
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--fg);
}
.channel-card__category {
  font-size: 10px;
  line-height: 1;
  color: var(--fg-subtle);
}
.text-card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.article-body h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.article-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}
.article-body p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.article-body ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  list-style-type: disc;
}
.article-body li {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}
.article-body strong {
  color: var(--fg);
}
.article-body a {
  color: var(--accent-text);
  text-decoration: underline;
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--fg-subtle);
}
.breadcrumbs__link {
  white-space: nowrap;
}
.breadcrumbs__current {
  max-width: 20rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  color: var(--fg);
}
.channel-layout {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
}
.channel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.player__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.player__frame {
  width: 100%;
  height: 100%;
  border-style: none;
}
.player__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--fg-subtle);
}
.channel-info {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.channel-info__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.channel-info__logo {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.channel-info__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.channel-info__title {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--fg);
}
.channel-info__badges, .channel-info__sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.channel-info__live {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  background-color: var(--accent);
  color: var(--on-accent);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}
.channel-info__live-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: var(--on-accent);
}
.channel-info__category {
  flex-shrink: 0;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--fg-subtle);
  font-size: 11px;
  white-space: nowrap;
}
.channel-info__epg-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.channel-info__epg-link:hover {
  background-color: var(--surface-3);
  border-color: var(--line-strong);
  color: var(--accent-text);
}
.epg-card {
  margin-top: 1rem;
}
.epg-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .epg-card__head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.epg-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0;
}
.epg-card__sub {
  font-size: 11px;
  color: var(--fg-subtle);
  margin-top: 0.125rem;
}
.epg-tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  padding: 0.25rem;
  border-radius: 8px;
}
.epg-tab {
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.epg-tab:hover {
  color: var(--fg);
}
.epg-tab--active {
  background-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
.epg-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.75rem;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.epg-list--hidden {
  display: none;
}
.epg-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.625rem;
  border-radius: 6px;
  font-size: 12px;
  color: var(--fg);
  background-color: transparent;
  transition: background-color 0.15s;
}
.epg-item:hover {
  background-color: var(--surface-2);
}
.epg-item__main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.epg-item__time {
  width: 5.5rem;
  flex-shrink: 0;
  font-family: monospace;
  font-size: 11px;
  color: var(--fg-subtle);
}
.epg-item__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--fg);
}
.epg-item--past {
  color: var(--fg-subtle);
}
.epg-item--past .epg-item__name {
  color: var(--fg-subtle);
  text-decoration: line-through;
}
.epg-item--live {
  background-color: var(--accent-wash);
  border: 1px solid var(--accent);
  color: var(--fg);
  font-weight: 600;
}
.epg-item--live .epg-item__time {
  color: var(--accent-text);
  font-weight: 700;
}
.epg-item--live .epg-item__name {
  color: var(--fg);
}
.epg-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  background-color: var(--accent);
  color: var(--on-accent);
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.channel-info__sources-label {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--fg-subtle);
}
.source-btn {
  height: 2rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  line-height: 1rem;
  white-space: nowrap;
}
.source-btn:not(.source-btn--active) {
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--fg-muted);
  font-weight: 500;
}
.source-btn:not(.source-btn--active):hover {
  background-color: var(--surface-3);
}
.source-btn--active {
  background-color: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}
.channel-sidebar {
  position: relative;
  width: 100%;
  height: 360px;
  min-height: 0;
}
.channel-list {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.channel-list__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-bottom: 1px solid;
  border-color: var(--line);
}
.channel-list__title {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg);
}
.channel-list__count {
  font-size: 11px;
  color: var(--fg-subtle);
}
.channel-list__items {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.channel-list__item {
  display: flex;
  flex-shrink: 0;
}
.channel-list__link {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem;
  border-radius: 10px;
  color: var(--fg-muted);
}
.channel-list__link:not(.channel-list__link--active):hover {
  background-color: var(--surface-2);
  color: var(--fg);
}
.channel-list__link--active {
  background-color: var(--surface-3);
  color: var(--accent-text);
  font-weight: 600;
}
.channel-list__logo {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  overflow: hidden;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.channel-list__name {
  display: block;
  flex: 1 1 0%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  line-height: 1rem;
}
@media (min-width: 640px) {
  .page {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .site-header__top {
    width: auto;
  }
  .site-header__actions, .mobile-menu {
    display: none;
  }
  .site-header__tools {
    display: flex;
  }
  .logo--header {
    gap: 0.75rem;
  }
  .logo__tagline {
    display: block;
  }
  .site-nav {
    display: block;
  }
  .site-nav__link {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .hero__title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
  .hero__intro {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .page-head__title {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .channel-sections {
    gap: 2rem;
  }
  .channel-section {
    gap: 1rem;
  }
  .channel-section__title {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .channel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .channel-card {
    padding: 0.75rem;
  }
  .channel-card__name {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .channel-card__category {
    font-size: 11px;
  }
  .text-card {
    padding: 1.5rem;
  }
  .channel-info {
    padding: 1.25rem;
    gap: 1rem;
  }
  .channel-info__logo {
    width: 3rem;
    height: 3rem;
  }
  .channel-info__title {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .channel-info__live {
    font-size: 11px;
  }
  .channel-info__category {
    font-size: 0.75rem;
    line-height: 1rem;
  }
}
@media (min-width: 768px) {
  .channel-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .channel-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .channel-layout {
    grid-template-columns: 1fr 320px;
  }
  .channel-sidebar {
    height: auto;
  }
  .channel-list {
    position: absolute;
    inset: 0;
  }
}
@media (min-width: 1280px) {
  .channel-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}
