.stdplayer_show_player{height:38px;margin-top:0px;border-left:1px solid #dde6e9;border-bottom:1px solid #233248;display:block;position:relative;}
.prev_show_player{display:none;width:34px;height:38px;float:left;background-repeat:no-repeat;background:url("../file/2-1.png");cursor:pointer;}
.next_show_player{display:none;width:34px;height:38px;float:left;background-repeat:no-repeat;background:url("../file/2-2.png");cursor:pointer;}
.scrolltwo{width:684px;height:43px;float:left;overflow:hidden;}
.scrolltwo2{width:282px;height:38px;float:left;overflow:hidden;}

.epizode{border: 1px solid #2a2a2aa8;color:#d0dff2;cursor:pointer;float:left;font-size:13px;height:38px;padding-top:10px;text-align:center;width:103px;vertical-align: middle;display: table-cell;    background: #274564;}
.epizode:hover {background: #c55353;}
.active_epz_sh{    background: #c55353;
    color: #ffffff;}
.playerbox_show_player{display:block;}
.player2 > iframe{width:100%;}
.player2 > object{width:100%;}

.tv-channel-navigation {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.channel-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.channel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  margin: 0 3px;
  scroll-snap-align: start;
  width: 100px;
  flex-shrink: 0;
  position: relative; /* Важно для позиционирования псевдоэлемента */
}

.channel-item img {
  width: 100px;
  height: 67px;
  object-fit: contain;
  border-radius: 5px;
  transition: transform 0.2s ease-in-out;
}

/*  Стиль для активного элемента */
.channel-item.active {
  /* Дополнительные стили для выделения активного канала */
  border: 2px solid #f00; /* Пример: красная рамка */
  /* Можно добавить другие стили, например, тень */
  box-shadow: 0 0 5px #f00;
}

/* Стиль для неактивной ссылки на странице активного канала */
.channel-item.active:hover img {
    animation: none;
    transform: scale(1);
}

/* Пульсация */
.channel-item:hover img {
  animation: pulse 1.2s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.channel-name {
  font-size: 14px;
  text-align: center;
}

.channel-nav-wrapper {
  background-color: rgb(0 0 0 / 26%);
  color: #fff;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 3px;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.channel-nav-wrapper:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.channel-nav-prev {
  left: 0;
}

.channel-nav-next {
  right: 0;
}

.channel-container::-webkit-scrollbar {
  display: none;
}

.channel-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Индикатор "Live" */
.channel-item.active:before {
  content: "LIVE";
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: red;
  color: white;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 3px;
  z-index: 1;
  animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.1; }
    100% { opacity: 1; }
}