/* Video Hub Core 1.1.64 — TV Kętrzyn theme lock
   Kolorystyka: granat morski + oceaniczny błękit. Logo i dane nadal ustawiane z PA. */

.tvm-video-hub {
  --tvk-deep: #03111f;
  --tvk-navy: #061d33;
  --tvk-sea: #06283a;
  --tvk-ocean: #28c7f2;
  --tvk-ocean-soft: #89e7ff;
  --tvk-text: #f5fbff;
  background:
    radial-gradient(circle at 15% 0%, rgba(40, 199, 242, .12), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(0, 103, 140, .16), transparent 38%),
    var(--tvm-page-bg, #03111f);
}

.tvm-video-hub .tvm-hero,
.tvm-video-hub .tvm-hero__top {
  background: linear-gradient(145deg, rgba(6, 29, 51, .96), rgba(3, 17, 31, .98));
}

.tvm-video-hub .tvm-tab.is-active,
.tvm-video-hub .tvm-tabs button.is-active,
.tvm-video-hub .tvm-filter.is-active,
.tvm-video-hub .tvm-chip.is-active {
  background: linear-gradient(135deg, #89e7ff, #28c7f2);
  color: #03111f;
  border-color: rgba(137, 231, 255, .72);
}

.tvm-video-hub .tvm-card,
.tvm-video-hub .tvm-video-card,
.tvm-video-hub .tvm-panel,
.tvm-video-hub .tvm-event-card {
  border-color: rgba(84, 207, 242, .18);
  background: linear-gradient(145deg, rgba(6, 40, 58, .74), rgba(3, 17, 31, .82));
}

.tvm-video-hub .tvm-live-panel--live,
.tvm-video-hub .tvm-mobile-action-card--live {
  border-color: rgba(40, 199, 242, .42);
  box-shadow: 0 18px 42px rgba(0, 68, 108, .26), inset 0 1px 0 rgba(255,255,255,.06);
}

.tvm-video-hub .tvm-button,
.tvm-video-hub .tvm-action,
.tvm-video-hub .tvm-live-action,
.tvm-video-hub .tvm-mobile-bottom-action,
.tvm-video-hub .tvm-cookie-banner__accept {
  background: linear-gradient(135deg, #126fa1, #28c7f2);
  border-color: rgba(137, 231, 255, .36);
}

.tvm-video-hub .tvm-rating-star.is-selected,
.tvm-video-hub .tvm-rating-star.is-locked,
.tvm-video-hub .tvm-mobile-rating-star.is-selected,
.tvm-video-hub .tvm-mobile-rating-star.is-locked {
  color: #89e7ff;
  border-color: rgba(137, 231, 255, .58);
  box-shadow: 0 0 0 4px rgba(40, 199, 242, .10), 0 12px 26px rgba(0, 68, 108, .28);
}

.tvm-video-hub .tvm-footer {
  background: linear-gradient(180deg, rgba(3, 17, 31, .96), rgba(2, 11, 20, 1));
}

/* 1.1.64 — radio/social CTA lock */
.tvm-video-hub .tvm-live-actions {
  width: 100%;
  margin-top: 14px;
}

.tvm-video-hub .tvm-live-action--listen {
  width: 100%;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 18px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 16px 38px rgba(0, 76, 118, .28), inset 0 1px 0 rgba(255,255,255,.14);
}

.tvm-video-hub .tvm-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.tvm-video-hub .tvm-footer-socials__icon {
  width: auto;
  min-width: 122px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(5, 34, 54, .76);
  border: 1px solid rgba(137, 231, 255, .22);
  color: #f5fbff;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.tvm-video-hub .tvm-footer-socials__icon:hover,
.tvm-video-hub .tvm-footer-socials__icon:focus-visible {
  transform: translateY(-2px);
  background: rgba(8, 51, 78, .88);
  border-color: rgba(137, 231, 255, .48);
}

.tvm-video-hub .tvm-footer-socials__icon span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #126fa1, #28c7f2);
  color: #03111f;
  font-weight: 950;
}

.tvm-video-hub .tvm-footer-socials__icon strong {
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .02em;
}

.tvm-modal-listen-cta {
  padding: 14px 20px 20px;
  width: 100%;
  box-sizing: border-box;
}

.tvm-modal-listen-cta a {
  min-height: 50px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  text-decoration: none;
  color: #03111f;
  background: linear-gradient(135deg, #89e7ff, #28c7f2);
  border: 1px solid rgba(137, 231, 255, .58);
  box-shadow: 0 18px 42px rgba(0, 91, 135, .32), inset 0 1px 0 rgba(255,255,255,.35);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.tvm-modal-listen-cta a:hover,
.tvm-modal-listen-cta a:focus-visible {
  transform: translateY(-2px);
}

.tvm-modal-listen-cta a span {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(3, 17, 31, .15);
}

.tvm-modal-listen-cta--video {
  padding-left: 28px;
  padding-right: 28px;
}

.tvm-modal-listen-cta--static {
  position: sticky;
  bottom: 0;
  z-index: 8;
  padding: 14px 22px calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(3,17,31,0), rgba(3,17,31,.96) 34%);
}

@media (max-width: 768px) {
  .tvm-video-hub .tvm-live-actions {
    margin: 10px auto 0;
  }

  .tvm-video-hub .tvm-live-action--listen {
    min-height: 46px;
    border-radius: 16px;
    font-size: 13px;
  }

  .tvm-video-hub .tvm-footer-socials {
    width: 100%;
    margin-top: 12px;
  }

  .tvm-video-hub .tvm-footer-socials__icon {
    min-width: calc(50% - 7px);
    height: 44px;
  }

  .tvm-modal-listen-cta {
    padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
  }

  .tvm-modal-listen-cta a {
    min-height: 48px;
    border-radius: 16px;
    font-size: 13px;
  }
}
