/* video-single — single video page (no header/footer) */

.video-single-page {
  font-family: Barlow;
  /* background-color: #1a1d21;
  color: #fff;
  min-height: 100vh;
  padding: 1.5rem 0 2.5rem; */
}

.video-single-page a {
  color: inherit;
  text-decoration: none;
}

.video-single-page a:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

/* Title */
.video-single-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.35;
}

/* Player */
.video-single-player {
  position: relative;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

.video-single-player__ratio {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-single-player__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-single-player video,
.video-single-player iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Scoreboard */
.video-single-scoreboard {
  --vs-bg: #0b0d10;
  --vs-text: #ffffff;
  --vs-text-muted: #8b95a5;
  --vs-divider: #2a313c;
  --vs-score-bg: #152238;
  --vs-score-cell: #1e4a8a;
  --vs-score-cell-active: #2563b8;
  --vs-result-bg: #122038;
  --vs-result-score: #f5c542;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 56px;
  padding: 10px 20px;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  color: var(--vs-text);
  background: var(--vs-bg);
  border-radius: 12px;
}

.video-single-scoreboard__stats {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  color: var(--vs-text-muted);
  white-space: nowrap;
}

.video-single-scoreboard__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.video-single-scoreboard__divider {
  width: 1px;
  height: 14px;
  background: var(--vs-divider);
}

.video-single-scoreboard__icon {
  flex-shrink: 0;
}

.video-single-scoreboard__icon--corner {
  width: 14px;
  height: 14px;
}

.video-single-scoreboard__icon--card {
  width: 10px;
  height: 14px;
}

.video-single-scoreboard__match {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.video-single-scoreboard__team {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.video-single-scoreboard__team--home {
  justify-content: flex-end;
}

.video-single-scoreboard__team--away {
  justify-content: flex-start;
}

.video-single-scoreboard__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--vs-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #FFF;
  text-align: right;
  font-family: Barlow;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
}

.video-single-scoreboard__logo {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  object-fit: contain;
  width: 29.524px;
  height: 37.884px;
  flex-shrink: 0;
  aspect-ratio: 29.52/37.88;
}

.video-single-scoreboard__score {
  display: flex;
  gap: 5px;
  background: #464f50;
  background: linear-gradient(156deg, #1553EF 0%, #0C3089 39.5%, #0C1A4C 98.5%);
  color: #fff;
  text-align: center;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  width: max-content;
  height: inherit;
  gap: 4px;
  padding: 1px;
  border-radius: 8px;
  position: relative;
  align-items: center;
}

.video-single-scoreboard__score:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  padding: 1.02px;
  background: linear-gradient(159deg, #0C2F88 0%, #3B538D 51%, #05236D 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.video-single-scoreboard__score-cell.is-win {
  background: linear-gradient(0deg, #2532D5 0%, #070E59 100%);
  border: 0 solid;
  border-color: transparent;
  border-radius: 0.3125rem;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  position: relative;
}

.video-single-scoreboard__score-cell.is-win:before {
  background: linear-gradient(7deg, #00C8F4 0%, #4253F3 100%);
  border-radius: 0.375rem;
  bottom: 0;
  content: "";
  left: 0;
  -webkit-mask: linear-gradient(#fff, #fff 0) content-box, linear-gradient(#fff, #fff 0);
  mask: linear-gradient(#fff, #fff 0) content-box, linear-gradient(#fff, #fff 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: .0625rem;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

.video-single-scoreboard__score-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--vs-text);
  border-radius: 6px;
}

.video-single-scoreboard__score-cell.home-score {
  background: transparent;
}

.video-single-scoreboard__score-sep {
  padding: 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--vs-text);
}

.video-single-scoreboard__result {
  flex-shrink: 0;
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--vs-text);
  background: var(--vs-result-bg);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  height: 29px;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  background: #061628;
  color: #FFF;
  font-family: Barlow;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  /* 138.462% */
}

.video-single-scoreboard__result:hover {
  background: #1a3050;
}

.video-single-scoreboard__result-score {
  color: var(--vs-result-score);
}

/* Channels */
.video-single-channels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: #25292e;
  padding: 0.6rem 1rem;
  border-top: 1px solid #1a1d21;
}

.video-single-channels__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.video-single-channels__item {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem 0.25rem 0.35rem;
  border-radius: 50px;
  font-weight: 600;
  color: #a0a0a0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  border-radius: 100px;
  border: 1px solid #323232;
  background: rgba(0, 0, 0, 0.10);
  display: flex;
  padding: 10px 20px;
  align-items: center;
  gap: 4px;
  color: #BBB;
  text-align: right;
  font-family: Barlow;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  /* 100% */
}

.video-single-channels__item svg {
  width: 24px;
  height: 24px;
}

.video-single-channels__item:hover {
  border-color: #00FF5E;
  color: #00FF5E;
}

.video-single-channels__item--active {
  border-color: #00FF5E;
  color: #00FF5E;
}
.video-single-channels__item:focus {
    outline: none;
}
.video-single-channels__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.35rem;
}

.video-single-channels__league {
  display: flex;
  align-items: center;
  margin-left: auto;
  letter-spacing: 0.02em;
  color: #FFF;
  font-family: Barlow;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  text-transform: uppercase;
  gap: 5px;
}

.video-single-channels__league img {
  height: 28px;
  width: auto;
  margin-right: 0.4rem;
}

/* Meta */
.video-single-metas {
  display: flex;
  gap: 30px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.video-single-meta {
  color: #FFF;
  font-family: Barlow;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
}

.video-single-meta__icon {
  margin-right: 0.25rem;
  opacity: 0.8;
}

/* Description */
.video-single-description {
  border-radius: 8px;
  border: 1px solid #3B4041;
  background: rgba(41, 47, 50, 0.93);
  backdrop-filter: blur(2px);
  display: flex;
  width: auto;
  padding: 20px 20px 40px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #FFF;
  font-family: Barlow;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  /* 138.462% */
}

/* Sidebar */
.video-single-sidebar__heading {
  /* font-size: 1rem; */
  /* font-weight: 700; */
  /* margin-bottom: 1rem; */
  color: #FFF;
  font-family: Barlow;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  margin-bottom: 20px;
}

.video-single-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.video-single-sidebar__item {
  display: flex;
  margin-bottom: 0.85rem;
  background: #222729;
  border-radius: 10px;
  padding: 20px;
}

.video-single-sidebar__item:last-child {
  margin-bottom: 0;
}

.video-single-sidebar__thumb {
  position: relative;
  flex-shrink: 0;
  /* width: 140px; */
  /* height: 78px; */
  border-radius: 4px;
  overflow: hidden;
  background: #25292e;
  width: 160px;
  height: 90px;
  aspect-ratio: 16/9;
}

.video-single-sidebar__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-single-sidebar__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
}
.video-single-sidebar__play:hover {
  background: unset;
}

.video-single-sidebar__play svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  opacity: 0.9;
}

.video-single-sidebar__badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  /* background: #28a745; */
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  /* border-radius: 2px; */
  line-height: 1.3;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.70);
  display: inline-flex;
  padding: 4px 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.video-single-sidebar__duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  /* background: #28a745; */
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  /* border-radius: 2px; */
  line-height: 1.3;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.70);
  display: inline-flex;
  padding: 4px 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.video-single-sidebar__body {
  flex: 1;
  min-width: 0;
  padding-left: 0.65rem;
}

.video-single-sidebar__title {
  /* font-size: 0.8rem; */
  /* font-weight: 600; */
  /* line-height: 1.35; */
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #FFF;
  font-family: Barlow;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
}

.video-single-sidebar__date {
  font-size: 0.7rem;
  color: #a0a0a0;
}

/* Filters */
.video-single-filters {
  margin-top: 40px;
  margin-bottom: 20px;
}

.video-single-filters__select {
  color: #fff;
  font-size: 0.8rem;
  min-width: 160px;
  width: max-content;
  display: flex;
  height: 38px;
  padding: 8px 16px;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #3B4041;
  background: #23282A;
}

.video-single-filters__select:focus {
  background: #25292e;
  color: #fff;
  border-color: #28a745;
  box-shadow: none;
}

.video-single-filters__schedule {
  color: #fff;
  font-size: 0.8rem;
  white-space: nowrap;
  display: flex;
  width: 122px;
  height: 38px;
  padding: 8px 16px;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #3B4041;
  background: #23282A;
}

.video-single-filters__schedule:hover {
  border-color: #28a745;
  color: #28a745;
}

.video-single-filters__schedule svg {
  width: 16px;
  height: 16px;
  margin-right: 0.4rem;
  fill: currentColor;
}

/* Grid cards */
.video-single-card {
  background: transparent;
  border: none;
  margin-bottom: 1.5rem;
}

.video-single-card__thumb {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  padding-bottom: 56.25%;
  background: #25292e;
}

.video-single-card__thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-single-card__badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: #28a745;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
}

.video-single-card__duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
}

.video-single-card__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0.6rem 0 0.35rem;
  line-height: 1.3;
}

.video-single-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #a0a0a0;
}

.video-single-card__blv {
  display: inline-flex;
  align-items: center;
}

.video-single-card__blv img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 0.35rem;
  object-fit: cover;
}

.home-filter-dropdown .custom-dropdown-trigger {
  color: #fff;
  font-size: 0.8rem;
  min-width: 160px;
  width: max-content;
  display: flex;
  height: 38px;
  padding: 8px 16px;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #3B4041;
  background: #23282A;
}

.custom-dropdown-trigger::after {
  border: solid #6f8387;
}

a.video-single-filters__schedule {
  width: 100%;
}
.custom-dropdown-option .count {
    display: none !important;
}
@media (max-width: 900px) {
  .video-single-scoreboard {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
    padding: 12px 16px;
  }

  .video-single-scoreboard__stats {
    order: 1;
    width: 100%;
    justify-content: center;
  }

  .video-single-scoreboard__match {
    order: 2;
    width: 100%;
  }

  .video-single-scoreboard__result {
    order: 3;
  }

  .video-single-scoreboard__name {
    max-width: 110px;
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .video-single-scoreboard__stats {
    gap: 8px;
    font-size: 12px;
  }

  .video-single-scoreboard__match {
    gap: 8px;
  }

  .video-single-scoreboard__team {
    gap: 6px;
  }

  .video-single-scoreboard__name {
    max-width: 72px;
    font-size: 12px;
  }

  .video-single-scoreboard__logo {
    width: 24px;
    height: 24px;
  }

  .video-single-scoreboard__score-cell {
    min-width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  .video-single-sidebar__item {
    padding: 10px;
  }

  .video-single-sidebar__item a {
    flex-direction: column;
    gap: 10px;
  }

  .video-single-sidebar__body {
    padding: 0;
  }

  .video-single-sidebar__title {
    font-size: 14px;
  }

  .video-single-sidebar__thumb {
    width: 100%;
  }

  .video-single-sidebar__list {
    overflow-y: auto;
    max-height: 563px;
  }
}

@media (max-width: 991px) {
  .video-single-sidebar {
    margin-top: 20px;
  }

  .video-single-sidebar__list {
    overflow-y: unset;
    max-height: unset;
    overflow-x: auto;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
  }
}

@media (max-width: 767.98px) {
  .home-filter-dropdown {
    flex: 1;
  }

  .home-filter-dropdown .custom-dropdown-trigger {
    width: 100%;
    justify-content: flex-start;
  }

  .video-single-channels__list {
    overflow-x: auto;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    width: 100%;
  }

  .video-single-channels__item {
    font-size: 12px;
    padding: 5px 10px;
    width: max-content;
  }

  .video-single-scoreboard {
    flex-direction: column;
  }

  .video-single-sidebar {
    margin-top: 2rem;
  }

  .video-single-filters__select {
    min-width: 100%;
    margin-bottom: 0.5rem;
  }

  .video-single-channels {
    flex-direction: column;
    justify-content: center;
    overflow-x: unset !important;
  }

  .video-single-channels__league {
    margin: 0;
  }

  .video-single-filters__schedule {
    justify-content: flex-start;

  }
}