/* Video Hub Core 1.1.9 — hard cleanup: PC/mobile layout, live box, modals, cards */
.tvm-video-hub,
.tvm-video-hub *{box-sizing:border-box;}
.tvm-video-hub{width:100% !important;max-width:none !important;overflow-x:hidden !important;background:radial-gradient(circle at 80% 20%,rgba(0,159,180,.22),transparent 36%),linear-gradient(180deg,#063f46 0%,#042b33 38%,#031a22 100%) !important;color:#fff !important;font-family:Inter,Roboto,"Open Sans","Noto Sans",Arial,sans-serif !important;}
.tvm-video-hub a,.tvm-video-hub button{font-family:inherit !important;}
.tvm-video-hub .tvm-hero{max-width:1280px !important;margin:0 auto !important;padding:22px 20px 24px !important;}
.tvm-video-hub .tvm-hero__top{max-width:1180px !important;margin:0 auto !important;display:grid !important;grid-template-columns:minmax(320px,1fr) auto minmax(280px,340px) !important;align-items:center !important;gap:28px !important;padding:26px 28px !important;border:1px solid rgba(124,224,238,.22) !important;border-radius:28px !important;background:linear-gradient(135deg,rgba(3,22,31,.92),rgba(2,76,82,.74)) !important;box-shadow:0 22px 60px rgba(0,0,0,.26) !important;overflow:hidden !important;}
.tvm-video-hub .tvm-hero h2{font-size:clamp(36px,4.2vw,62px) !important;line-height:1 !important;color:#fff !important;margin:14px 0 12px !important;letter-spacing:-.04em !important;}
.tvm-video-hub .tvm-eyebrow{color:rgba(255,255,255,.72) !important;letter-spacing:.34em !important;font-size:12px !important;text-transform:uppercase !important;font-weight:900 !important;}
.tvm-video-hub .tvm-intro{color:#fff !important;font-size:18px !important;line-height:1.45 !important;}

/* Live box: one clean online-TV panel, no duplicate pictograms */
.tvm-video-hub .tvm-live-box{position:relative !important;display:grid !important;grid-template-columns:1fr !important;align-items:center !important;justify-items:center !important;gap:12px !important;min-height:126px !important;width:100% !important;padding:18px 22px 18px 104px !important;border:1px solid rgba(103,223,231,.28) !important;border-radius:24px !important;background:linear-gradient(135deg,rgba(5,34,46,.9),rgba(0,112,116,.54)) !important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02),0 18px 42px rgba(0,0,0,.24) !important;color:#fff !important;text-align:left !important;}
.tvm-video-hub .tvm-live-box:before{content:"" !important;position:absolute !important;left:26px !important;top:50% !important;width:54px !important;height:42px !important;transform:translateY(-50%) !important;border:4px solid #b6f5ff !important;border-radius:12px !important;background:linear-gradient(180deg,#08a9b8,#045d68) !important;box-shadow:0 0 24px rgba(0,184,203,.36) !important;}
.tvm-video-hub .tvm-live-box:after{content:"" !important;position:absolute !important;left:43px !important;top:calc(50% + 29px) !important;width:22px !important;height:5px !important;border-radius:99px !important;background:#f7c246 !important;box-shadow:0 10px 0 #d0a83b,0 20px 0 rgba(208,168,59,.7) !important;}
.tvm-video-hub .tvm-live-box__icon{display:none !important;}
.tvm-video-hub .tvm-live-box__status{display:inline-flex !important;align-items:center !important;justify-content:center !important;min-width:140px !important;padding:8px 18px !important;border-radius:999px !important;border:1px solid rgba(143,236,255,.45) !important;background:rgba(3,34,48,.74) !important;color:#b9f8ff !important;font-weight:900 !important;letter-spacing:.18em !important;font-size:12px !important;text-transform:uppercase !important;}
.tvm-video-hub .tvm-live-box.is-live .tvm-live-box__status{background:#d71920 !important;border-color:#ff7676 !important;color:#fff !important;box-shadow:0 0 22px rgba(215,25,32,.3) !important;}
.tvm-video-hub .tvm-live-box__body{display:flex !important;justify-content:center !important;align-items:center !important;width:100% !important;}
.tvm-video-hub .tvm-live-box__meta{display:block !important;text-align:left !important;}
.tvm-video-hub .tvm-live-box__meta strong{display:block !important;color:#fff !important;font-size:18px !important;line-height:1.12 !important;font-weight:900 !important;margin:0 0 4px !important;}
.tvm-video-hub .tvm-live-box__meta small{display:block !important;color:rgba(255,255,255,.82) !important;font-size:13px !important;line-height:1.35 !important;}

/* Tabs: desktop one line, add material on right */
.tvm-video-hub .tvm-tabs-bar{width:100% !important;max-width:none !important;margin:0 !important;padding:12px max(24px,calc((100vw - 1280px)/2 + 20px)) !important;border-top:1px solid rgba(75,210,222,.22) !important;border-bottom:1px solid rgba(75,210,222,.22) !important;background:rgba(2,22,31,.88) !important;overflow:visible !important;}
.tvm-video-hub .tvm-tabs-inner{display:flex !important;align-items:center !important;gap:12px !important;width:100% !important;max-width:1280px !important;margin:0 auto !important;overflow:visible !important;}
.tvm-video-hub .tvm-category-nav{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:10px !important;flex:1 1 auto !important;min-width:0 !important;overflow:visible !important;}
.tvm-video-hub .tvm-category-nav a{display:inline-flex !important;align-items:center !important;justify-content:center !important;min-height:42px !important;padding:0 22px !important;border-radius:13px !important;border:1px solid rgba(123,220,234,.24) !important;background:linear-gradient(180deg,rgba(22,52,63,.94),rgba(8,33,43,.96)) !important;color:#fff !important;font-weight:900 !important;text-decoration:none !important;white-space:nowrap !important;box-shadow:none !important;}
.tvm-video-hub .tvm-category-nav a.is-active{background:linear-gradient(180deg,#08a7bd,#08798a) !important;border-color:#6cf3ff !important;color:#fff !important;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 10px 24px rgba(0,150,176,.22) !important;}
.tvm-video-hub .tvm-tabs-add-event{margin-left:auto !important;flex:0 0 auto !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;gap:10px !important;min-height:42px !important;padding:0 22px !important;border-radius:999px !important;border:1px solid rgba(168,225,235,.22) !important;background:rgba(255,255,255,.08) !important;color:#fff !important;font-weight:900 !important;white-space:nowrap !important;}
.tvm-video-hub .tvm-tabs-mobile-toggle{display:none !important;}

/* Filters centered */
.tvm-video-hub .tvm-content-filters{max-width:1180px !important;margin:26px auto !important;justify-content:center !important;align-items:end !important;}

/* Cards: remove old white stripe and keep dark teal */
.tvm-video-hub .tvm-card{background:linear-gradient(180deg,#075d63 0%,#05464f 42%,#042d38 100%) !important;border:1px solid rgba(125,232,242,.46) !important;border-radius:20px !important;overflow:hidden !important;color:#fff !important;box-shadow:0 18px 46px rgba(0,0,0,.28) !important;}
.tvm-video-hub .tvm-card:hover{transform:translateY(-3px) scale(1.01) !important;background:linear-gradient(180deg,#07676d 0%,#054a53 42%,#042f3b 100%) !important;}
.tvm-video-hub .tvm-card__image,.tvm-video-hub .tvm-card__media,.tvm-video-hub .tvm-card figure,.tvm-video-hub .tvm-card .tvm-card__thumb{display:block !important;margin:0 !important;padding:0 !important;background:transparent !important;border:0 !important;line-height:0 !important;}
.tvm-video-hub .tvm-card__image img,.tvm-video-hub .tvm-card__media img,.tvm-video-hub .tvm-card img{display:block !important;width:100% !important;height:auto !important;margin:0 !important;border:0 !important;background:transparent !important;vertical-align:top !important;}
.tvm-video-hub .tvm-card__body,.tvm-video-hub .tvm-card__content{background:transparent !important;color:#fff !important;border-top:0 !important;}
.tvm-video-hub .tvm-card *{color:inherit;}
.tvm-video-hub .tvm-card__title,.tvm-video-hub .tvm-card h3,.tvm-video-hub .tvm-card strong{color:#fff !important;text-shadow:0 2px 18px rgba(0,0,0,.24) !important;}
.tvm-video-hub .tvm-card__excerpt,.tvm-video-hub .tvm-card p{color:rgba(255,255,255,.82) !important;}
.tvm-video-hub .tvm-card__stars,.tvm-video-hub .tvm-card__rating-number{color:#ffc247 !important;}
.tvm-video-hub .tvm-card__share-icon{background:rgba(255,194,71,.16) !important;border:1px solid rgba(255,194,71,.48) !important;color:#ffc247 !important;}

/* Video modal PC: title and player on left, description on right */
.tvm-video-hub .tvm-modal:not([hidden]){display:flex !important;align-items:center !important;justify-content:center !important;}
.tvm-video-hub .tvm-modal__dialog{width:min(96vw,1500px) !important;max-width:min(96vw,1500px) !important;max-height:92vh !important;display:grid !important;grid-template-columns:minmax(680px,1.7fr) minmax(360px,.75fr) !important;gap:24px !important;padding:24px !important;background:linear-gradient(135deg,rgba(2,14,22,.98),rgba(3,42,51,.96)) !important;border:1px solid rgba(125,232,242,.25) !important;border-radius:26px !important;color:#fff !important;overflow:auto !important;}
.tvm-video-hub .tvm-modal__video{position:relative !important;min-height:0 !important;align-self:start !important;background:#000 !important;border-radius:20px !important;overflow:hidden !important;border:1px solid rgba(125,232,242,.18) !important;}
.tvm-video-hub .tvm-modal__video:before{content:attr(data-current-title) !important;display:block !important;padding:18px 22px 10px !important;background:#000 !important;color:#fff !important;font-weight:900 !important;font-size:clamp(22px,2vw,34px) !important;line-height:1.08 !important;letter-spacing:-.03em !important;}
.tvm-video-hub .tvm-modal__video iframe{display:block !important;width:100% !important;aspect-ratio:16/9 !important;min-height:440px !important;border:0 !important;background:#000 !important;}
.tvm-video-hub .tvm-modal__content{min-width:0 !important;color:#fff !important;}
.tvm-video-hub .tvm-modal__glass{height:100% !important;display:flex !important;flex-direction:column !important;gap:18px !important;padding:26px !important;border-radius:22px !important;background:linear-gradient(180deg,rgba(3,29,40,.98),rgba(2,23,34,.94)) !important;border:1px solid rgba(125,232,242,.24) !important;color:#fff !important;}
.tvm-video-hub .tvm-modal__glass h3{display:none !important;}
.tvm-video-hub .tvm-modal__glass p{color:rgba(255,255,255,.9) !important;font-size:17px !important;line-height:1.55 !important;margin:0 !important;}
.tvm-video-hub .tvm-tags{display:flex !important;flex-wrap:wrap !important;gap:8px !important;}
.tvm-video-hub .tvm-tags button,.tvm-video-hub .tvm-tags span,.tvm-video-hub .tvm-tag{border:1px solid rgba(125,232,242,.35) !important;background:rgba(8,141,156,.22) !important;color:#dffcff !important;border-radius:999px !important;padding:7px 11px !important;font-weight:800 !important;}
.tvm-video-hub .tvm-rating{display:grid !important;grid-template-columns:1fr auto !important;gap:12px !important;align-items:center !important;margin-top:auto !important;}
.tvm-video-hub .tvm-rating__stars{grid-column:1 / 2 !important;display:flex !important;gap:8px !important;align-items:center !important;}
.tvm-video-hub .tvm-rating__summary{grid-column:1 / -1 !important;order:2 !important;color:#fff !important;font-weight:900 !important;}
.tvm-video-hub .tvm-rating__star,.tvm-video-hub .tvm-rating button{width:48px !important;height:42px !important;border-radius:12px !important;border:1px solid rgba(255,194,71,.48) !important;background:rgba(255,194,71,.09) !important;color:#ffc247 !important;font-size:24px !important;}
.tvm-video-hub .tvm-rating__star:hover,.tvm-video-hub .tvm-rating__star.is-hover,.tvm-video-hub .tvm-rating__star.is-active,.tvm-video-hub .tvm-rating button:hover,.tvm-video-hub .tvm-rating button.is-active{background:rgba(255,194,71,.24) !important;color:#ffc247 !important;box-shadow:0 0 22px rgba(255,194,71,.25) !important;}
.tvm-video-hub .tvm-modal__share{grid-column:2 / 3 !important;align-self:center !important;justify-self:end !important;width:44px !important;height:44px !important;border-radius:12px !important;background:#ffc247 !important;color:#06222e !important;border:0 !important;font-weight:900 !important;font-size:22px !important;}
.tvm-video-hub .tvm-modal__related{border-top:1px solid rgba(125,232,242,.18) !important;padding-top:16px !important;}
.tvm-video-hub .tvm-modal__info-toggle{display:none !important;}
.tvm-video-hub .tvm-modal__mobile-title{display:none !important;}
.tvm-video-hub .tvm-video-ended__panel{background:linear-gradient(135deg,rgba(3,29,40,.98),rgba(5,84,90,.9)) !important;color:#fff !important;border:1px solid rgba(125,232,242,.3) !important;border-radius:22px !important;padding:24px !important;}

/* Static modals: coherent teal style, fixed header/footer, scroll only inside */
.tvm-video-hub .tvm-static-modal{height:100% !important;overflow:hidden !important;background:transparent !important;color:#fff !important;}
.tvm-video-hub .tvm-static-modal label,.tvm-video-hub .tvm-static-modal p,.tvm-video-hub .tvm-static-modal span,.tvm-video-hub .tvm-static-modal strong{color:#fff !important;}
.tvm-video-hub .tvm-static-modal input,.tvm-video-hub .tvm-static-modal textarea,.tvm-video-hub .tvm-static-modal select{background:#fff !important;color:#0c2230 !important;border:1px solid rgba(125,232,242,.35) !important;border-radius:14px !important;}

/* Footer spacing */
.tvm-video-hub .tvm-footer{padding:34px max(24px,calc((100vw - 1280px)/2 + 20px)) !important;background:linear-gradient(90deg,#031820,#064b52) !important;color:#fff !important;}
.tvm-video-hub .tvm-footer__inner{display:grid !important;grid-template-columns:1fr auto 1fr !important;gap:28px !important;align-items:center !important;max-width:1280px !important;margin:0 auto !important;}
.tvm-video-hub .tvm-footer p,.tvm-video-hub .tvm-footer a{color:rgba(255,255,255,.86) !important;line-height:1.55 !important;}

@media (max-width:980px){
  .tvm-video-hub{overflow-x:hidden !important;}
  .tvm-video-hub .tvm-hero{padding:18px 14px 14px !important;}
  .tvm-video-hub .tvm-hero__top{grid-template-columns:1fr !important;gap:18px !important;padding:22px !important;text-align:left !important;}
  .tvm-video-hub .tvm-hero__logo-col{display:none !important;}
  .tvm-video-hub .tvm-hero h2{font-size:40px !important;}
  .tvm-video-hub .tvm-live-box{padding:18px 18px 18px 92px !important;min-height:116px !important;}
  .tvm-video-hub .tvm-live-box__meta strong,.tvm-video-hub .tvm-live-box__meta small{color:#fff !important;}
  .tvm-video-hub .tvm-tabs-bar{padding:12px 14px !important;position:relative !important;}
  .tvm-video-hub .tvm-tabs-inner{display:grid !important;grid-template-columns:1fr auto !important;gap:12px !important;align-items:start !important;}
  .tvm-video-hub .tvm-tabs-mobile-toggle{display:flex !important;align-items:center !important;justify-content:center !important;gap:8px !important;min-height:48px !important;border-radius:999px !important;border:1px solid rgba(125,232,242,.32) !important;background:rgba(255,255,255,.08) !important;color:#fff !important;font-weight:900 !important;}
  .tvm-video-hub .tvm-tabs-mobile-toggle strong:before{content:"Rozwiń menu: " !important;}
  .tvm-video-hub .tvm-category-nav{display:none !important;grid-column:1 / -1 !important;flex-direction:column !important;width:100% !important;gap:8px !important;padding:10px !important;border-radius:18px !important;background:rgba(3,29,40,.96) !important;border:1px solid rgba(125,232,242,.22) !important;}
  .tvm-video-hub .tvm-category-nav.is-open{display:flex !important;}
  .tvm-video-hub .tvm-category-nav a{width:100% !important;justify-content:center !important;}
  .tvm-video-hub .tvm-category-nav:after{content:"Zwiń menu" !important;display:flex !important;align-items:center !important;justify-content:center !important;width:100% !important;min-height:42px !important;border-radius:999px !important;background:rgba(255,255,255,.08) !important;color:#fff !important;font-weight:900 !important;}
  .tvm-video-hub .tvm-tabs-add-event{grid-column:2 / 3 !important;width:52px !important;min-width:52px !important;height:52px !important;padding:0 !important;border-radius:999px !important;}
  .tvm-video-hub .tvm-tabs-add-event span:last-child{position:absolute !important;width:1px !important;height:1px !important;overflow:hidden !important;clip:rect(0 0 0 0) !important;}
  .tvm-video-hub .tvm-tabs-add-event .tvm-filter-add-event__icon{font-size:24px !important;}
  .tvm-video-hub .tvm-content-filters{margin:18px 14px !important;display:grid !important;grid-template-columns:1fr 1fr !important;gap:12px !important;}
  .tvm-video-hub .tvm-content-filters label,.tvm-video-hub .tvm-filter-actions{width:100% !important;}

  .tvm-video-hub .tvm-mobile-shell{display:block !important;margin:18px 14px !important;padding:18px !important;border-radius:24px !important;background:linear-gradient(180deg,rgba(5,96,101,.88),rgba(3,41,52,.96)) !important;border:1px solid rgba(125,232,242,.25) !important;}
  .tvm-video-hub .tvm-mobile-shell__header{display:block !important;color:#fff !important;}
  .tvm-video-hub .tvm-mobile-shell__header h3,.tvm-video-hub .tvm-mobile-shell__header p{color:#fff !important;}
  .tvm-video-hub .tvm-mobile-shell__controls{display:none !important;}
  .tvm-video-hub .tvm-mobile-shell__rail{display:block !important;overflow:visible !important;}
  .tvm-video-hub .tvm-mobile-shell__card{display:none !important;width:100% !important;margin-top:14px !important;border-radius:18px !important;background:rgba(255,255,255,.95) !important;color:#0d2430 !important;}
  .tvm-video-hub .tvm-mobile-shell__card:first-child{display:grid !important;grid-template-columns:110px 1fr !important;gap:14px !important;align-items:center !important;padding:14px !important;}
  .tvm-video-hub .tvm-mobile-shell__card img{border-radius:14px !important;}
  .tvm-video-hub .tvm-mobile-shell__body strong,.tvm-video-hub .tvm-mobile-shell__desc{color:#0d2430 !important;}
  .tvm-video-hub .tvm-mobile-shell:after{content:"Pokaż Top 5" !important;display:flex !important;align-items:center !important;justify-content:center !important;min-height:42px !important;margin-top:14px !important;border-radius:999px !important;background:#ffc247 !important;color:#06222e !important;font-weight:900 !important;}

  .tvm-video-hub .tvm-modal{align-items:stretch !important;justify-content:stretch !important;}
  .tvm-video-hub .tvm-modal__dialog{width:100vw !important;max-width:100vw !important;min-height:100dvh !important;max-height:none !important;display:flex !important;flex-direction:column !important;gap:14px !important;padding:74px 14px 18px !important;border-radius:0 !important;overflow:auto !important;}
  .tvm-video-hub .tvm-modal__close{top:14px !important;right:14px !important;}
  .tvm-video-hub .tvm-modal__video{order:1 !important;width:100% !important;border-radius:18px !important;}
  .tvm-video-hub .tvm-modal__video:before{font-size:24px !important;line-height:1.12 !important;padding:14px 16px 10px !important;}
  .tvm-video-hub .tvm-modal__video iframe{min-height:auto !important;aspect-ratio:16/9 !important;}
  .tvm-video-hub .tvm-modal__content{order:2 !important;width:100% !important;display:block !important;}
  .tvm-video-hub .tvm-modal__glass{padding:18px !important;border-radius:18px !important;}
  .tvm-video-hub .tvm-modal__info-toggle{display:flex !important;order:3 !important;align-items:center !important;justify-content:center !important;min-height:44px !important;margin:10px auto 0 !important;padding:0 20px !important;border-radius:999px !important;background:#08a7bd !important;color:#fff !important;font-weight:900 !important;z-index:2 !important;}
  .tvm-video-hub .tvm-modal.is-info-collapsed .tvm-modal__content{display:none !important;}
  .tvm-video-hub .tvm-modal.is-info-collapsed .tvm-modal__info-toggle{display:flex !important;}
  .tvm-video-hub .tvm-modal.is-video-expanded .tvm-modal__content{display:none !important;}
  .tvm-video-hub .tvm-rating{grid-template-columns:1fr auto !important;}
  .tvm-video-hub .tvm-rating__star,.tvm-video-hub .tvm-rating button{width:42px !important;height:38px !important;font-size:21px !important;}
  .tvm-video-hub .tvm-footer{padding:34px 22px 42px !important;text-align:center !important;}
  .tvm-video-hub .tvm-footer__inner{display:flex !important;flex-direction:column !important;gap:18px !important;}
  .tvm-video-hub .tvm-footer__links{display:flex !important;gap:12px !important;flex-wrap:wrap !important;justify-content:center !important;}
}
.tvm-video-hub .tvm-grid .tvm-card__thumb,.tvm-video-hub .tvm-grid .tvm-card__thumb *{background:#031a24 !important;border:0 !important;box-shadow:none !important;}
.tvm-video-hub .tvm-grid .tvm-card__thumb:before,.tvm-video-hub .tvm-grid .tvm-card__thumb:after,.tvm-video-hub .tvm-card__media:before,.tvm-video-hub .tvm-card__media:after,.tvm-video-hub .tvm-card__image:before,.tvm-video-hub .tvm-card__image:after{display:none !important;content:none !important;}
.tvm-mobile-top-modal[hidden]{display:none !important;}
.tvm-mobile-top-modal{position:fixed;inset:0;z-index:100050;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(0,10,16,.72);backdrop-filter:blur(10px);}
.tvm-mobile-top-modal__box{width:min(94vw,520px);max-height:86dvh;overflow:auto;border-radius:26px;background:linear-gradient(180deg,#064b55,#031f2c);border:1px solid rgba(125,232,242,.32);box-shadow:0 30px 80px rgba(0,0,0,.48);padding:22px;color:#fff;position:relative;}
.tvm-mobile-top-modal__close{position:absolute;right:14px;top:12px;width:42px;height:42px;border-radius:999px;background:#08a7bd;color:#fff;border:0;font-size:28px;font-weight:900;}
.tvm-mobile-top-modal__box h3{margin:0 52px 18px 0;color:#fff;font-size:28px;font-weight:900;}
.tvm-mobile-top-modal__list{display:flex;flex-direction:column;gap:12px;}
.tvm-mobile-top-modal .tvm-mobile-shell__card.is-modal-item{position:relative !important;display:grid !important;grid-template-columns:34px 96px 1fr !important;gap:12px !important;align-items:center !important;width:100% !important;margin:0 !important;padding:12px !important;border-radius:18px !important;background:rgba(255,255,255,.96) !important;color:#0d2430 !important;}
.tvm-mobile-top-modal__rank{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#ffc247;color:#06222e;font-weight:900;}
.tvm-mobile-top-modal__back{width:100%;min-height:44px;margin-top:16px;border-radius:999px;border:0;background:#ffc247;color:#06222e;font-weight:900;}
