.tvm-shell { width: min(calc(100% - 30px), var(--tvm-shell)); }
.tvm-main { min-height: 60vh; }

.tvm-page-intro, .tvm-video-intro { padding-top: 28px; }
.tvm-page-intro h1,
.tvm-information-hero h1 { font-size: clamp(2.05rem, 9.4vw, 2.85rem); line-height: 1.02; }
.tvm-video-intro h1 { font-size: clamp(1.95rem, 8.7vw, 2.55rem); line-height: 1.03; }
.tvm-page-intro__lead { font-size: .96rem; }
.tvm-page-intro--catalog, .tvm-page-intro--editorial, .tvm-catalog-feature, .tvm-video-body, .tvm-live-feature { grid-template-columns: 1fr; }
.tvm-page-intro__visual,
.tvm-page-intro__visual img { min-height: 230px; }

.tvm-player { border-radius: 14px; }
.tvm-player-shell { margin-bottom: 36px; }
.tvm-video-body { gap: 38px; }
.tvm-video-facts__inner { position: static; }

.tvm-share {
    flex-wrap: nowrap;
    margin-inline: -15px;
    padding-inline: 15px;
    overflow-x: auto;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
}
.tvm-share::-webkit-scrollbar { display: none; }
.tvm-share > span { flex: none; width: auto; }
.tvm-share a,
.tvm-share button { flex: none; scroll-snap-align: start; }

.tvm-related__grid, .tvm-archive-grid, .tvm-camera-grid, .tvm-collection-grid { grid-template-columns: 1fr; }

.tvm-mobile-catalog-toolbar {
    position: sticky;
    z-index: 40;
    top: calc(var(--tvm-mobile-header-height) + 8px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    padding: 8px;
    border: 1px solid var(--tvm-line);
    border-radius: 18px;
    background: rgba(7, 58, 61, .94);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .25);
    backdrop-filter: blur(16px);
}
.tvm-mobile-catalog-toolbar > div { display: flex; align-items: baseline; gap: 5px; padding-left: 8px; }
.tvm-mobile-catalog-toolbar strong { font-size: .98rem; }
.tvm-mobile-catalog-toolbar span { color: var(--tvm-dim); font-size: .67rem; }
.tvm-mobile-catalog-toolbar button {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--tvm-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
    color: var(--tvm-ink);
    font-size: .75rem;
    font-weight: 700;
}

.js.tvm-mobile-experience .tvm-filter-panel:not(.is-mobile-open) { display: none; }
.tvm-filter-panel.is-mobile-open {
    position: fixed;
    z-index: 195;
    inset: 0;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
.tvm-filter-panel.is-mobile-open > summary { display: none; }
.tvm-mobile-filter-backdrop {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    border: 0;
    background: rgba(1, 29, 31, .76);
    backdrop-filter: blur(10px);
}
.tvm-filter-panel__sheet {
    position: relative;
}
.tvm-filter-panel.is-mobile-open .tvm-filter-panel__sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    max-height: min(88dvh, 800px);
    padding: 10px 17px calc(25px + var(--tvm-mobile-safe-bottom));
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--tvm-line-strong);
    border-bottom: 0;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(155deg, #11585b, #052e31 74%);
    box-shadow: 0 -24px 70px rgba(0, 0, 0, .46);
}
.tvm-filter-panel__mobile-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0 20px;
}
.tvm-filter-panel__mobile-header h2 { margin: 3px 0 0; font-size: 1.65rem; }
.tvm-filter-panel__mobile-header button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--tvm-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    color: var(--tvm-ink);
    font-size: 1.5rem;
}
.tvm-filter-panel.is-mobile-open form { grid-template-columns: 1fr; gap: 14px; }
.tvm-filter-panel.is-mobile-open label { gap: 7px; }
.tvm-filter-panel.is-mobile-open input,
.tvm-filter-panel.is-mobile-open select { min-height: 49px; }
.tvm-filter-panel.is-mobile-open .tvm-filter-panel__search,
.tvm-filter-panel.is-mobile-open .tvm-filter-panel__actions { grid-column: auto; }
.tvm-filter-panel.is-mobile-open .tvm-filter-panel__actions {
    position: sticky;
    bottom: 0;
    display: grid;
    gap: 9px;
    padding: 14px 0 2px;
    background: linear-gradient(to top, #052e31 75%, transparent);
}
.tvm-filter-panel.is-mobile-open .tvm-filter-panel__actions button,
.tvm-filter-panel.is-mobile-open .tvm-filter-panel__actions a { width: 100%; justify-content: center; min-height: 48px; }

.tvm-catalog-shortcuts { grid-template-columns: 1fr 1fr; }
.tvm-catalog-shortcuts a,
.tvm-catalog-shortcuts a + a,
.tvm-catalog-shortcuts a:nth-child(odd),
.tvm-catalog-shortcuts a:nth-child(even) {
    min-height: 90px;
    padding: 18px 26px 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--tvm-line);
}
.tvm-catalog-shortcuts a:nth-child(even) { padding-left: 15px; }

.tvm-information-nav { position: static; }
.tvm-information-nav .tvm-shell {
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}
.tvm-information-nav .tvm-shell::-webkit-scrollbar { display: none; }
.tvm-information-nav a { flex: none; padding: 15px 0; font-size: .75rem; }
.tvm-info-copy--split,
.tvm-ecosystem__heading,
.tvm-info-points,
.tvm-info-facts { grid-template-columns: 1fr; }
.tvm-tv-timeline::before { left: 10px; }
.tvm-tv-timeline article { grid-template-columns: 1fr; gap: 11px; padding-left: 36px; padding-bottom: 55px; }
.tvm-tv-timeline article::before { left: 5px; }
.tvm-ecosystem-grid,
.tvm-information-next__grid { grid-template-columns: 1fr; }

.tvm-prefooter { padding: 56px 0; }
.tvm-prefooter__inner { display: grid; gap: 25px; }
.tvm-prefooter__actions { justify-content: flex-start; }

.tvm-footer { padding-top: 52px; }
.tvm-footer__main { grid-template-columns: 1fr; gap: 19px; }
.tvm-footer__brand { padding-bottom: 12px; }
.tvm-footer__column {
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--tvm-line);
}
.tvm-footer .tvm-footer__title {
    display: flex;
    align-items: center;
    min-height: 52px;
    margin: 0;
    color: var(--tvm-muted);
}
.tvm-footer__column > nav { gap: 0; padding-bottom: 13px; }
.tvm-footer__column a { min-height: 42px; display: flex; align-items: center; }
.tvm-footer__ecosystem,
.tvm-footer__region { display: grid; gap: 13px; margin-top: 30px; }
.tvm-footer__ecosystem > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.tvm-footer__region { align-items: flex-start; gap: 10px 16px; }
.tvm-footer__region > span { width: 100%; }
.tvm-footer__bottom { display: grid; gap: 18px; }
.tvm-footer__bottom nav { justify-content: flex-start; }

.tvm-error-hero { min-height: 650px; }
.tvm-error-hero__frame { right: -30%; width: 90vw; opacity: .65; }
.tvm-error-hero__content { padding-bottom: 65px; }
.tvm-error-hero__actions,
.tvm-empty--search > div { display: grid; }

@media (max-width: 560px) {
    .tvm-catalog-shortcuts { grid-template-columns: 1fr; }
    .tvm-catalog-shortcuts a:nth-child(even) { padding-left: 0; }
    .tvm-footer__ecosystem > div { grid-template-columns: 1fr; }
}
