@media (max-width: 767px) {
    .tvm-hero__top,
    .tvm-category-nav,
    .tvm-layout,
    .tvm-footer__inner {
        width: min(100% - 28px, 1180px);
    }

    .tvm-hero__top {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 16px;
        text-align: center;
    }

    .tvm-hero__brand-col,
    .tvm-hero__logo-col,
    .tvm-hero__live-col {
        justify-content: center;
    }

    .tvm-hero__brand-copy {
        text-align: center;
        max-width: 100%;
    }

    .tvm-intro {
        margin-left: auto;
        margin-right: auto;
    }

    .tvm-site-logo {
        width: 108px;
        height: 108px;
    }

    .tvm-live-box {
        width: 100%;
        min-height: 130px;
    }

    .tvm-category-nav {
        justify-content: center;
    }

    .tvm-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }


    .tvm-layout {
        display: block;
    }

    .tvm-sidebar {
        display: none;
    }

    .tvm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .tvm-card {
        border-radius: 18px;
    }

    .tvm-card__thumb {
        width: min(84%, 220px);
        margin: 10px auto 0;
        border-radius: 14px;
    }

    .tvm-card__content {
        gap: 8px;
        width: min(90%, 240px);
        margin: 0 auto;
        padding: 12px 0 14px;
    }

    .tvm-card__title {
        font-size: 17px;
        line-height: 1.15;
    }

    .tvm-card__description {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 14px;
    }

    .tvm-mobile-shell {
        display: grid;
        gap: 14px;
        width: min(1200px, 100%);
        margin: 0 auto 28px;
        padding: 18px;
        border-radius: 24px;
        background: var(--tvm-panel-bg);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);
    }

    .tvm-mobile-shell__header h3 {
        margin: 0 0 6px;
        font-size: 22px;
    }

    .tvm-mobile-shell__header p {
        margin: 0;
        color: #6f645c;
    }

    .tvm-mobile-shell__rail {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
    }

    .tvm-mobile-shell__card {
        display: grid;
        grid-template-columns: 92px 34px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        border: 0;
        border-radius: 18px;
        background: #fff;
        padding: 10px;
        text-align: left;
        cursor: pointer;
        scroll-snap-align: start;
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    }

    .tvm-mobile-shell__card img {
        width: 92px;
        height: 64px;
        object-fit: cover;
        border-radius: 12px;
    }

    .tvm-mobile-shell__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #111111;
        color: #ffffff;
        font-size: 14px;
    }

    .tvm-mobile-shell__card span:last-child {
        display: grid;
        gap: 4px;
    }

    .tvm-mobile-shell__card small {
        color: #6f645c;
    }

    .tvm-mobile-shell__card:focus-visible {
        outline: 2px solid var(--tvm-accent);
        outline-offset: 3px;
    }
}

@media (min-width: 768px) {
    .tvm-mobile-shell {
        display: none;
    }
}

/* v1.0.28 — dopieszczony mobile: Top 3 pod headerem, karty czytelne, stopka centrowana. */
@media (max-width: 767px) {
    .tvm-video-hub {
        overflow-x: hidden;
    }

    .tvm-hero {
        padding: 26px 0 18px;
        gap: 16px;
    }

    .tvm-hero__top,
    .tvm-category-nav,
    .tvm-layout,
    .tvm-footer__inner,
    .tvm-mobile-shell {
        width: min(100% - 24px, 560px);
    }

    .tvm-hero__top {
        gap: 14px;
    }

    .tvm-eyebrow {
        justify-content: center;
        text-align: center;
        font-size: 10px;
        letter-spacing: 0.22em;
    }

    .tvm-hero h2 {
        font-size: clamp(34px, 12vw, 52px);
        line-height: 0.98;
        text-align: center;
        max-width: 100%;
    }

    .tvm-intro {
        white-space: normal;
        max-width: 360px;
        font-size: 15px;
        text-align: center;
    }

    .tvm-site-logo {
        width: 118px;
        height: 118px;
        margin: 0 auto;
    }

    .tvm-live-box,
    .tvm-live-box.is-offline,
    .tvm-live-box.is-live {
        width: min(100%, 360px);
        min-height: 92px;
        margin: 0 auto;
        padding: 14px 15px;
        border-radius: 20px;
    }

    .tvm-live-box__body {
        justify-content: center;
    }

    .tvm-live-box__status {
        margin: 0 auto 10px;
    }

    .tvm-category-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0 0 10px;
        margin-top: 8px;
        scrollbar-width: none;
    }

    .tvm-category-nav::-webkit-scrollbar {
        display: none;
    }

    .tvm-category-nav a {
        flex: 0 0 auto;
        padding: 14px 18px;
        border-radius: 999px;
        font-size: 14px;
    }

    .tvm-mobile-shell {
        display: grid;
        margin: 0 auto 22px;
        padding: 15px;
        border: 1px solid rgba(24, 126, 188, 0.12);
        background: rgba(255, 255, 255, 0.72);
        backdrop-filter: blur(10px);
    }

    .tvm-mobile-shell__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        text-align: left;
    }

    .tvm-mobile-shell__header h3 {
        font-size: 20px;
        letter-spacing: -0.03em;
    }

    .tvm-mobile-shell__header p {
        font-size: 13px;
    }

    .tvm-mobile-shell__controls {
        display: inline-flex;
        gap: 8px;
        flex: 0 0 auto;
    }

    .tvm-mobile-shell__arrow {
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 50%;
        background: #201713;
        color: #ffffff;
        font-size: 18px;
        font-weight: 900;
        cursor: pointer;
        box-shadow: 0 10px 22px rgba(32, 23, 19, 0.12);
    }

    .tvm-mobile-shell__arrow:active {
        transform: scale(0.96);
    }

    .tvm-mobile-shell__rail {
        grid-auto-columns: min(82vw, 360px);
        padding: 2px 2px 8px;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .tvm-mobile-shell__rail::-webkit-scrollbar {
        display: none;
    }

    .tvm-mobile-shell__card {
        grid-template-columns: 82px 32px minmax(0, 1fr);
        border-radius: 20px;
        padding: 10px;
        min-height: 92px;
        box-shadow: 0 14px 30px rgba(32, 24, 20, 0.08), inset 0 0 0 1px rgba(32, 24, 20, 0.06);
    }

    .tvm-mobile-shell__card img {
        width: 82px;
        height: 62px;
        border-radius: 14px;
    }

    .tvm-mobile-shell__card strong {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 14px;
        line-height: 1.18;
    }

    .tvm-mobile-shell__card small {
        font-size: 12px;
    }

    .tvm-layout {
        padding-top: 0;
    }

    .tvm-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tvm-card {
        border-radius: 22px;
        overflow: hidden;
    }

    .tvm-card__button {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr) 32px;
        align-items: center;
        min-height: 118px;
        padding: 11px;
        text-align: left;
    }

    .tvm-card__button::after {
        content: "›";
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        justify-self: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(32, 24, 20, 0.08);
        color: #201713;
        font-size: 28px;
        line-height: 1;
        font-weight: 800;
    }

    .tvm-card__thumb {
        grid-column: 1;
        grid-row: 1;
        width: 96px;
        height: 76px;
        margin: 0;
        border-radius: 18px;
    }

    .tvm-card__thumb img {
        height: 100%;
    }

    .tvm-card__content {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        min-height: 0;
        padding: 0 10px 0 12px;
        gap: 6px;
        display: grid;
        grid-template-rows: auto auto auto;
    }

    .tvm-card__title {
        font-size: 16px;
        line-height: 1.15;
        -webkit-line-clamp: 2;
    }

    .tvm-card__categories {
        display: none;
    }

    .tvm-card__description {
        min-height: 0;
        font-size: 13px;
        line-height: 1.32;
        -webkit-line-clamp: 2;
    }

    .tvm-card__meta {
        min-height: 0;
        margin-top: 0;
        padding-top: 3px;
        border-top: 0;
        justify-content: flex-start;
        gap: 8px;
        font-size: 11px;
    }

    .tvm-card__rating,
    .tvm-card__views {
        min-height: 26px;
        padding: 5px 8px;
        background: rgba(32, 24, 20, 0.055);
    }

    .tvm-footer {
        padding: 26px 0;
    }

    .tvm-footer__inner {
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .tvm-footer__copy {
        align-items: center;
        text-align: center;
    }

    .tvm-footer__rights {
        justify-content: center;
    }

    .tvm-footer__menu {
        justify-content: center;
        width: 100%;
    }

    .tvm-footer button {
        flex: 1 1 140px;
        max-width: 210px;
        justify-content: center;
    }

    .tvm-cookie-banner {
        text-align: center;
    }

    .tvm-cookie-banner__actions {
        justify-content: center;
    }
}

/* v1.0.29 — dopracowane mobilne Top 3: większa karta, ikona filmu, opis i meta w jednej spójnej warstwie. */
@media (max-width: 767px) {
    .tvm-mobile-shell {
        padding: 16px;
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,252,255,0.88));
        border: 1px solid rgba(24, 126, 188, 0.16);
        box-shadow: 0 18px 38px rgba(13, 45, 68, 0.10);
    }

    .tvm-mobile-shell__header h3 {
        color: #123d5c;
        margin-bottom: 3px;
    }

    .tvm-mobile-shell__header p {
        color: #526472;
        max-width: 230px;
    }

    .tvm-mobile-shell__arrow {
        background: #ffffff;
        color: #123d5c;
        border: 1px solid rgba(24, 126, 188, 0.20);
        box-shadow: 0 10px 22px rgba(13, 45, 68, 0.10);
    }

    .tvm-mobile-shell__arrow:hover,
    .tvm-mobile-shell__arrow:focus-visible {
        background: #c81e2a;
        color: #ffffff;
        border-color: #c81e2a;
        outline: none;
    }

    .tvm-mobile-shell__rail {
        grid-auto-columns: min(86vw, 392px);
        gap: 14px;
    }

    .tvm-mobile-shell__card {
        position: relative;
        display: grid;
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 13px;
        align-items: stretch;
        min-height: 132px;
        padding: 12px;
        border-radius: 22px;
        background: #ffffff;
        border: 1px solid rgba(18, 61, 92, 0.12);
        box-shadow: 0 16px 34px rgba(13, 45, 68, 0.12);
        overflow: hidden;
    }

    .tvm-mobile-shell__card::after {
        content: "›";
        position: absolute;
        right: 12px;
        bottom: 12px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(24, 126, 188, 0.10);
        color: #123d5c;
        font-size: 25px;
        font-weight: 900;
        line-height: 1;
    }

    .tvm-mobile-shell__card:hover,
    .tvm-mobile-shell__card:focus-visible {
        border-color: rgba(200, 30, 42, 0.34);
        box-shadow: 0 18px 38px rgba(200, 30, 42, 0.13);
        outline: none;
    }

    .tvm-mobile-shell__media {
        position: relative;
        display: block;
        min-height: 108px;
        border-radius: 17px;
        overflow: hidden;
        background: #eef5f9;
    }

    .tvm-mobile-shell__media img,
    .tvm-mobile-shell__card img {
        width: 100%;
        height: 100%;
        min-height: 108px;
        object-fit: cover;
        border-radius: 17px;
        display: block;
    }

    .tvm-mobile-shell__icon {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 42px;
        height: 42px;
        background: rgba(200, 30, 42, 0.94);
        color: #ffffff;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    }

    .tvm-mobile-shell__body {
        display: grid;
        grid-template-rows: auto 1fr auto;
        gap: 7px;
        min-width: 0;
        padding: 2px 28px 2px 0;
        text-align: left;
    }

    .tvm-mobile-shell__body strong,
    .tvm-mobile-shell__card strong {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #142532;
        font-size: 15px;
        line-height: 1.16;
        letter-spacing: -0.02em;
    }

    .tvm-mobile-shell__desc {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #536676;
        font-size: 12.5px;
        line-height: 1.32;
    }

    .tvm-mobile-shell__meta {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
        color: #123d5c;
        font-size: 11.5px;
        font-weight: 800;
    }

    .tvm-mobile-shell__meta span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        min-height: 24px;
        padding: 4px 7px;
        border-radius: 999px;
        background: rgba(24, 126, 188, 0.09);
    }
}

@media (max-width: 380px) {
    .tvm-mobile-shell__card {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 124px;
    }

    .tvm-mobile-shell__media,
    .tvm-mobile-shell__media img,
    .tvm-mobile-shell__card img {
        min-height: 100px;
    }

    .tvm-mobile-shell__desc {
        -webkit-line-clamp: 2;
    }
}

/* v1.0.30 — audyt mobile Top 3: play jest małą strzałką w kółku, a kontrolki przewijania są czytelne. */
@media (max-width: 767px) {
    .tvm-mobile-shell__controls {
        position: relative;
        z-index: 3;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .tvm-mobile-shell__arrow {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        padding: 0;
        border-radius: 50%;
        border: 1px solid rgba(18, 61, 92, 0.16);
        background: #ffffff;
        color: #123d5c;
        font-size: 0;
        line-height: 1;
        box-shadow: 0 10px 22px rgba(13, 45, 68, 0.12);
        opacity: 1;
        overflow: visible;
    }

    .tvm-mobile-shell__arrow::before {
        display: block;
        font-size: 18px;
        font-weight: 900;
        line-height: 1;
    }

    .tvm-mobile-shell__arrow[data-mobile-top-prev]::before {
        content: "‹";
    }

    .tvm-mobile-shell__arrow[data-mobile-top-next]::before {
        content: "›";
    }

    .tvm-mobile-shell__arrow:hover,
    .tvm-mobile-shell__arrow:focus-visible {
        background: #c81e2a;
        border-color: #c81e2a;
        color: #ffffff;
        outline: none;
    }

    .tvm-mobile-shell__media {
        isolation: isolate;
    }

    .tvm-mobile-shell__icon {
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 2;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        max-width: 42px;
        max-height: 42px;
        padding: 0;
        border-radius: 50%;
        background: rgba(200, 30, 42, 0.94);
        color: #ffffff;
        font-size: 0;
        line-height: 1;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
        pointer-events: none;
        overflow: hidden;
    }

    .tvm-mobile-shell__icon::before {
        content: "";
        display: block;
        width: 0;
        height: 0;
        margin-left: 3px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-left: 12px solid #ffffff;
    }

    .tvm-mobile-shell__card:hover .tvm-mobile-shell__icon,
    .tvm-mobile-shell__card:focus-visible .tvm-mobile-shell__icon {
        background: #123d5c;
    }
}

@media (max-width: 767px) {
    .tvm-live-actions {
        width: min(100%, 360px);
        margin: 10px auto 0;
    }

    .tvm-live-action {
        min-height: 46px;
        font-size: 14px;
    }
}

/* v1.0.32 — mobile live module: card and RM button stacked in one centered column. */
@media (max-width: 767px) {
    .tvm-hero__live-col {
        width: min(100%, 360px);
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .tvm-hero__live-col .tvm-live-box,
    .tvm-hero__live-col .tvm-live-actions,
    .tvm-hero__live-col .tvm-live-action {
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .tvm-hero__live-col .tvm-live-actions {
        margin-top: 0;
    }
}

/* v1.0.36 — przyciski wydarzeń/patronatu obok siebie także na mobile */
@media (max-width: 767px) {
    .tvm-hero-actions {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 3px;
        width: min(100% - 20px, 520px);
        margin-top: 10px;
    }

    .tvm-hero-action {
        flex: 1 1 0;
        min-width: 0;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
        line-height: 1.15;
    }
}

/* v1.0.39 — mobile: karta kompaktowa, tagi do 5, ocena i udostępnianie w jednej linii. */
@media (max-width: 720px) {
    .tvm-card__button {
        grid-template-columns: 96px minmax(0, 1fr) 30px;
        min-height: 112px;
    }
    .tvm-card__content {
        gap: 5px;
        padding-right: 8px;
    }
    .tvm-card__meta {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        padding-top: 5px;
        border-top: 1px solid rgba(32,24,20,0.06);
        overflow: hidden;
    }
    .tvm-card__rating {
        min-height: 24px;
        padding: 4px 7px;
        font-size: 11px;
        line-height: 1;
        white-space: nowrap;
    }
    .tvm-card__share-icon {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 13px;
    }
    .tvm-tags {
        display: flex;
        flex-wrap: nowrap;
        gap: 5px;
        overflow: hidden;
    }
    .tvm-tags span {
        font-size: 10px;
        padding: 5px 7px;
        white-space: nowrap;
    }
    .tvm-tags span:nth-child(n+6) {
        display: none;
    }
    .tvm-modal__info-toggle {
        display: inline-flex;
    }
    .tvm-modal.is-info-collapsed .tvm-modal__content {
        display: none;
    }
    .tvm-modal.is-info-collapsed .tvm-modal__dialog {
        max-height: none;
    }
    .tvm-live-box {
        padding: 16px 18px;
    }
    .tvm-live-action--listen {
        min-height: 46px;
        border-radius: 22px;
    }
}

/* v1.0.40 — mobile: dół karty tylko ocena + udostępnij. */
@media (max-width: 720px) {
    .tvm-card__meta {
        justify-content: space-between !important;
        gap: 8px !important;
    }
    .tvm-card__share-icon {
        margin-left: auto !important;
        flex: 0 0 28px !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
    }
    .tvm-card__share-icon::before {
        font-size: 13px;
    }
    .tvm-live-action--listen,
    .tvm-live-action--listen span {
        text-decoration: none !important;
    }
}

/* TVM 1.0.42 — mobile cards: aligned media/text/footer, no broken bottom space. */
@media (max-width: 720px) {
    .tvm-card {
        border-radius: 24px !important;
        overflow: hidden !important;
    }
    .tvm-card__button {
        display: grid !important;
        grid-template-columns: 42% minmax(0, 1fr) !important;
        align-items: center !important;
        column-gap: 14px !important;
        min-height: 142px !important;
        padding: 18px !important;
    }
    .tvm-card__button::after {
        display: none !important;
        content: none !important;
    }
    .tvm-card__thumb {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        margin: 0 !important;
        border-radius: 18px !important;
        align-self: center !important;
    }
    .tvm-card__content {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-height: 0 !important;
        padding: 0 !important;
        display: grid !important;
        grid-template-rows: auto auto auto !important;
        gap: 7px !important;
        align-self: center !important;
    }
    .tvm-card__title {
        font-size: 17px !important;
        line-height: 1.16 !important;
        -webkit-line-clamp: 2 !important;
    }
    .tvm-card__description {
        min-height: 0 !important;
        font-size: 13px !important;
        line-height: 1.32 !important;
        -webkit-line-clamp: 2 !important;
    }
    .tvm-card__meta {
        min-height: 34px !important;
        padding-top: 7px !important;
        border-top: 1px solid rgba(32,24,20,.08) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        overflow: visible !important;
    }
    .tvm-card__rating {
        min-width: 0 !important;
        max-width: calc(100% - 38px) !important;
        padding: 0 !important;
        background: transparent !important;
    }
    .tvm-card__stars {
        max-width: 150px !important;
        height: 28px !important;
        padding: 0 7px !important;
        gap: 0 !important;
        font-size: 11px !important;
    }
    .tvm-card__rating-number {
        margin-left: 4px !important;
        font-size: 11px !important;
    }
    .tvm-card__votes {
        margin-left: 5px !important;
        min-width: 18px !important;
        height: 18px !important;
        padding: 0 5px !important;
        font-size: 10px !important;
    }
    .tvm-card__share-icon {
        flex: 0 0 30px !important;
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        margin-left: auto !important;
    }
    .tvm-mobile-shell__card {
        display: grid !important;
        grid-template-columns: 39% minmax(0, 1fr) !important;
        gap: 14px !important;
        align-items: center !important;
    }
    .tvm-mobile-shell__body {
        min-width: 0 !important;
        display: grid !important;
        gap: 8px !important;
    }
    .tvm-mobile-shell__meta {
        padding-top: 7px !important;
        border-top: 1px solid rgba(32,24,20,.08) !important;
    }
}

/* v1.0.43 — mobile hardening: compact modal collapse, safe tags, higher play button. */
@media (max-width: 767px) {
    .tvm-card__thumb {
        position: relative !important;
        overflow: visible !important;
    }

    .tvm-card:not(.tvm-card--event) .tvm-card__thumb::before {
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        bottom: 10px !important;
        z-index: 4 !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 999px !important;
        transform: translateX(-50%) !important;
        background: rgba(7, 20, 29, .92) !important;
        box-shadow: 0 10px 20px rgba(0,0,0,.18) !important;
        pointer-events: none !important;
    }

    .tvm-card:not(.tvm-card--event) .tvm-card__thumb::after {
        content: "" !important;
        position: absolute !important;
        left: calc(50% + 2px) !important;
        bottom: 20px !important;
        z-index: 5 !important;
        width: 0 !important;
        height: 0 !important;
        border-top: 7px solid transparent !important;
        border-bottom: 7px solid transparent !important;
        border-left: 10px solid #fff !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        transform: translateX(-50%) !important;
        pointer-events: none !important;
    }

    .tvm-modal__dialog {
        transition: max-height .18s ease, transform .18s ease !important;
    }

    .tvm-modal__video {
        position: relative !important;
    }

    .tvm-modal__info-toggle {
        z-index: 6 !important;
        min-height: 34px !important;
        padding: 0 12px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: rgba(15,110,168,.92) !important;
        color: #fff !important;
        font-weight: 800 !important;
        box-shadow: 0 10px 22px rgba(0,0,0,.16) !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__content {
        display: none !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__dialog {
        width: calc(100% - 20px) !important;
        max-height: calc(100vh - 20px) !important;
        overflow: visible !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__video {
        margin-bottom: 0 !important;
        border-radius: 22px !important;
        box-shadow: 0 22px 50px rgba(0,0,0,.26) !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__close {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        margin: 0 !important;
    }

    .tvm-tags {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 6px !important;
        overflow: hidden !important;
        margin: 14px 0 !important;
        width: 100% !important;
    }

    .tvm-tags span {
        max-width: calc(50% - 3px) !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        padding: 6px clamp(7px, 2.2vw, 10px) !important;
        font-size: clamp(10px, 2.8vw, 12px) !important;
        line-height: 1.1 !important;
    }

    .tvm-tags span:nth-child(n+3) {
        display: none !important;
    }
}

/* TVM 1.0.44 — mobile collapse built on modal state, not on a fragile text strip. */
@media (max-width: 760px) {
    .tvm-modal__dialog {
        max-height: calc(100dvh - 18px) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    .tvm-modal__video {
        position: relative !important;
        flex: 0 0 auto !important;
        min-height: 210px !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__dialog {
        height: calc(100dvh - 18px) !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__video {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        height: auto !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__video iframe {
        height: 100% !important;
        min-height: 0 !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__content,
    .tvm-modal.is-info-collapsed .tvm-modal__glass {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .tvm-modal__info-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        right: 12px !important;
        bottom: 12px !important;
        z-index: 8 !important;
        min-height: 34px !important;
        padding: 8px 12px !important;
        border-radius: 999px !important;
        background: rgba(6, 38, 59, .88) !important;
        color: #fff !important;
        font-weight: 800 !important;
        font-size: 12px !important;
        box-shadow: 0 10px 24px rgba(0,0,0,.22) !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__info-toggle {
        bottom: 14px !important;
    }

    .tvm-mobile-shell__share,
    .tvm-card__share-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #0b6f9d !important;
        font-size: 0 !important;
        line-height: 1 !important;
    }

    .tvm-mobile-shell__share::before,
    .tvm-card__share-icon::before {
        content: "↗" !important;
        font-size: 15px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        color: currentColor !important;
    }

    .tvm-category-nav {
        position: relative !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 8px !important;
        padding: 8px 16px 12px !important;
        margin-left: -10px !important;
        margin-right: -10px !important;
        scroll-snap-type: x proximity !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        background:
            linear-gradient(90deg, rgba(246,241,232,.96), rgba(246,241,232,0) 28px) left center / 42px 100% no-repeat,
            linear-gradient(270deg, rgba(246,241,232,.96), rgba(246,241,232,0) 28px) right center / 42px 100% no-repeat;
    }

    .tvm-category-nav a {
        flex: 0 0 auto !important;
        scroll-snap-align: start !important;
        white-space: nowrap !important;
    }

    .tvm-category-nav::after {
        content: "przewiń →";
        position: sticky;
        right: 0;
        align-self: center;
        flex: 0 0 auto;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .02em;
        color: rgba(6, 38, 59, .66);
        background: rgba(246, 241, 232, .92);
        border: 1px solid rgba(6, 38, 59, .10);
        border-radius: 999px;
        padding: 5px 8px;
        pointer-events: none;
        box-shadow: 0 8px 16px rgba(0,0,0,.05);
    }

    .tvm-category-nav:not(.has-scroll-right)::after {
        content: "";
        width: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
    }
}

/* TVM 1.0.45 — collapsed mobile modal = horizontal YouTube viewing mode. */
@media (max-width: 760px) {
    .tvm-modal.is-info-collapsed {
        padding: 0 !important;
        background: #000 !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__backdrop {
        background: #000 !important;
        backdrop-filter: none !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__dialog {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #000 !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__video {
        width: min(100vw, 177.78dvh) !important;
        height: min(100dvh, 56.25vw) !important;
        max-width: 100vw !important;
        max-height: 100dvh !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #000 !important;
        overflow: hidden !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__video iframe {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-width: 100% !important;
        max-height: 100% !important;
        display: block !important;
        border: 0 !important;
        background: #000 !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__content,
    .tvm-modal.is-info-collapsed .tvm-modal__glass {
        display: none !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__info-toggle {
        position: fixed !important;
        right: 14px !important;
        bottom: calc(14px + env(safe-area-inset-bottom)) !important;
        z-index: 20 !important;
        min-height: 36px !important;
        padding: 9px 13px !important;
        border: 1px solid rgba(255,255,255,.28) !important;
        background: rgba(5, 20, 31, .72) !important;
        color: #fff !important;
        box-shadow: 0 12px 28px rgba(0,0,0,.32) !important;
        backdrop-filter: blur(10px) !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__close {
        position: fixed !important;
        top: calc(12px + env(safe-area-inset-top)) !important;
        right: 12px !important;
        z-index: 21 !important;
        background: rgba(5, 20, 31, .72) !important;
        color: #fff !important;
        border: 1px solid rgba(255,255,255,.25) !important;
        backdrop-filter: blur(10px) !important;
    }
}

/* TVM 1.0.45 — collapsed mobile modal = horizontal YouTube viewing mode. */
@media (max-width: 760px) {
    .tvm-modal.is-info-collapsed {
        padding: 0 !important;
        background: #000 !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__backdrop {
        background: #000 !important;
        backdrop-filter: none !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__dialog {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #000 !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__video {
        width: min(100vw, 177.78dvh) !important;
        height: min(100dvh, 56.25vw) !important;
        max-width: 100vw !important;
        max-height: 100dvh !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #000 !important;
        overflow: hidden !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__video iframe {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-width: 100% !important;
        max-height: 100% !important;
        display: block !important;
        border: 0 !important;
        background: #000 !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__content,
    .tvm-modal.is-info-collapsed .tvm-modal__glass {
        display: none !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__info-toggle {
        position: fixed !important;
        right: 14px !important;
        bottom: calc(14px + env(safe-area-inset-bottom)) !important;
        z-index: 20 !important;
        min-height: 36px !important;
        padding: 9px 13px !important;
        border: 1px solid rgba(255,255,255,.28) !important;
        background: rgba(5, 20, 31, .72) !important;
        color: #fff !important;
        box-shadow: 0 12px 28px rgba(0,0,0,.32) !important;
        backdrop-filter: blur(10px) !important;
    }

    .tvm-modal.is-info-collapsed .tvm-modal__close {
        position: fixed !important;
        top: calc(12px + env(safe-area-inset-top)) !important;
        right: 12px !important;
        z-index: 21 !important;
        background: rgba(5, 20, 31, .72) !important;
        color: #fff !important;
        border: 1px solid rgba(255,255,255,.25) !important;
        backdrop-filter: blur(10px) !important;
    }
}

/* TVM 1.0.46 — fix: play icon on main mobile video cards stays centered on the thumbnail. */
@media (max-width: 767px) {
    .tvm-grid .tvm-card:not(.tvm-card--event) .tvm-card__thumb {
        position: relative !important;
        overflow: visible !important;
    }

    .tvm-grid .tvm-card:not(.tvm-card--event) .tvm-card__thumb::before {
        left: 50% !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 999px !important;
        background: rgba(7, 20, 29, .92) !important;
        z-index: 4 !important;
    }

    .tvm-grid .tvm-card:not(.tvm-card--event) .tvm-card__thumb::after {
        left: calc(50% + 2px) !important;
        top: 50% !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        z-index: 5 !important;
    }
}

/* 1.0.47 — hide sidebar promos on mobile; tabs keep own Top 3 */
@media (max-width: 920px) {
    .tvm-sidebar-promos {
        display: none;
    }
}

/* TVM 1.0.50 — mobile: relacja offline wycentrowana i stabilna po hover/tap. */
@media (max-width: 760px) {
    .tvm-live-box,
    .tvm-live-box.is-offline,
    .tvm-live-box.is-offline:hover,
    .tvm-live-box:not(.is-live):hover {
        min-height: 132px !important;
        padding: 18px !important;
        gap: 14px !important;
    }

    .tvm-live-box__body,
    .tvm-live-box.is-offline .tvm-live-box__body,
    .tvm-live-box.is-offline:hover .tvm-live-box__body,
    .tvm-live-box:not(.is-live):hover .tvm-live-box__body {
        justify-content: center !important;
        gap: 12px !important;
    }
}

/* TVM 1.0.67 — mobile: hamburger i karty bez przewijania poziomego */
@media (max-width:720px){.tvm-category-toggle{display:flex;width:calc(100% - 28px);margin:12px 14px;border-radius:18px;align-items:center;justify-content:center;gap:8px}.tvm-category-nav{display:none;position:relative;margin:10px 14px 0;padding:10px;border-radius:20px;background:rgba(255,250,241,.96);box-shadow:0 12px 30px rgba(25,20,17,.1);grid-template-columns:1fr;gap:8px;overflow:visible}.tvm-category-nav.is-open{display:grid}.tvm-category-nav a{width:100%;justify-content:center;text-align:center;text-decoration:none!important}.tvm-mobile-shell__card,.tvm-mobile-bottom-top__item{min-width:0}.tvm-mobile-shell__body strong,.tvm-mobile-bottom-top__item span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tvm-mobile-shell__desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}

/* TVM 1.0.78 — mobile order and card polish: top first, then hamburger tabs/filters; film cards with full-width title and media+description row. */
@media (max-width: 780px) {
    .tvm-video-hub .tvm-mobile-shell {
        display: block !important;
        order: 3;
        width: min(calc(100% - 24px), 440px) !important;
        margin: 22px auto 18px !important;
    }

    .tvm-video-hub .tvm-tabs-bar {
        order: 4;
        width: min(calc(100% - 24px), 440px) !important;
        margin: 0 auto 14px !important;
    }

    .tvm-video-hub .tvm-tabs-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        align-items: stretch !important;
    }

    .tvm-video-hub .tvm-category-toggle,
    .tvm-video-hub .tvm-filter-mobile-toggle {
        margin: 0 !important;
        width: 100% !important;
        min-height: 54px !important;
        border-radius: 22px !important;
    }

    .tvm-video-hub .tvm-tabs-add-event {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        justify-content: center !important;
        min-height: 54px !important;
    }

    .tvm-video-hub .tvm-category-nav.is-open,
    .tvm-video-hub .tvm-content-filters.is-open {
        width: 100% !important;
        margin-top: 10px !important;
    }

    .tvm-video-hub .tvm-layout {
        margin-top: 8px !important;
    }

    .tvm-video-hub .tvm-grid {
        gap: 20px !important;
    }

    .tvm-video-hub .tvm-card {
        max-width: min(100%, 420px) !important;
        margin-inline: auto !important;
        border-radius: 28px !important;
        transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
    }

    .tvm-video-hub .tvm-card.is-mobile-active {
        transform: translateY(-3px) !important;
        box-shadow: 0 24px 48px rgba(20, 32, 45, .12) !important;
        border-color: rgba(9, 151, 181, .22) !important;
    }

    .tvm-video-hub .tvm-card__button {
        display: grid !important;
        grid-template-columns: minmax(112px, 42%) 1fr !important;
        gap: 12px 16px !important;
        align-items: start !important;
        padding: 22px 22px 20px !important;
        min-height: 0 !important;
    }

    .tvm-video-hub .tvm-card__content {
        display: contents !important;
    }

    .tvm-video-hub .tvm-card__title {
        grid-column: 1 / -1 !important;
        order: 1 !important;
        width: 100% !important;
        font-size: clamp(21px, 5.4vw, 27px) !important;
        line-height: 1.02 !important;
        letter-spacing: -.035em !important;
        margin: 0 0 2px !important;
        max-width: 100% !important;
    }

    .tvm-video-hub .tvm-card__categories {
        grid-column: 1 / -1 !important;
        order: 2 !important;
        margin: -1px 0 2px !important;
    }

    .tvm-video-hub .tvm-card__thumb {
        grid-column: 1 !important;
        order: 3 !important;
        width: 100% !important;
        max-width: none !important;
        aspect-ratio: 16 / 9 !important;
        margin: 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .tvm-video-hub .tvm-card__thumb::after {
        content: "▶";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(.88);
        width: 48px;
        height: 48px;
        border-radius: 999px;
        display: grid;
        place-items: center;
        padding-left: 3px;
        background: rgba(19, 32, 44, .72);
        color: #fff;
        font-size: 19px;
        line-height: 1;
        opacity: .72;
        box-shadow: 0 10px 24px rgba(0,0,0,.18);
        transition: transform .18s ease, opacity .18s ease, background .18s ease;
    }

    .tvm-video-hub .tvm-card.is-mobile-active .tvm-card__thumb::after,
    .tvm-video-hub .tvm-card:focus-within .tvm-card__thumb::after {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
        background: rgba(221, 62, 55, .92);
    }

    .tvm-video-hub .tvm-card__description {
        grid-column: 2 !important;
        order: 4 !important;
        align-self: stretch !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 10px 0 10px 14px !important;
        font-size: clamp(15px, 3.8vw, 17px) !important;
        line-height: 1.38 !important;
        -webkit-line-clamp: 4 !important;
        overflow: hidden !important;
    }

    .tvm-video-hub .tvm-card__meta {
        grid-column: 1 / -1 !important;
        order: 5 !important;
        margin-top: 6px !important;
        padding-top: 12px !important;
        width: 100% !important;
    }

    .tvm-video-hub .tvm-card__rating {
        min-width: 0 !important;
    }

    .tvm-video-hub .tvm-mobile-shell__rail {
        scroll-snap-type: x mandatory !important;
    }

    .tvm-video-hub .tvm-mobile-shell__card {
        scroll-snap-align: center !important;
        position: relative !important;
    }

    .tvm-video-hub .tvm-mobile-shell__card.is-mobile-top-active {
        border-color: rgba(9, 151, 181, .22) !important;
        box-shadow: 0 22px 44px rgba(20,32,45,.13) !important;
    }
}

@media (max-width: 430px) {
    .tvm-video-hub .tvm-card__button {
        grid-template-columns: minmax(104px, 40%) 1fr !important;
        gap: 10px 14px !important;
        padding: 20px 18px 18px !important;
    }

    .tvm-video-hub .tvm-card__description {
        font-size: 15px !important;
        -webkit-line-clamp: 3 !important;
        padding-left: 12px !important;
    }
}

/* TVM 1.0.79 — mobile: przywrócona góra, czytelny Top i karty bez chaosu historycznych łat. */
@media (max-width: 780px) {
    .tvm-video-hub {
        overflow-x: hidden !important;
    }
    .tvm-video-hub .tvm-hero {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        padding-top: calc(12px + env(safe-area-inset-top)) !important;
    }
    .tvm-video-hub .tvm-hero__top {
        order: 1 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: min(calc(100% - 24px), 440px) !important;
        margin: 0 auto !important;
        gap: 12px !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .tvm-video-hub .tvm-hero__brand-copy,
    .tvm-video-hub .tvm-hero__brand-col,
    .tvm-video-hub .tvm-hero__live-col {
        display: grid !important;
        justify-items: center !important;
        text-align: center !important;
    }
    .tvm-video-hub .tvm-hero__logo-col {
        display: none !important;
    }
    .tvm-video-hub .tvm-eyebrow {
        margin-bottom: 4px !important;
        font-size: 11px !important;
        letter-spacing: .16em !important;
    }
    .tvm-video-hub .tvm-hero h2 {
        margin: 0 !important;
        font-size: clamp(30px, 9vw, 42px) !important;
        line-height: .98 !important;
    }
    .tvm-video-hub .tvm-intro {
        margin: 8px auto 0 !important;
        max-width: 34em !important;
        font-size: 14.5px !important;
        line-height: 1.42 !important;
    }
    .tvm-video-hub .tvm-mobile-shell {
        order: 2 !important;
        width: min(calc(100% - 24px), 440px) !important;
        margin: 2px auto 12px !important;
        padding: 14px !important;
        border-radius: 24px !important;
        background: rgba(255,255,255,.82) !important;
        border: 1px solid rgba(7, 87, 111, .12) !important;
        box-shadow: 0 18px 42px rgba(20, 32, 45, .10) !important;
    }
    .tvm-video-hub .tvm-mobile-shell__header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        text-align: left !important;
    }
    .tvm-video-hub .tvm-mobile-shell__header h3 {
        font-size: 19px !important;
        line-height: 1.1 !important;
        margin: 0 0 3px !important;
    }
    .tvm-video-hub .tvm-mobile-shell__header p {
        font-size: 12.5px !important;
        line-height: 1.3 !important;
    }
    .tvm-video-hub .tvm-mobile-shell__rail {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: minmax(260px, 86%) !important;
        gap: 12px !important;
        overflow-x: auto !important;
        padding: 8px 2px 8px !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .tvm-video-hub .tvm-mobile-shell__card {
        display: grid !important;
        grid-template-columns: 98px minmax(0,1fr) !important;
        gap: 12px !important;
        min-width: 0 !important;
        padding: 10px !important;
        border-radius: 18px !important;
        background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(241,248,250,.92)) !important;
        border: 1px solid rgba(7, 87, 111, .14) !important;
        box-shadow: 0 12px 28px rgba(20, 32, 45, .10) !important;
    }
    .tvm-video-hub .tvm-mobile-shell__media,
    .tvm-video-hub .tvm-mobile-shell__media img {
        width: 98px !important;
        aspect-ratio: 16 / 10 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        object-fit: cover !important;
    }
    .tvm-video-hub .tvm-mobile-shell__body {
        min-width: 0 !important;
        display: grid !important;
        gap: 5px !important;
    }
    .tvm-video-hub .tvm-mobile-shell__body strong {
        font-size: 15px !important;
        line-height: 1.15 !important;
        color: #162631 !important;
    }
    .tvm-video-hub .tvm-mobile-shell__desc {
        font-size: 12.5px !important;
        line-height: 1.32 !important;
        color: rgba(22, 38, 49, .72) !important;
    }
    .tvm-video-hub .tvm-mobile-shell__rating {
        color: #a86800 !important;
        font-weight: 900 !important;
    }
    .tvm-video-hub .tvm-tabs-bar {
        order: 3 !important;
    }
    .tvm-video-hub .tvm-layout {
        order: 4 !important;
    }
    .tvm-video-hub .tvm-card__button {
        grid-template-columns: minmax(112px, 40%) 1fr !important;
    }
    .tvm-video-hub .tvm-card__title {
        font-size: clamp(20px, 5.6vw, 25px) !important;
    }
}
@media (max-width: 430px) {
    .tvm-video-hub .tvm-mobile-shell__rail {
        grid-auto-columns: minmax(250px, 88%) !important;
    }
    .tvm-video-hub .tvm-card__button {
        grid-template-columns: 1fr !important;
    }
    .tvm-video-hub .tvm-card__thumb,
    .tvm-video-hub .tvm-card__description {
        grid-column: 1 / -1 !important;
    }
}

/* TVM 1.0.80 — twarda naprawa mobile top: góra huba ma być pierwsza, widoczna i nieucięta. */
@media (max-width: 780px) {
    .tvm-video-hub {
        display: block !important;
        min-height: auto !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }
    .tvm-video-hub .tvm-hero {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        transform: none !important;
        margin: 0 0 16px !important;
        padding: max(18px, env(safe-area-inset-top)) 0 14px !important;
        position: relative !important;
        z-index: 2 !important;
    }
    .tvm-video-hub .tvm-hero__top {
        display: grid !important;
        grid-template-columns: 1fr !important;
        order: 1 !important;
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        position: relative !important;
        z-index: 3 !important;
    }
    .tvm-video-hub .tvm-hero__brand-col,
    .tvm-video-hub .tvm-hero__brand-copy,
    .tvm-video-hub .tvm-hero__live-col {
        min-height: 0 !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .tvm-video-hub .tvm-hero .tvm-eyebrow,
    .tvm-video-hub .tvm-hero h2,
    .tvm-video-hub .tvm-hero .tvm-intro,
    .tvm-video-hub .tvm-hero .tvm-live-box {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .tvm-video-hub .tvm-hero .tvm-live-box {
        width: 100% !important;
        max-width: 360px !important;
        margin-inline: auto !important;
    }
    .tvm-video-hub .tvm-mobile-shell {
        order: 2 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    .tvm-video-hub .tvm-tabs-bar,
    .tvm-video-hub .tvm-layout {
        position: relative !important;
        z-index: 1 !important;
    }
}


/* TVM 1.0.84 — mobile modal: czysty układ sterowania filmem, bez nachodzenia strzałek na Zwiń/Rozwiń. */
@media (max-width: 760px) {

















}

@media (max-width: 380px) {

}

/* TVM 1.0.85 — mobile: logo przy nazwie Video Hub + naprawa pełnej linii głosowania w modalu. */
.tvm-hero__mobile-brandline { display: none; }
@media (max-width: 780px) {
    .tvm-video-hub .tvm-hero__mobile-brandline { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 9px !important; width: auto !important; max-width: calc(100vw - 36px) !important; margin: 0 auto 8px !important; padding: 7px 12px !important; border-radius: 999px !important; border: 1px solid rgba(255,255,255,.22) !important; background: rgba(255,255,255,.10) !important; box-shadow: 0 10px 24px rgba(0,0,0,.16) !important; backdrop-filter: blur(10px) !important; color: #fff !important; }
    .tvm-video-hub .tvm-hero__mobile-logo { display: block !important; width: 34px !important; height: 34px !important; min-width: 34px !important; border-radius: 50% !important; object-fit: contain !important; background: rgba(255,255,255,.94) !important; padding: 3px !important; box-shadow: 0 6px 16px rgba(0,0,0,.18) !important; }
    .tvm-video-hub .tvm-hero__mobile-logo--placeholder { display:inline-flex !important; align-items:center !important; justify-content:center !important; font-weight:900 !important; font-size:13px !important; color:#075b87 !important; }
    .tvm-video-hub .tvm-hero__mobile-name { display:inline-block !important; font-size:14px !important; line-height:1 !important; font-weight:900 !important; letter-spacing:.02em !important; white-space:nowrap !important; color:#fff !important; text-shadow:0 1px 5px rgba(0,0,0,.22) !important; }
    .tvm-video-hub .tvm-hero__logo-col { display: none !important; }
}
