/* Category pills stay above the card layout. Burger menus use the page's own menus again. */
body.home #sample-grid .video-card.is-chip-off,
body.home.home-preview #sample-grid .video-card.is-chip-off,
body.home #sample-grid .video-card[hidden] {
  display: none !important;
}
.chips .chip,
#preview-chips .chip {
  cursor: pointer;
}
#chip-empty {
  margin: 4px 16px 20px;
  color: #5c6573;
  font-size: 15px;
  line-height: 1.4;
}
#chip-empty[hidden] { display: none !important; }

@media (min-width: 821px) {
  /* Desktop menu covers the header and the language bar. Phone drawer is unchanged. */
  body.menu-open { overflow: hidden; }
  body.home.home-preview.menu-open nav.sidebar,
  body.home.menu-open nav.sidebar,
  body.menu-open nav.sidebar {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    z-index: 430 !important;
  }
  body.menu-open .menu-scrim:not([hidden]) {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 420 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: rgba(18, 22, 31, 0.45) !important;
    cursor: pointer;
  }
  .menu-scrim[hidden] { display: none !important; }
  body.menu-open .app-bar,
  body.menu-open .lang-bar,
  body.menu-open .lang-bar[data-collapsed="false"] {
    z-index: 40 !important;
  }
  body.home.home-preview.menu-open #preview-sidebar,
  body.menu-open #preview-sidebar {
    top: 0 !important;
    z-index: 440 !important;
  }
  body.home .channel-page,
  body[data-zz-page="studio"] .channel-page {
    padding-top: 28px !important;
  }
}
