/* TubePress Android TV / remote-control presentation */
html.tp-tv-mode { scroll-behavior: smooth; }
html.tp-tv-mode body { font-size: 18px; }
html.tp-tv-mode .container { width: min(94vw, 1720px); max-width: 1720px; }
html.tp-tv-mode .video-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 22px; }
html.tp-tv-mode .video-card, html.tp-tv-mode .category-card, html.tp-tv-mode .channel-card,
html.tp-tv-mode .performer-card, html.tp-tv-mode .album-card { transition: transform .16s ease, box-shadow .16s ease, outline-color .16s ease; transform-origin: center; }
html.tp-tv-mode :is(a,button,[role="button"],input,select,textarea,[tabindex]):focus-visible,
html.tp-tv-mode .video-card:focus-within { outline: 4px solid var(--primary, #6d5dfc) !important; outline-offset: 5px; border-radius: 12px; }
html.tp-tv-mode .video-card:focus, html.tp-tv-mode .video-card:focus-within,
html.tp-tv-mode .category-card:focus, html.tp-tv-mode .channel-card:focus,
html.tp-tv-mode .performer-card:focus, html.tp-tv-mode .album-card:focus { transform: scale(1.055); z-index: 8; box-shadow: 0 14px 38px rgba(0,0,0,.42); }
html.tp-tv-mode .video-card a, html.tp-tv-mode .video-card__link { display: block; }
html.tp-tv-mode .video-card__title, html.tp-tv-mode .section-title { font-size: 1.12em; }
html.tp-tv-mode .main-header, html.tp-tv-mode header { scroll-margin-top: 24px; }
html.tp-tv-mode .video-player, html.tp-tv-mode .video-player--fluid { width: 100%; max-width: 1500px; margin-left: auto; margin-right: auto; }
html.tp-tv-mode .video-player--fluid { aspect-ratio: 16 / 9; }
html.tp-tv-mode .fluid_video_wrapper { font-size: 1.15em; }
html.tp-tv-mode .skip_button, html.tp-tv-mode .fluid_ad_cta { font-size: 18px !important; padding: 18px 26px !important; min-height: 54px; }
html.tp-tv-mode .skip_button:focus, html.tp-tv-mode .skip_button:focus-visible,
html.tp-tv-mode .fluid_ad_cta:focus, html.tp-tv-mode .fluid_ad_cta:focus-visible { outline: 4px solid #fff !important; outline-offset: 3px; box-shadow: 0 0 0 7px var(--primary, #6d5dfc); }
html.tp-tv-mode .fluid_controls_container, html.tp-tv-mode .fluid_controls_container button,
html.tp-tv-mode .fluid_controls_container a { font-size: 17px !important; }
html.tp-tv-mode .topbar, html.tp-tv-mode .mobile-bottom-nav, html.tp-tv-mode .mobile-nav { display: none !important; }
html.tp-tv-mode :is(.home-section,.video-info,.video-comments,.video-sidebar) { scroll-margin-top: 36px; }
html.tp-tv-mode :is(button,a,[role="button"],[tabindex]) { -webkit-tap-highlight-color: transparent; }
@media (min-width: 1500px) {
  html.tp-tv-mode .video-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 26px; }
  html.tp-tv-mode .section-title { font-size: 30px; }
}
@media (max-width: 1100px) {
  html.tp-tv-mode .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
}
@media (max-width: 800px) {
  html.tp-tv-mode .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  html.tp-tv-mode .container { width: 96vw; }
}
@media (prefers-reduced-motion: reduce) {
  html.tp-tv-mode * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
