/* RibbonLine header: preserve the theme masthead height; use a 50–90px slot. */
#rln-global-header #smart-head > .smart-head-mid {
  height: var(--head-h, 106px);
  min-height: 0;
}
#rln-global-header #smart-head > .smart-head-mid > .inner {
  height: 100%;
  min-height: 0;
  align-items: center;
}
#rln-global-header #smart-head > .smart-head-mid .items-left {
  flex: 0 0 auto;
}
#rln-global-header #smart-head > .smart-head-mid .items-center.empty {
  flex: 0 0 0;
}
#rln-global-header #smart-head > .smart-head-mid .items-right {
  min-width: 0;
  height: 100%;
  flex: 1 1 0;
  margin-left: 32px;
}
#rln-global-header .rln-header-ad {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 0 1 var(--rln-ad-width, 728px);
  width: var(--rln-ad-width, 728px);
  max-width: 100%;
  height: var(--rln-ad-height, 90px);
  max-height: 90px;
  min-width: 0;
  margin-block: 0;
  text-align: center;
}
#rln-global-header .rln-header-ad[hidden] {
  display: none;
}
#rln-global-header .rln-header-ad-content {
  box-sizing: border-box;
  flex: 1 1 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
#rln-global-header .rln-header-ad img {
  max-width: 100%;
  max-height: var(--rln-ad-height, 90px);
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}
#rln-global-header .rln-header-ad-label {
  display: block;
  flex: 0 0 12px;
  margin-bottom: 2px;
  color: #666;
  font-size: 9px;
  line-height: 12px;
}
#rln-global-header .rln-native-mobile-music {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
}
#rln-global-header .rln-native-mobile-music:disabled {
  cursor: default;
  opacity: .5;
}
#rln-global-header .rln-native-mobile-music:focus-visible {
  outline: 2px solid var(--rln-menu-active, #6442d6);
  outline-offset: -2px;
}
