html {
  background: #07111f;
}

body {
  min-height: 100vh;
  color: #f5f7fb;
  background:
    radial-gradient(circle at 20% 0%, rgba(93, 173, 226, 0.26), transparent 34rem),
    radial-gradient(circle at 80% 15%, rgba(248, 214, 109, 0.14), transparent 28rem),
    linear-gradient(160deg, #07111f 0%, #10243b 50%, #07111f 100%) !important;
}

body > .row:first-child {
  display: none;
}

.max-width {
  width: min(1440px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto;
  padding: 32px 0 56px;
  display: flex !important;
  flex-direction: column !important;
  gap: 28px;
}

.main,
.channel-list-sidebar {
  background: transparent !important;
}

.max-width > .main {
  flex-basis: 100%;
  max-width: 100%;
  width: 100%;
  padding: 0 !important;
}

.player-l1 {
  width: min(1120px, 100%);
  margin: 0 auto !important;
}

.player-l2 {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  overflow: hidden;
  background: #000;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.player-l3,
.player-l4,
[data-player] {
  max-height: none !important;
}

.content {
  width: min(1120px, 100%);
  margin: 22px auto 0;
  padding: 0 !important;
}

.content > .row > .col-xs-12 > .row:first-child {
  justify-content: center;
}

.content-headline {
  font-size: clamp(1.6rem, 3vw, 2.6rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
}

.content .content-headline {
  text-align: center;
}

.content-description {
  max-width: 760px;
  margin: 18px auto 0 !important;
  color: #d9e7f7;
  line-height: 1.65;
  text-align: center;
}

.channel-stats,
#btn-share,
#license,
.channel-license-image,
.content-description strong,
.content-description:has(#license),
.content-description:has(.channel-license-image) {
  display: none !important;
}

.content hr {
  border-top-color: rgba(255, 255, 255, 0.12) !important;
}

.max-width > .hide-xs.show-sm {
  display: block !important;
  flex-basis: 100%;
  max-width: 100%;
  width: 100%;
  padding: 0 !important;
}

.channel-list-sidebar {
  width: min(1120px, 100%);
  max-width: none !important;
  margin: 0 auto;
  padding: 0 !important;
}

.channel-list-sidebar > .col-xs-12:first-child .content-headline {
  margin: 0 0 18px;
  font-size: clamp(1.4rem, 2.4vw, 2rem) !important;
  text-align: left;
}

.channel-list-sidebar > .col-xs-12.col-sm-12 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 !important;
}

.channel-list-link {
  display: block;
  color: #f5f7fb !important;
  text-decoration: none !important;
}

.channel-list-l1 {
  height: 100%;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.channel-list-l1:hover,
.channel-list-selected {
  transform: translateY(-2px);
  border-color: rgba(248, 214, 109, 0.58);
  background: rgba(248, 214, 109, 0.14) !important;
}

.channel-list-l2 {
  display: block !important;
  padding: 0 !important;
}

.channel-list-image {
  display: block;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.channel-list-l2 > .row {
  display: block;
  margin: 0;
  padding: 14px 16px 16px;
}

.channel-list-description {
  display: block !important;
  max-height: none !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #fff;
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
  font-weight: 800;
}

.channel-list-description-stats {
  display: block !important;
  max-height: none !important;
  padding: 0 !important;
  color: #b8c7d9;
}

.channel-list-badge {
  z-index: 2;
  margin: 12px !important;
  padding: 4px 8px !important;
  border-radius: 0 !important;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.content .show-xs.hide-sm {
  display: none !important;
}

.footer {
  opacity: 0.55;
}

@media (max-width: 900px) {
  .channel-list-sidebar > .col-xs-12.col-sm-12 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .max-width {
    width: min(100% - 20px, 1440px);
    padding-top: 18px;
  }

  .channel-list-sidebar > .col-xs-12.col-sm-12 {
    grid-template-columns: 1fr;
  }
}
