/* TV mode keeps the desktop layout. It only scales, pads, rings focus, and hides the right column. */

html.tv-on body {
  zoom: var(--tv-zoom, 1.5);
  padding-top: var(--tv-pad, 0px);
  padding-bottom: var(--tv-pad, 0px);
}

html.tv-noside .side {
  display: none !important;
}

html.tv-on .tv-focus {
  outline: 3px solid #1d9bf0;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #1d9bf0;
  position: relative;
  z-index: 6;
  transform: scale(1.03);
}

html.tv-on input.tv-focus,
html.tv-on textarea.tv-focus,
html.tv-on .nav-item.tv-focus,
html.tv-on .tab.tv-focus,
html.tv-on .account-pill.tv-focus {
  transform: none;
}

html.tv-on #viewer {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

@media (prefers-reduced-motion: reduce) {
  html.tv-on .tv-focus {
    transform: none;
  }
}
