/* Shared treatment for every site navigation bar. */
:where(.eng-header,.collection-topbar,.watch-header,.premium-nav,.news-topbar,.legal-top,.settings-topbar,.shop-topbar,.profile-topbar,.reader-top) {
  border-bottom-color: transparent !important;
  transition: background-color .65s cubic-bezier(.22,1,.36,1), box-shadow .65s cubic-bezier(.22,1,.36,1), backdrop-filter .65s cubic-bezier(.22,1,.36,1);
}
:where(.eng-header,.collection-topbar,.watch-header,.premium-nav,.news-topbar,.legal-top,.settings-topbar,.shop-topbar,.profile-topbar,.reader-top) :where(a,button,img) {
  transition-duration: .65s;
  transition-timing-function: cubic-bezier(.22,1,.36,1);
}
@media (prefers-reduced-motion: reduce) {
  :where(.eng-header,.collection-topbar,.watch-header,.premium-nav,.news-topbar,.legal-top,.settings-topbar,.shop-topbar,.profile-topbar,.reader-top),
  :where(.eng-header,.collection-topbar,.watch-header,.premium-nav,.news-topbar,.legal-top,.settings-topbar,.shop-topbar,.profile-topbar,.reader-top) :where(a,button,img) {
    transition-duration: .01ms !important;
  }
}

/* Reduce icon weight and compositing cost on touch screens across every page. */
@media (max-width: 700px) {
  :where(a,button,label,summary) svg {
    scale: .9;
  }
  :where(.eng-header,.collection-topbar,.watch-header,.premium-nav,.news-topbar,.legal-top,.settings-topbar,.shop-topbar,.profile-topbar,.reader-top) {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  :where(.eng-header,.collection-topbar,.watch-header,.premium-nav,.news-topbar,.legal-top,.settings-topbar,.shop-topbar,.profile-topbar,.reader-top) svg {
    scale: .86;
  }
}
@media (hover: none) and (pointer: coarse) {
  :where(.eng-header,.collection-topbar,.watch-header,.premium-nav,.news-topbar,.legal-top,.settings-topbar,.shop-topbar,.profile-topbar,.reader-top) :where(a,button):hover {
    transform: none !important;
    filter: none !important;
  }
}
