body {
    background-color:#050505;
  }

  /* Scroll fade overlays */
  .scroll-fade-top {
    /* position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: linear-gradient(to bottom, rgba(5,5,5,1), rgba(5,5,5,0));
    pointer-events: none;
    z-index: 50;
    position: hidden !important; */
    /* border: 1px solid red; debug */
  }

  /* Page Header */
  .page-header {
    background-color: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom:0.5rem;
    position: relative;
    overflow: visible;
  }

  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    background: linear-gradient(to right, #26498d 0%, #26498d 60%, #000000 100%);
    position: relative;
    z-index: 5;
  }

  .header-left {
    display: flex;
    align-items: center;
  }

  .header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
  }

  .header-logo {
    height: 45px;
    width: auto;
    margin-left: .5rem;
  }

  .header-right {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
  }

  .header-burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-right: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
    border-radius: 4px;
  }

  .header-burger-btn .burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
  }

  .header-burger-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem 1.25rem;
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  .header-burger-menu.is-open {
    max-height: 280px;
    opacity: 1;
  }

  .header-burger-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .header-burger-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .header-burger-link:last-child {
    border-bottom: none;
  }

  .header-burger-link:hover {
    color: #fff;
  }

  .banner-section-mobile-top {
    margin-bottom: 0.5rem;
  }

  .refresh-time {
    color: #d6d6d6;
    font-size: 12px;
    margin-right: 1.5rem;
    font-weight: 400;
  }

  /* Christmas Toggle Button */
  .christmas-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 1.5rem;
    transition: transform 0.2s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    justify-content: center;
  }

  .christmas-toggle-btn:hover {
    transform: scale(1.05);
  }

  .christmas-toggle-btn:active {
    transform: scale(0.98);
  }

  .christmas-toggle-slider {
    position: relative;
    width: 60px;
    height: 32px;
    padding: 4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: center;
  }

  .christmas-toggle-btn.active .christmas-toggle-slider {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
  }

  .christmas-toggle-emoji {
    display: inline-block;
    font-size: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
    line-height: 1;
    width: 20px;
    text-align: center;
  }

  .christmas-toggle-btn.active .christmas-toggle-emoji {
    transform: translateX(24px);
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.8));
    animation: christmas-glow 2s ease-in-out infinite;
  }

  @keyframes christmas-glow {
    0%, 100% {
      filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.8));
    }
    50% {
      filter: drop-shadow(0 0 8px rgba(255, 215, 0, 1));
    }
  }

  /* Christmas Lights Rope */
  .lightrope {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    z-index: 6;
    margin: -16px 0 0 0;
    padding: 0;
    pointer-events: none;
    width: 100%;
    top: 0;
    left: 0;
  }

  .lightrope li {
    position: relative;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    width: 12px;
    height: 28px;
    border-radius: 50%;
    margin: 20px;
    display: inline-block;
    background: rgba(0, 247, 165, 1);
    box-shadow: 0px 4.66667px 24px 3px rgba(0, 247, 165, 1);
    animation-name: flash-1;
    animation-duration: 2s;
  }

  .lightrope li:nth-child(2n+1) {
    background: rgba(0, 255, 255, 1);
    box-shadow: 0px 4.66667px 24px 3px rgba(0, 255, 255, 0.5);
    animation-name: flash-2;
    animation-duration: 0.4s;
  }

  .lightrope li:nth-child(4n+2) {
    background: rgba(247, 0, 148, 1);
    box-shadow: 0px 4.66667px 24px 3px rgba(247, 0, 148, 1);
    animation-name: flash-3;
    animation-duration: 1.1s;
  }

  .lightrope li:nth-child(odd) {
    animation-duration: 1.8s;
  }

  .lightrope li:nth-child(3n+1) {
    animation-duration: 1.4s;
  }

  .lightrope li:before {
    content: "";
    position: absolute;
    background: #222;
    width: 10px;
    height: 9.33333px;
    border-radius: 3px;
    top: -4.66667px;
    left: 1px;
  }

  .lightrope li:after {
    content: "";
    top: -14px;
    left: 9px;
    position: absolute;
    width: 52px;
    height: 18.66667px;
    border-bottom: solid #222 2px;
    border-radius: 50%;
  }

  .lightrope li:last-child:after {
    content: none;
  }

  .lightrope li:first-child {
    margin-left: -40px;
  }

  @keyframes flash-1 {
    0%, 100% {
      background: rgba(0, 247, 165, 1);
      box-shadow: 0px 4.66667px 24px 3px rgba(0, 247, 165, 1);
    }
    50% {
      background: rgba(0, 247, 165, 0.4);
      box-shadow: 0px 4.66667px 24px 3px rgba(0, 247, 165, 0.2);
    }
  }

  @keyframes flash-2 {
    0%, 100% {
      background: rgba(0, 255, 255, 1);
      box-shadow: 0px 4.66667px 24px 3px rgba(0, 255, 255, 1);
    }
    50% {
      background: rgba(0, 255, 255, 0.4);
      box-shadow: 0px 4.66667px 24px 3px rgba(0, 255, 255, 0.2);
    }
  }

  @keyframes flash-3 {
    0%, 100% {
      background: rgba(247, 0, 148, 1);
      box-shadow: 0px 4.66667px 24px 3px rgba(247, 0, 148, 1);
    }
    50% {
      background: rgba(247, 0, 148, 0.4);
      box-shadow: 0px 4.66667px 24px 3px rgba(247, 0, 148, 0.2);
    }
  }

  /* Christmas Lights */
  .strand {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    margin: -15px 0 0 0;
    padding: 0;
    pointer-events: none;
    width: 100%;
    top: 0;
    left: 0;
  }

  .strand li {
    position: relative;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    width: 12px;
    height: 28px;
    border-radius: 50%;
    margin: 20px;
    display: inline-block;
    background: #f02241;
    box-shadow: 0px 4.66667px 24px 3px #f02241;
    -webkit-animation-name: flash-1;
    animation-name: flash-1;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
  }

  .strand li:nth-child(2n+1) {
    background: #42b261;
    box-shadow: 0px 4.66667px 24px 3px rgba(66, 178, 97, 0.5);
    -webkit-animation-name: flash-2;
    animation-name: flash-2;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
  }

  .strand li:nth-child(4n+2) {
    background: #f9fbee;
    box-shadow: 0px 4.66667px 24px 3px #f9fbee;
    -webkit-animation-name: flash-3;
    animation-name: flash-3;
    -webkit-animation-duration: 1.1s;
    animation-duration: 1.1s;
  }

  .strand li:nth-child(odd) {
    -webkit-animation-duration: 1.8s;
    animation-duration: 1.8s;
  }

  .strand li:nth-child(3n+1) {
    -webkit-animation-duration: 1.4s;
    animation-duration: 1.4s;
  }

  .strand li:before {
    content: "";
    position: absolute;
    background: #222;
    width: 10px;
    height: 9.33333px;
    border-radius: 3px;
    top: -4.66667px;
    left: 1px;
  }

  .strand li:after {
    content: "";
    top: -14px;
    left: 9px;
    position: absolute;
    width: 52px;
    height: 18.66667px;
    border-bottom: solid #222 2px;
    border-radius: 50%;
  }

  .strand li:last-child:after {
    content: none;
  }

  .strand li:first-child {
    margin-left: 40px;
  }

  @-webkit-keyframes flash-1 {
    0%, 100% {
      background: #f02241;
      box-shadow: 0px 4.66667px 24px 3px #f02241;
    }
    50% {
      background: rgba(240, 34, 65, 0.4);
      box-shadow: 0px 4.66667px 24px 3px rgba(240, 35, 65, 0.2);
    }
  }

  @keyframes flash-1 {
    0%, 100% {
      background: #f02241;
      box-shadow: 0px 4.66667px 24px 3px #f02241;
    }
    50% {
      background: rgba(240, 34, 65, 0.4);
      box-shadow: 0px 4.66667px 24px 3px rgba(240, 35, 65, 0.2);
    }
  }

  @-webkit-keyframes flash-2 {
    0%, 100% {
      background: #42b261;
      box-shadow: 0px 4.66667px 24px 3px #42b261;
    }
    50% {
      background: rgba(66, 178, 97, 0.4);
      box-shadow: 0px 4.6667px 24px 3px rgba(66, 178, 97, 0.2);
    }
  }

  @keyframes flash-2 {
    0%, 100% {
      background: #42b261;
      box-shadow: 0px 4.66667px 24px 3px #42b261;
    }
    50% {
      background: rgba(66, 178, 97, 0.4);
      box-shadow: 0px 4.66667px 24px 3px rgba(66, 178, 97, 0.2);
    }
  }

  @-webkit-keyframes flash-3 {
    0%, 100% {
      background: #f9fbee;
      box-shadow: 0px 4.6667px 24px 3px #f9fbee;
    }
    50% {
      background: rgba(249, 251, 238, 0.4);
      box-shadow: 0px 4.66667px 24px 3px rgba(249, 251, 238, 0.2);
    }
  }

  @keyframes flash-3 {
    0%, 100% {
      background: #F9FBEE;
      box-shadow: 0px 4.66667px 24px 3px #F9FBEE;
    }
    50% {
      background: rgba(249, 251, 238, 0.4);
      box-shadow: 0px 4.66667px 24px 3px rgba(249, 251, 238, 0.2);
    }
  }

  /* Channel Carousel */
  .channel-carousel-container {
    background-color: #0f0f0f;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    padding: 0.5rem;
    overflow: hidden;
    position: relative;
  }

  .channel-carousel {
    display: flex;
    gap: 0.75rem;
    animation: scrollChannels 60s linear infinite;
    width: max-content;
    padding: 0 1rem;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .channel-carousel:hover {
    animation-play-state: paused;
  }

  /* Stats Pills */
  .stats-pills-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background-color: #0f0f0f;
    margin-bottom: 1rem;
  }

  .stat-pill {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    white-space: nowrap;
  }

  .stat-pill-clickable {
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
  }

  .stat-pill-clickable:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
  }

  .stat-pill-clickable:active {
    transform: scale(0.98);
  }

  .stat-number {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    line-height: 1;
  }

  .stat-label {
    font-size: 0.8rem;
    color: #ccc;
    text-transform: lowercase;
    line-height: 1;
  }

  @keyframes scrollChannels {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(-50%, 0, 0);
    }
  }

  .channel-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    min-width: 120px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    will-change: transform;
    contain: layout style paint;
  }

  .channel-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
  }

  .channel-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .channel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .channel-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .channel-name {
    color: rgb(255, 255, 255);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .channel-subs {
    color: #888;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  .main-container {
    background-color: #000;
    width: 100%;
    position: relative;
    margin-bottom: 1rem;
    padding-top: 1rem;
  }
  /* Bottom Dock Navigation - floating pill, same on all browsers */
  .dock-nav {
    --dock-margin: 12px;
    position: fixed;
    left: var(--dock-margin);
    right: var(--dock-margin);
    bottom: var(--dock-margin);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Nav Overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20,20,20,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    z-index: 99; /* sit below dock */
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-bottom: calc(var(--dock-margin, 12px) + var(--dock-height, 64px));
    box-sizing: border-box;
  }

  .nav-overlay.open {
    display: block;
  }

  .nav-overlay-content {
    padding: 1rem;
  }

  .nav-overlay-title {
    margin: 0 0 0.5rem 0;
    font-size: 18px;
    font-weight: 800;
  }

  .nav-overlay-body {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
  }

  .nav-overlay-list {
    margin: 0.75rem 0 0 1rem;
  }

  /* Category Grid */
  .category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: flex-start;
  }

  .all-categories-section {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .all-categories-section .categories-section-title {
    margin-bottom: 1rem;
  }

  .category-grid-in-content {
    margin-top: 0.5rem;
  }

  .category-block-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: calc(33.333% - 0.5rem);
  }

  /* Responsive category block link */
  @media (min-width: 480px) {
    .category-block-link {
      width: calc(25% - 0.56rem);
    }
  }

  @media (min-width: 640px) {
    .category-block-link {
      width: calc(20% - 0.6rem);
    }
  }

  @media (min-width: 768px) {
    .category-block-link {
      width: calc(16.666% - 0.625rem);
    }
  }

  @media (min-width: 1024px) {
    .category-block-link {
      width: calc(14.285% - 0.64rem);
    }
  }

  .category-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(33.333% - 0.5rem);
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 80px;
    box-sizing: border-box;
  }

  /* When category-block is inside a link, it should fill the link */
  .category-block-link > .category-block {
    width: 100%;
  }

  /* Responsive category grid */
  @media (min-width: 480px) {
    .category-block {
      width: calc(25% - 0.56rem);
    }
  }

  @media (min-width: 640px) {
    .category-block {
      width: calc(20% - 0.6rem);
    }
  }

  @media (min-width: 768px) {
    .category-block {
      width: calc(16.666% - 0.625rem);
    }
  }

  @media (min-width: 1024px) {
    .category-block {
      width: calc(14.285% - 0.64rem);
    }
  }

  .category-block:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }

  .category-block:active {
    transform: translateY(0);
  }
  
  /* Christmas borders for category blocks */
  .category-block.christmas-border-gold {
    border: 2px solid #ffd700;
    animation: christmas-border-pulse-gold 2s ease-in-out infinite;
  }
  
  .category-block.christmas-border-red {
    border: 2px solid #dc143c;
    animation: christmas-border-pulse-red 2s ease-in-out infinite;
  }
  
  .category-block.christmas-border-green {
    border: 2px solid #228b22;
    animation: christmas-border-pulse-green 2s ease-in-out infinite;
  }
  
  .category-block.christmas-border-blue {
    border: 2px solid #4169e1;
    animation: christmas-border-pulse-blue 2s ease-in-out infinite;
  }
  
  .category-block.christmas-border-purple {
    border: 2px solid #9370db;
    animation: christmas-border-pulse-purple 2s ease-in-out infinite;
  }
  
  .category-block.christmas-border-orange {
    border: 2px solid #ff8c00;
    animation: christmas-border-pulse-orange 2s ease-in-out infinite;
  }

  .category-emoji {
    font-size: 24px;
    margin-bottom: 0.5rem;
  }

  .category-name {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: #fff;
  }

  /* removed close button */

  .dock-list {
    margin: 0;
    padding: 8px 10px;
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    gap: 1px;
    background: rgba(20,20,20,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  }

  /* Dock scroll fill layer */
  .dock-list::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--dock-progress, 0%);
    background: linear-gradient(90deg, rgba(255,255,255,0.10), rgba(255,255,255,0.18));
    pointer-events: none;
    z-index: 0;
  }
  .dock-list > * {
    position: relative;
    z-index: 1;
  }

  .dock-item {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .dock-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ddd;
    gap: 4px;
    padding: 5px 13px 5px 13px;
    border-radius: 5px;
    transition: background-color 0.2s, transform 0.2s;
  }

  .dock-link:active {
    transform: scale(0.97);
  }

  .dock-item.active .dock-link {
    color: #fff;
    background: rgba(255,255,255,0.08);
  }

  .dock-icon img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
  }

  .dock-label {
    font-size: 11px;
    line-height: 1;
  }
  
  /* Shared horizontal scroll: one scroll moves all rows inside the wrapper */
  .mobile-videos-scroll-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-left: 0;
    margin-right: 0;
  }
  .mobile-videos-scroll-wrapper::-webkit-scrollbar {
    display: none;
  }
  .mobile-videos-scroll-inner {
    width: max-content;
    min-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .mobile-videos-scroll-wrapper .videos-row {
    overflow-x: visible;
    margin-left: 0;
    margin-right: 0;
  }

  .videos-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    align-items: center;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: .5rem;
    margin-right: 1rem;
    -ms-overflow-style: none;
  }
  .videos-row::-webkit-scrollbar {
    display: none;
  }

  /* Video Card */

  .video-card-link {
    text-decoration: none;
    color: inherit;
    flex: 0 0 300px;
    min-width: 300px;
    margin: 0 0.5rem 1rem 0.5rem;
  }

  .video-card {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 153px;
    border: 1px solid #333333;
    transition: border-color 0.3s ease;
  }
  
  /* Christmas pulsating border - different colors */
  .video-card.christmas-border-gold {
    border: 2px solid #ffd700;
    animation: christmas-border-pulse-gold 2s ease-in-out infinite;
  }
  
  .video-card.christmas-border-red {
    border: 2px solid #dc143c;
    animation: christmas-border-pulse-red 2s ease-in-out infinite;
  }
  
  .video-card.christmas-border-green {
    border: 2px solid #228b22;
    animation: christmas-border-pulse-green 2s ease-in-out infinite;
  }
  
  .video-card.christmas-border-blue {
    border: 2px solid #4169e1;
    animation: christmas-border-pulse-blue 2s ease-in-out infinite;
  }
  
  .video-card.christmas-border-purple {
    border: 2px solid #9370db;
    animation: christmas-border-pulse-purple 2s ease-in-out infinite;
  }
  
  .video-card.christmas-border-orange {
    border: 2px solid #ff8c00;
    animation: christmas-border-pulse-orange 2s ease-in-out infinite;
  }
  
  @keyframes christmas-border-pulse-gold {
    0%, 100% {
      border-color: #ffd700;
      box-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
    }
    50% {
      border-color: #ffed4e;
      box-shadow: 0 0 12px rgba(255, 237, 78, 0.9);
    }
  }
  
  @keyframes christmas-border-pulse-red {
    0%, 100% {
      border-color: #dc143c;
      box-shadow: 0 0 8px rgba(220, 20, 60, 0.8);
    }
    50% {
      border-color: #ff6347;
      box-shadow: 0 0 12px rgba(255, 99, 71, 0.9);
    }
  }
  
  @keyframes christmas-border-pulse-green {
    0%, 100% {
      border-color: #228b22;
      box-shadow: 0 0 8px rgba(34, 139, 34, 0.8);
    }
    50% {
      border-color: #32cd32;
      box-shadow: 0 0 12px rgba(50, 205, 50, 0.9);
    }
  }
  
  @keyframes christmas-border-pulse-blue {
    0%, 100% {
      border-color: #4169e1;
      box-shadow: 0 0 8px rgba(65, 105, 225, 0.8);
    }
    50% {
      border-color: #6495ed;
      box-shadow: 0 0 12px rgba(100, 149, 237, 0.9);
    }
  }
  
  @keyframes christmas-border-pulse-purple {
    0%, 100% {
      border-color: #9370db;
      box-shadow: 0 0 8px rgba(147, 112, 219, 0.8);
    }
    50% {
      border-color: #ba55d3;
      box-shadow: 0 0 12px rgba(186, 85, 211, 0.9);
    }
  }
  
  @keyframes christmas-border-pulse-orange {
    0%, 100% {
      border-color: #ff8c00;
      box-shadow: 0 0 8px rgba(255, 140, 0, 0.8);
    }
    50% {
      border-color: #ffa500;
      box-shadow: 0 0 12px rgba(255, 165, 0, 0.9);
    }
  }
  .video-card img {
    width: 101%;
    height: 165px;
    object-fit: cover;
    display: block;
  }
  .thumbnail-container {
    position: relative;
    width: 100%;
    height: 168px;
  }
  .thumbnail-container.dimmed::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    transition: background 0.2s ease-in-out;
    z-index: 2;
  }
  .video-duration {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
  }
  /* Old live-indicator style removed - replaced with new ВО ЖИВО indicator below */
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.6);
      transform: scale(1);
    }
    70% {
      box-shadow: 0 0 0 12px rgba(255, 45, 45, 0);
      transform: scale(1.05);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 45, 45, 0);
      transform: scale(1);
    }
  }
  .bookmark-icon {
    position: absolute;
    top: -2px;
    right: 0px;
    background-color: rgb(36, 36, 36);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .view-count-most-watch {
    padding: 3px 5px 3px 5px;
    background: rgb(45, 98, 223, 0.8);
    color: white;
    z-index: 10;
    position: absolute;
    top: 0;
    border-radius: 0px 0px 5px 0px;
    font-size: 11px;
    font-weight: bold;
  }

  .bookmark-icon:hover {
    background-color: rgba(0, 0, 0, 0.9);
  }
  .bookmark-icon img {
    width: 17px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease, transform 0.2s ease;
  }

  /* Card Details Overlay */
  .card-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.98));
    padding: 0.75rem;
    z-index: 3;
  }

  .card-details .show-name {
    color: #ccc;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .card-details .video-title {
    color: #f0f0f0;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .card-details .video-title.expanded {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    display: -webkit-box;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: vertical;
  }
  .card-details .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .card-details .meta-left {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
  }

  /* Show-name scrolling containment */
  .show-name-mask {
    position: relative;
    display: inline-block;
    width: 120px;
    max-width: 120px;
    overflow: hidden;
    white-space: nowrap;
    /* clipping only; ellipsis handled on inner element for reliability */
    vertical-align: baseline;
    line-height: 1.2;
    height: 1.2em;
    font-size: 12px;
    font-weight: 500;
  }

  .show-name-mask.scrolling {
    text-overflow: clip;
  }

  .card-details .separator {
    color: #aaa;
  }

  .card-details .show-name,
  .card-details .video-date {
    color: #ddd;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.2;
    vertical-align: baseline;
  }

  .card-details .show-name {
    cursor: pointer;
    transition: transform 0s;
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    height: 1.2em;
    will-change: transform;
    transform-origin: left center;
    backface-visibility: hidden;
    transform: translate3d(0,0,0);
  }

  .card-details .show-name.scrolling {
    animation: scrollText 3s linear;
    overflow: visible;
    text-overflow: clip;
  }

  .show-name-mask.scrolling {
    text-overflow: clip;
  }

  @keyframes scrollText {
    0% { transform: translateX(0); }
    15% { transform: translateX(0); }
    85% { transform: translateX(calc(-1 * var(--scroll-distance, 0px))); }
    100% { transform: translateX(0); }
  }

  .thumbnail-container .card-details .video-duration {
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Show Popup Styles */
  .show-popup {
    position: fixed;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: popupFadeIn 0.3s ease-out;
    max-width: 280px;
  }

  @keyframes popupFadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .popup-content {
    padding: 0;
  }

  .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .popup-header h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
  }

  .close-popup {
    background: none;
    border: none;
    color: #aaa;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
  }

  .close-popup:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
  }

  .popup-body {
    padding: 1rem;
  }

  .popup-body p {
    color: #ddd;
    font-size: 13px;
    margin: 0 0 1rem 0;
    line-height: 1.4;
  }

  .popup-actions {
    display: flex;
    gap: 0.5rem;
  }

  .popup-actions button {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
  }

  .btn-yes {
    background-color: #007bff;
    color: white;
  }

  .btn-yes:hover {
    background-color: #0056b3;
  }

  .btn-no {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ddd;
  }

  .btn-no:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
  }

  /* Ad */
  .bar.da_pos {
    clear: both;
  }
  .article, .da_bar {
    background-color: #fff;
    box-shadow: 0 2px 1px rgba(0,0,0,0.2),0 0 1px rgba(0,0,0,0.2);
    border-radius: 2px;
    margin: 0 0 10px 0;
    margin: 2.5% auto 0;
    overflow: hidden;
    position: relative;
    text-decoration: none;
  }
  .da_bar {
    display: block;
    height: 23.5vw;
    max-height: 120px;
    width: auto;
    max-width: 94%;
  }

  .bar.da_pos {
    clear: both;
  }

  .latest-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-bottom: 1px solid #333;
    border-top: 1px solid #333;
    margin-top: 1rem;
    margin-bottom:1rem;

    background-color: #0b0b0b;
  }
  
  /* Christmas mode: Add repeating pattern background to latest-title */
  body.christmas-mode .latest-title {
    background-image: url('/m/assets/christmas-pattern.jpg');
    background-repeat: repeat;
    background-size: auto;
  }
  
  .latest-title h2 {
    margin: 10px;
    padding: 0;
    color: #f2f2f2;
    margin-left: 22px;
  }
  .roboto-title {
    font-family: Arial, sans-serif;
    font-optical-sizing: auto;
    color: white;
    font-weight: 900;
    margin-left: .5rem;
  margin-bottom: 1.4rem;
    font-style: normal;
    font-variation-settings: "wdth" 100;
  }

  .roboto-title a {
    color: white;
    text-decoration: none;
  }

  /* Make SVG icons white for dark theme */
  .roboto-title img,
  .latest-title img {
    filter: brightness(0) invert(1);
  }
  
  .editor-pick {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%;
  }

  .carousel-slide {
    width: 33.333%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }

  .carousel-slide.active {
    opacity: 1;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .dot.active {
    background-color: #0066cc;
  }

  .full-width-video-card {
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
    background: rgb(13, 13, 13);
  }

  .full-width-video-card .thumbnail-container {
    width: 100%;
    height: 200px;
    position: relative;
  }

  .full-width-video-card .thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .full-width-video-card .card-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.98));
    padding: 0.75rem;
    z-index: 3;
  }

  .full-width-video-card .card-details .video-title {
    color: #f0f0f0;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .full-width-video-card .card-details .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .full-width-video-card .card-details .meta-left {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
  }

  .full-width-video-card .card-details .show-name,
  .full-width-video-card .card-details .video-date {
    color: #ddd;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.2;
    vertical-align: baseline;
  }

  .full-width-video-card .card-details .separator {
    color: #aaa;
  }

  .full-width-video-card .card-details .video-duration {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    margin-left: auto;
    flex-shrink: 0;
  }

  .editor-pick-indicator {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: #0066cc;
    color: white;
    padding: 0.4rem;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    animation: bluePulse 2s infinite;
  }

  @keyframes bluePulse {
    0% {
      background-color: #0066cc;
      opacity: 1;
    }
    50% {
      background-color: #4da6ff;
      opacity: 0.8;
    }
    100% {
      background-color: #0066cc;
      opacity: 1;
    }
  }

  .live-indicator {
    position: absolute;
    top: 6px;
    left: 8px;
    background-color: #dc2626;
    color: white;
    padding: .4rem;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
    animation: redPulse 2s infinite;
    font-family: Arial, sans-serif;
  }


  .editor-pick .live-indicator {
    top: 4px;
    right: 4px;
  }

  @keyframes redPulse {
    0% {
      background-color: #dc2626;
      opacity: 1;
    }
    50% {
      background-color: #ef4444;
      opacity: 0.8;
    }
    100% {
      background-color: #dc2626;
      opacity: 1;
    }
  }

  .news-channel-pills-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 1rem;
    margin-top: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

  .news-channel-pill {
    background-color: rgba(255, 255, 255, 0.1);
    color: #999;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
  }

  .news-channel-pill:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
  }

  .news-channel-pill.active {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
  }
  .categories-container {
    margin-left: 1rem;
    margin-top: 1rem;
    margin-right: 1rem;
    background-color: #1a1a1a;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    overflow: hidden;
    position: relative;
  }

  .categories-container .video-cards-row {
    margin-left: 0;
    margin-right: 0;
  }

  .category-title {
    text-wrap: nowrap;
    overflow-x: auto;
    margin-left: 1rem;
    margin-top: 1rem;
  }

  .category-title  h2 {
    font-size: 19px;
  }

  /* Remaining Categories Blocks */
  .remaining-categories-blocks {
    margin: 2rem 1rem;
    gap: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
  }

  .category-block-item {
    display: block;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #0a0f1c 0%, #1a1a2e 50%, #0a0f1c 100%);
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
  }

  .category-block-item:hover {
    opacity: 0.7;
    background-color: rgba(255, 255, 255, 0.08);
  }

  .category-block-item:active {
    opacity: 0.5;
  }

  .category-block-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    display: block;
  }

  /* Channels Rank List */
  .channels-rank-list {
    width: 100%;
    background-color: #000000;
    padding: 1.5rem 1rem;
    margin-top: 2rem;
  }

  .channels-rank-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: "Roboto", sans-serif;
  }

  .channels-rank-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .channels-rank-column {
    display: flex;
    flex-direction: column;
  }

  .channel-rank-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.85rem;
    transition: background-color 0.2s ease, opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    overflow: hidden;
  }

  .channel-rank-item-hidden {
    opacity: 0 !important;
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
  }

  .channels-rank-list.expanded .channel-rank-item-hidden {
    opacity: 1 !important;
    max-height: 500px !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    margin: 0 !important;
  }

  .channel-rank-item-expanded {
    opacity: 0 !important;
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
  }

  .channels-rank-list.expanded .channel-rank-item-expanded {
    opacity: 1 !important;
    max-height: 500px !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    margin: 0 !important;
  }

  .channel-rank-item-initial {
    opacity: 1 !important;
    max-height: 500px !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    margin: 0 !important;
  }

  .channels-rank-list.expanded .channel-rank-item-initial {
    opacity: 0 !important;
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
  }

  .channel-rank-item:hover {
    background-color: #1a1a1a;
  }

  .channel-rank-index {
    min-width: 2rem;
    text-align: right;
    font-weight: 600;
    color: #888;
    font-size: 0.85rem;
  }

  .channel-rank-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .channel-rank-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 0.85rem;
  }

  .channel-rank-item .verified-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    vertical-align: middle;
  }

  .channel-rank-item:has(.verified-icon) .channel-rank-name {
    font-weight: 600 !important;
    position: relative;
  }

  .channel-rank-item:has(.verified-icon) .channel-rank-name::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: calc(100% - 18px);
    background: rgba(59, 130, 246, 0.2);
    border-radius: 2px;
    z-index: -1;
    pointer-events: none;
  }

  .channel-rank-subs {
    color: #888;
    white-space: nowrap;
    font-size: 0.8rem;
  }

  .channels-rank-show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.75rem auto 0;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 1px solid #333;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    width: calc(100% - 2rem);
    max-width: 300px;
  }

  .channels-rank-show-more:hover {
    background-color: #1a1a1a;
    border-color: #444;
  }

  .channels-rank-show-more:active {
    background-color: #0a0a0a;
  }

  .channels-rank-chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
  }

  .channels-rank-list.expanded .channels-rank-chevron {
    transform: rotate(90deg);
  }

  /* Channel Section for Category Pages */
  .channel-section {
    margin: 2rem 1rem 1rem 1rem;
  }

  .channel-header-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .channel-header-section .channel-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
  }

  .channel-header-section .channel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .channel-header-section .channel-name {
    color: white;
    font-size: 18px;
    font-weight: 600;
  }

  .show-section {
    margin-bottom: 2rem;
  }

  .show-section .show-title {
    margin-left: 0;
    margin-bottom: 1rem;
  }

  .show-section .show-title h3 {
    font-size: 17px;
    color: white;
    margin: 0;
  }

  /* ads */

  .bar.advert_pos {
    clear: both;
  }
  .article, .bar {
    background-color: #fff;
    box-shadow: 0 2px 1px rgba(0,0,0,0.2),0 0 1px rgba(0,0,0,0.2);
    border-radius: 2px;
    margin: 0 0 10px 0;
    margin: 2.5% auto 0;
    overflow: hidden;
    position: relative;
    text-decoration: none;
  }
  .bar {
    display: block;
    height: 23.5vw;
    max-height: 120px;
    width: auto;
    max-width: 94%;
  }

  /* Ad container specific styles */
  .ad-container {
    margin: 1rem;
    overflow: hidden;
  }

  .ad-container .bar.advert_pos {
    width: 100% !important;
    max-width: 480px !important;
    max-height: 120px !important;
    overflow: hidden;
  }

  .ad-container .bar.advert_pos ins {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block !important;
  }

  .ad-container .bar.advert_pos ins img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Banner ad container (800x200) */
  .banner-ad-container {
    margin: 1rem 1rem 1rem 1.4rem;
    display: flex;
    justify-content: center;

    align-items: center;
    overflow: hidden;
  }
  .banner-ad-container ins {
    display: block;

  }
  @media (max-width: 800px) {
    .banner-ad-container ins img,
    .banner-ad-container ins iframe,
    .banner-ad-container ins video,
    .banner-ad-container ins object,
    .banner-ad-container ins embed {
      width: auto !important;
      height: auto !important;
      max-height: 120px;
      max-width: 100%;
    }
  }

  /* Banner Carousel Mobile */
  .banner-section-mobile {
    width: 100%;
    background-color: #000000;
    padding: 0;
    overflow: hidden;
    margin: 0;
  }

  .banner-carousel-container-mobile {
    position: relative;
    margin: .6rem;
    overflow: hidden;
    margin-bottom: 0rem;
    padding-bottom: 1rem;
  }

  .banner-carousel-wrapper-mobile {
    display: flex;
    flex-direction: row;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
  }

  .banner-carousel-slide-mobile {
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 0 0.25rem;
  }

  .banner-item-link-mobile {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
  }

  .banner-item-mobile {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
    max-height: 300px;
    margin: 0 auto;
  }

  .banner-item-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 300px;
    border-radius: 8px;
  }

  .banner-item-mobile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 120px;
    border-radius: 8px;
  }

  .banner-carousel-dots-mobile {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }

  .banner-dot-mobile {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .banner-dot-mobile:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
  }

  .banner-dot-mobile.active {
    background-color: #ffffff;
    transform: scale(1.3);
  }

  /* Емисии Search Bar */
  .emisii-search-container {
    margin-bottom: 1rem;
    width: 100%;
    position: relative;
  }

  .emisii-search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .emisii-search-clear {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    outline: none;
  }

  .emisii-search-clear:hover {
    color: rgba(255, 255, 255, 0.9);
  }

  .emisii-search-clear:active {
    transform: translateY(-50%) scale(0.9);
  }

  .emisii-search-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
  }

  .emisii-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }
  
  /* Search highlight for fuzzy matching */
  .search-highlight {
    background-color: yellow;
    color: #000;
    font-weight: normal;
    padding: 0;
    margin: 0;
    display: inline;
    line-height: inherit;
  }

  /* Пребарувај Search Bar */
  .prebruvaj-search-container {
    margin-bottom: 1rem;
    width: 100%;
    position: relative;
  }

  .prebruvaj-search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .prebruvaj-search-clear {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    outline: none;
  }

  .prebruvaj-search-clear:hover {
    color: rgba(255, 255, 255, 0.9);
  }

  .prebruvaj-search-clear:active {
    transform: translateY(-50%) scale(0.9);
  }

  .prebruvaj-search-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
  }

  .prebruvaj-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }

  .prebruvaj-results-container {
    margin-top: 1rem;
    width: 100%;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  /* Vertical scrolling videos row for search results */
  .prebruvaj-results-container .videos-row {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: visible;
    overflow-y: visible;
    margin-right: 1rem;
    padding-bottom: 1rem;
  }

  .prebruvaj-results-container .bookmark-icon {
    top: -1px !important;
  }

  .prebruvaj-results-container .video-card-link {
    flex: 0 0 auto;
    min-width: auto;
    width: 100%;
    max-width: 100%;
  }

  .channels-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .channel-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
  }

  .channel-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
  }
  
  /* Christmas borders for channel items */
  .channel-item.christmas-border-gold {
    border: 2px solid #ffd700;
    animation: christmas-border-pulse-gold 2s ease-in-out infinite;
  }
  
  .channel-item.christmas-border-red {
    border: 2px solid #dc143c;
    animation: christmas-border-pulse-red 2s ease-in-out infinite;
  }
  
  .channel-item.christmas-border-green {
    border: 2px solid #228b22;
    animation: christmas-border-pulse-green 2s ease-in-out infinite;
  }
  
  .channel-item.christmas-border-blue {
    border: 2px solid #4169e1;
    animation: christmas-border-pulse-blue 2s ease-in-out infinite;
  }
  
  .channel-item.christmas-border-purple {
    border: 2px solid #9370db;
    animation: christmas-border-pulse-purple 2s ease-in-out infinite;
  }
  
  .channel-item.christmas-border-orange {
    border: 2px solid #ff8c00;
    animation: christmas-border-pulse-orange 2s ease-in-out infinite;
  }

  .channel-header {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .channel-header:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .channel-header .channel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 0.75rem;
  }

  .channel-header .channel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .channel-header .channel-info {
    flex: 1;
    min-width: 0;
  }

  .channel-header .channel-name {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .channel-name-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    transition: opacity 0.2s ease;
  }

  .channel-name-link:hover {
    opacity: 0.8;
  }

  .channel-header .channel-subs {
    color: #888;
    font-size: 12px;
    font-weight: 400;
  }

  .channel-expand-icon {
    color: #888;
    font-size: 14px;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    margin-left: 0.5rem;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transform-origin: center;
    box-sizing: border-box;
  }

  .channel-expand-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .channel-header .channel-expand-icon {
    transform: rotate(0deg);
  }

  .channel-item.expanded .channel-header .channel-expand-icon,
  .channel-item.expanded .channel-expand-icon {
    transform: rotate(180deg);
  }

  .channel-shows {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      max-height: 0;
      padding-top: 0;
      padding-bottom: 0;
    }
    to {
      opacity: 1;
      max-height: 200px;
      padding-top: 0.75rem;
      padding-bottom: 0.75rem;
    }
  }

  .shows-row {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.25rem;
  }

  .show-pill-link {
    text-decoration: none;
    flex: 0 0 auto;
  }

  .shows-row::-webkit-scrollbar {
    display: none;
  }

  .show-pill {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 0.75rem;
    margin-right: 0.5rem;
    white-space: nowrap;
  }

  .show-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
  }
  
  /* Christmas borders for show pills */
  .show-pill.christmas-border-gold {
    border: 2px solid #ffd700;
    animation: christmas-border-pulse-gold 2s ease-in-out infinite;
  }
  
  .show-pill.christmas-border-red {
    border: 2px solid #dc143c;
    animation: christmas-border-pulse-red 2s ease-in-out infinite;
  }
  
  .show-pill.christmas-border-green {
    border: 2px solid #228b22;
    animation: christmas-border-pulse-green 2s ease-in-out infinite;
  }
  
  .show-pill.christmas-border-blue {
    border: 2px solid #4169e1;
    animation: christmas-border-pulse-blue 2s ease-in-out infinite;
  }
  
  .show-pill.christmas-border-purple {
    border: 2px solid #9370db;
    animation: christmas-border-pulse-purple 2s ease-in-out infinite;
  }
  
  .show-pill.christmas-border-orange {
    border: 2px solid #ff8c00;
    animation: christmas-border-pulse-orange 2s ease-in-out infinite;
  }

  .mark { 
    padding: 0 !important;
  }

  .show-pill .show-title {
    color: white;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    margin: 0;
  }

  .no-shows-message {
    color: #888;
    font-size: 12px;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    width: 100%;
  }

  /* Bookmark functionality - additional styles for bookmarked state */

  .bookmark-icon.bookmarked {
    /* background-color: white !important; */
  }

  .bookmark-icon.bookmarked img {
    filter: brightness(1) invert(0) !important;
    transition: filter 0.3s ease, transform 0.2s ease;
    /* filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%); */
  }
  
  /* Animation for bookmark click */
  .bookmark-icon:active img {
    transform: scale(0.85);
  }

  .bookmark-counter {
    position: absolute;
    top: 3px;
    right: 21px;
    background: #4473ff;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 9px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #050505;
  }

  .bookmarked-videos-container {
    margin-top: 1rem;
  }

  .bookmarked-videos-row {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    position: relative;
    margin-left: 0;
    margin-right: 0;
  }

  .no-bookmarks-message {
    text-align: center;
    padding: 2rem;
    color: #888;
  }

  .no-bookmarks-message p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .bookmarked-video-card {
    flex: 1;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .bookmarked-video-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
  }
  
  /* Christmas borders for bookmarked video cards */
  .bookmarked-video-card.christmas-border-gold {
    border: 2px solid #ffd700;
    animation: christmas-border-pulse-gold 2s ease-in-out infinite;
  }
  
  .bookmarked-video-card.christmas-border-red {
    border: 2px solid #dc143c;
    animation: christmas-border-pulse-red 2s ease-in-out infinite;
  }
  
  .bookmarked-video-card.christmas-border-green {
    border: 2px solid #228b22;
    animation: christmas-border-pulse-green 2s ease-in-out infinite;
  }
  
  .bookmarked-video-card.christmas-border-blue {
    border: 2px solid #4169e1;
    animation: christmas-border-pulse-blue 2s ease-in-out infinite;
  }
  
  .bookmarked-video-card.christmas-border-purple {
    border: 2px solid #9370db;
    animation: christmas-border-pulse-purple 2s ease-in-out infinite;
  }
  
  .bookmarked-video-card.christmas-border-orange {
    border: 2px solid #ff8c00;
    animation: christmas-border-pulse-orange 2s ease-in-out infinite;
  }

  .bookmarked-video-thumbnail {
    width: 100%;
    height: 217px;
    position: relative;
    overflow: hidden;
  }

  .bookmarked-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .bookmarked-video-thumbnail.dimmed::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    transition: background 0.2s ease-in-out;
    z-index: 2;
  }

  .bookmarked-video-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 15%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    z-index: 3;
    transition: all 0.2s ease;
  }

  .bookmarked-video-remove:hover {
    background: rgba(255, 68, 68, 0.9);
    color: white;
  }

  .bookmarked-video-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.98));
    padding: 0.75rem;
    z-index: 2;
  }

  .bookmarked-video-title {
    color: white;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .bookmarked-video-title.expanded {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    display: -webkit-box;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -webkit-box-orient: vertical;
  }

  .bookmarked-video-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .bookmarked-video-meta-left {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
  }

  .bookmarked-video-date,
  .bookmarked-video-show-name {
    color: #ddd;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.2;
    vertical-align: baseline;
  }

  .bookmarked-video-separator {
    color: #aaa;
  }

  .bookmarked-video-duration {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Footer */
  .page-footer {
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    margin-bottom: 6rem;
    padding: 2rem 1rem;
  }

  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }

  .footer-description {
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    padding: 0 1rem;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s ease;
  }

  .footer-link:hover {
    color: #4da6ff;
    text-decoration: underline;
  }

  .footer-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
  }

  .footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .social-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
  }

  .social-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
    transition: filter 0.2s ease;
  }

  .social-icon:hover img {
    filter: brightness(0) invert(1) opacity(0.9);
  }

  /* Watch Page Styles */
  .video-player-container {
    background-color: #000;
    width: 100%;
  }

  .video-player-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
  }

  .video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  .video-info-container {
    background-color: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
  }

  .video-info-content {
    max-width: 100%;
  }

  .video-info-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
  }

  .video-info-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
  }

  .video-action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: nowrap;
  }

  .video-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
    min-width: 0;
  }

  .video-action-btn:hover {
    transform: translateY(-1px);
  }

  .video-action-btn:active {
    transform: translateY(0);
  }

  /* Share link button - blue style */
  #shareLinkBtn {
    background-color: rgba(33, 150, 243, 0.2);
    border: 1px solid rgba(33, 150, 243, 0.6);
    color: #2196F3;
  }

  #shareLinkBtn:hover {
    background-color: rgba(33, 150, 243, 0.3);
    border-color: rgba(33, 150, 243, 0.8);
  }

  #shareLinkBtn .action-btn-icon {
    filter: brightness(0) invert(1);
  }

  /* YouTube button - red style */
  #openYouTubeBtn {
    background-color: #FF0000;
    border: 1px solid #FF0000;
    color: white;
  }

  #openYouTubeBtn:hover {
    background-color: #E60000;
    border-color: #E60000;
  }

  #openYouTubeBtn .action-btn-icon {
    filter: brightness(0) invert(1);
  }

  .action-btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .video-channel {
    color: #888;
    font-size: 14px;
    font-weight: 500;
  }

  .video-separator {
    color: #666;
    font-size: 14px;
  }

  .video-date {
    color: #888;
    font-size: 14px;
  }

  /* Disclaimer Banner */
  .disclaimer-banner {
    background: linear-gradient(135deg, 
      rgba(0, 102, 204, 0.15) 0%, 
      rgba(0, 150, 255, 0.1) 50%, 
      rgba(0, 102, 204, 0.15) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 8px;
    margin: 0.75rem 1rem;
    padding: 0.75rem 1rem;
    position: relative;
    box-shadow: 
      0 4px 16px rgba(0, 102, 204, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
  }

  .disclaimer-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(0, 150, 255, 0.6) 50%, 
      transparent 100%);
  }

  .disclaimer-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 100%;
    position: relative;
    z-index: 1;
  }

  .disclaimer-text {
    flex: 1;
    color: #ffffff;
  }

  .disclaimer-text p {
    margin: 0;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  .disclaimer-text p:last-child {
    margin-top: 0.25rem;
  }

  .disclaimer-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 6px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .disclaimer-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 150, 255, 0.3);
  }

  .disclaimer-close:active {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0.95);
  }

/* No Videos Message */
.no-videos-message {
  padding: 2rem 1rem;
  text-align: center;
  background-color: #0a0a0a;
  border: 1px solid #333333;
  border-radius: 8px;
  margin: 0 1rem;
}

.no-videos-message p {
  color: #cccccc;
  font-size: 0.9rem;
  margin: 0;
  padding: 0 1rem;
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
}
