.tco-vvc-shell {
  --tco-vvc-gap: 16px;
  --tco-vvc-gap-mobile: 12px;
  --tco-vvc-border: #e5e7eb;
  --tco-vvc-border-strong: #cfd6df;
  --tco-vvc-text: #101418;
  --tco-vvc-muted: #67707a;
  --tco-vvc-accent: #1d4f91;
  --tco-vvc-radius: 10px;
  --tco-vvc-shelf-space: 38px;
  --tco-vvc-shadow-hover: 0 10px 24px rgba(16, 20, 24, 0.08);
  --tco-vvc-arrow-bg: rgba(255, 255, 255, 0.96);
  --tco-vvc-video-news-bg: #011d26;
}

.tco-vvc-shell * {
  box-sizing: border-box;
}

.tco-vvc-shelf {
  margin-bottom: var(--tco-vvc-shelf-space);
}

.tco-vvc-shelf-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.tco-vvc-shelf-heading-wrap {
  position: relative;
  padding-bottom: 7px;
}

.tco-vvc-shelf-heading-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  background: var(--tco-vvc-accent);
  border-radius: 999px;
}

.tco-vvc-shelf-heading {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--tco-vvc-text);
}

.tco-vvc-shelf-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.tco-vvc-arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--tco-vvc-border);
  background: var(--tco-vvc-arrow-bg);
  position: relative;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, opacity .18s ease;
}

.tco-vvc-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid #1f2933;
  border-right: 2px solid #1f2933;
}

.tco-vvc-next::before {
  transform: rotate(45deg);
  left: -2px;
}

.tco-vvc-prev::before {
  transform: rotate(-135deg);
  left: 2px;
}

.tco-vvc-arrow:hover:not(:disabled),
.tco-vvc-arrow:focus-visible:not(:disabled) {
  border-color: var(--tco-vvc-border-strong);
  background: #fff;
  transform: translateY(-1px);
  outline: none;
}

.tco-vvc-arrow:disabled {
  opacity: .38;
  cursor: default;
}

.tco-vvc-shelf-viewport {
  overflow: hidden;
  position: relative;
}

.tco-vvc-shelf-viewport::before,
.tco-vvc-shelf-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18px;
  z-index: 2;
  pointer-events: none;
}

.tco-vvc-shelf-viewport::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,.96), rgba(255,255,255,0));
}

.tco-vvc-shelf-viewport::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,.96), rgba(255,255,255,0));
}

.tco-vvc-shelf-track {
  display: grid;
  grid-auto-flow: column;
  transition: transform .34s ease;
  will-change: transform;
}

.tco-vvc-shelf--video-news .tco-vvc-shelf-track {
  grid-auto-columns: calc((100% - (4 * var(--tco-vvc-gap))) / 5);
  gap: var(--tco-vvc-gap);
}

.tco-vvc-shelf--tv-shows .tco-vvc-shelf-track {
  grid-auto-columns: calc((100% - (3 * var(--tco-vvc-gap))) / 4);
  gap: var(--tco-vvc-gap);
}

.tco-vvc-card {
  background: #fff;
  border: 1px solid var(--tco-vvc-border);
  border-radius: var(--tco-vvc-radius);
  overflow: hidden;
  min-width: 0;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tco-vvc-card:hover,
.tco-vvc-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--tco-vvc-border-strong);
  box-shadow: var(--tco-vvc-shadow-hover);
  outline: none;
}

.tco-vvc-card-media {
  position: relative;
  background: #000;
  overflow: hidden;
}

.tco-vvc-ratio-9x16 {
  aspect-ratio: 9 / 16;
}

.tco-vvc-ratio-16x9 {
  aspect-ratio: 16 / 9;
}

.tco-vvc-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
}

.tco-vvc-card-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(0,0,0,.46);
  backdrop-filter: blur(2px);
  opacity: .92;
  z-index: 2;
}

.tco-vvc-card-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
}

.tco-vvc-card-body {
  padding: 12px 12px 14px;
}

.tco-vvc-card-program {
  margin: 0 0 6px;
  font-size: .76rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .045em;
  color: var(--tco-vvc-muted);
  text-transform: uppercase;
}

.tco-vvc-card-title {
  margin: 0;
  font-size: .96rem;
  line-height: 1.34;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--tco-vvc-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tco-vvc-shelf--tv-shows .tco-vvc-card {
  border-radius: 12px;
}

.tco-vvc-shelf--tv-shows .tco-vvc-card-body {
  padding: 14px 14px 16px;
}

.tco-vvc-shelf--tv-shows .tco-vvc-card-program {
  margin: 0 0 7px;
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .05em;
  color: #4b5563;
}

.tco-vvc-shelf--tv-shows .tco-vvc-card-title {
  font-size: 1rem;
  line-height: 1.35;
}

.tco-vvc-shelf--tv-shows .tco-vvc-card-play {
  width: 42px;
  height: 42px;
  right: 12px;
  bottom: 12px;
  background: rgba(0,0,0,.56);
}

.tco-vvc-shelf--tv-shows .tco-vvc-card-play::before {
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
}

.tco-vvc-card-link,
.tco-vvc-card-title-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.tco-vvc-card-title-link:hover,
.tco-vvc-card-title-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.tco-vvc-modal[hidden] {
  display: none;
}

.tco-vvc-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--tco-vvc-video-news-bg);
}

.tco-vvc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--tco-vvc-video-news-bg);
}

.tco-vvc-modal-dialog {
  position: relative;
  background: transparent;
  z-index: 2;
  overflow: hidden;
}

.tco-vvc-modal--video-news .tco-vvc-modal-dialog {
  width: 100vw;
  height: 100vh;
  margin: 0;
  border-radius: 0;
  max-height: none;
}

.tco-vvc-modal--video-news .tco-vvc-modal-meta {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 18px 18px 12px;
  background: linear-gradient(to bottom, rgba(0,0,0,.46), rgba(0,0,0,0));
}

.tco-vvc-modal--video-news .tco-vvc-modal-player {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: var(--tco-vvc-video-news-bg);
}

.tco-vvc-modal--video-news .tco-vvc-modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
}

.tco-vvc-modal--tv-shows .tco-vvc-modal-dialog {
  width: min(1080px, calc(100vw - 24px));
  max-height: 92vh;
  margin: 5vh auto;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  background: #000;
}

.tco-vvc-modal--tv-shows .tco-vvc-modal-player {
  aspect-ratio: 16 / 9;
  max-height: calc(92vh - 74px);
  background: #000;
}

.tco-vvc-modal--tv-shows .tco-vvc-modal-player iframe {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
}

.tco-vvc-modal-meta {
  padding: 14px 16px 10px;
  color: #fff;
}

.tco-vvc-modal-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .78;
}

.tco-vvc-modal-title {
  margin: 6px 0 0;
  font-size: 1rem;
  line-height: 1.35;
}

.tco-vvc-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  z-index: 60;
}

.tco-vvc-modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  backdrop-filter: blur(4px);
}

.tco-vvc-modal-prev {
  left: max(18px, calc(50vw - 28.125vh - 84px));
}

.tco-vvc-modal-next {
  right: max(18px, calc(50vw - 28.125vh - 84px));
}

.tco-vvc-modal-nav:hover:not([disabled]),
.tco-vvc-modal-nav:focus-visible:not([disabled]) {
  background: rgba(255,255,255,.30);
  outline: none;
}

.tco-vvc-modal-nav[disabled] {
  opacity: .35;
  cursor: default;
}

.tco-vvc-modal--tv-shows .tco-vvc-modal-nav {
  display: none;
}

/* single player */
.tco-vvc-single-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

.tco-vvc-single-shell {
  background: #fff;
}

.tco-vvc-single-meta {
  margin-bottom: 14px;
}

.tco-vvc-single-program {
  margin: 0 0 6px;
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .05em;
  color: #4b5563;
  text-transform: uppercase;
}

.tco-vvc-single-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #101418;
}

.tco-vvc-single-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(16,20,24,.12);
}

.tco-vvc-single-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1024px) {
  .tco-vvc-shelf--video-news .tco-vvc-shelf-track {
    grid-auto-columns: calc((100% - (2 * var(--tco-vvc-gap))) / 3);
  }

  .tco-vvc-shelf--tv-shows .tco-vvc-shelf-track {
    grid-auto-columns: calc((100% - var(--tco-vvc-gap)) / 2);
  }
}

@media (max-width: 900px) {
  .tco-vvc-modal-prev { left: 12px; }
  .tco-vvc-modal-next { right: 12px; }
}

@media (max-width: 640px) {
  .tco-vvc-shelf {
    margin-bottom: 30px;
  }

  .tco-vvc-shelf-top {
    margin-bottom: 12px;
  }

  .tco-vvc-shelf-heading {
    font-size: 1rem;
  }

  .tco-vvc-arrow {
    width: 34px;
    height: 34px;
  }

  .tco-vvc-shelf-viewport::before,
  .tco-vvc-shelf-viewport::after {
    display: none;
  }

  .tco-vvc-shelf--video-news .tco-vvc-shelf-track {
    gap: var(--tco-vvc-gap-mobile);
    grid-auto-columns: calc((100% - var(--tco-vvc-gap-mobile)) / 2);
  }

  .tco-vvc-shelf--tv-shows .tco-vvc-shelf-track {
    gap: var(--tco-vvc-gap-mobile);
    grid-auto-columns: 100%;
  }

  .tco-vvc-card-title {
    font-size: .92rem;
  }

  .tco-vvc-shelf--tv-shows .tco-vvc-card-body {
    padding: 12px 12px 14px;
  }

  .tco-vvc-shelf--tv-shows .tco-vvc-card-title {
    font-size: .96rem;
  }

  .tco-vvc-shelf--tv-shows .tco-vvc-card-play {
    width: 38px;
    height: 38px;
  }

  .tco-vvc-modal-nav {
    width: 48px;
    height: 48px;
    font-size: 26px;
  }

  .tco-vvc-modal-prev { left: 10px; }
  .tco-vvc-modal-next { right: 10px; }

  .tco-vvc-modal--tv-shows .tco-vvc-modal-dialog {
    width: calc(100vw - 12px);
    margin: 1vh auto;
    border-radius: 12px;
  }

  .tco-vvc-single-wrap {
    padding: 18px 12px;
  }

  .tco-vvc-single-title {
    font-size: 1.2rem;
  }

  .tco-vvc-single-frame {
    border-radius: 12px;
  }
}
