/* WOW TV | Mobile controls order and stacked footer, 2026-11-22 */
@media (max-width: 767px) {
  /* Keep the right-hand mobile controls in this sequence: YouTube, date, menu. */
  body.video-home:not(.tv-mode) .site-header .header-inner > .wow-header-date {
    display: inline-flex !important;
    order: 4 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex: 0 0 auto;
    width: auto;
    height: 40px;
    min-height: 40px;
    padding: 0 6px;
    gap: 3px;
    font-size: 10px;
    box-sizing: border-box;
  }
  body.video-home:not(.tv-mode) .site-header .header-inner > .youtube-header-link {
    order: 3 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    width: 44px;
    min-width: 44px;
    min-height: 40px;
    height: 40px;
    flex: 0 0 44px;
    box-sizing: border-box;
    background: #050505;
    border: 2px solid #000000 !important;
    border-radius: 8px;
  }
  body.video-home:not(.tv-mode) .site-header .header-inner > .menu-toggle {
    order: 5 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Former white YouTube lozenge and dark triangle -> black and red. */
  body.video-home:not(.tv-mode) .site-header .youtube-header-icon rect {
    fill: #050505 !important;
  }
  body.video-home:not(.tv-mode) .site-header .youtube-header-icon path {
    fill: #ff3038 !important;
  }
  body.video-home:not(.tv-mode) .site-header .youtube-header-link:hover,
  body.video-home:not(.tv-mode) .site-header .youtube-header-link:focus-visible {
    background: #0b0b0b;
    border-color: #000000;
  }

  /* All parts of the mobile footer are centered. */
  body.video-home .wow-home-footer .wow-footer-inner {
    width: calc(100% - 32px);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  body.video-home .wow-home-footer .wow-footer-main {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px 0 9px;
  }
  body.video-home .wow-home-footer .wow-footer-logo {
    margin: 0 auto;
    width: 166px;
    max-width: 80%;
  }
  body.video-home .wow-home-footer .wow-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    padding: 9px 0 21px;
    text-align: center;
  }
  body.video-home .wow-home-footer .wow-footer-line {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-width: 0;
    margin: 0;
    font-size: 11px;
    line-height: 1.65;
    letter-spacing: .025em;
    text-align: center;
  }
  body.video-home .wow-home-footer .wow-footer-line > * {
    text-align: center;
    max-width: 100%;
    white-space: normal;
  }
  body.video-home .wow-home-footer .wow-footer-divider {
    display: none;
  }
  body.video-home .wow-home-footer .wow-footer-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  body.video-home .wow-home-footer .wow-footer-bywyou {
    width: 84px;
    max-width: 50%;
  }
  body.video-home .wow-home-footer .wow-footer-to-top {
    width: 36px;
    min-width: 36px;
    height: 36px;
    margin: 0 auto;
  }
}
@media (max-width: 360px) {
  body.video-home:not(.tv-mode) .site-header .header-inner > .wow-header-date {
    padding: 0 4px;
    font-size: 9px;
    gap: 2px;
  }
  body.video-home:not(.tv-mode) .site-header .header-inner > .youtube-header-link {
    width: 40px;
    min-width: 40px;
    flex-basis: 40px;
  }
}
