/* Add to Home Screen hint: slim bar in the page flow under the top bar, never over the YouTube player. */
.hbn-a2hs {
  position: relative;
  z-index: 52;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 12px;
  background: #172554;
  color: #ffffff;
  border-bottom: 2px solid #D4A537;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.35;
}
.hbn-a2hs[hidden] { display: none !important; }
.hbn-a2hs-text {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
}
.hbn-a2hs-x {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #D4A537;
  font: 700 22px/1 inherit;
  cursor: pointer;
}
.hbn-a2hs-x:hover,
.hbn-a2hs-x:focus-visible {
  outline: 2px solid #D4A537;
  outline-offset: 2px;
}

/* iPad / wide TV layout: the top bar and the watch stage are fixed, so pin the hint
   just under the top bar and push the stage down. The player stays below the hint. */
@media (min-width: 761px) {
  body.tv-mode .hbn-a2hs {
    position: fixed;
    left: 0;
    right: 0;
    top: 44px;
    bottom: auto;
  }
  body.tv-mode.hbn-a2hs-open .watch {
    inset: calc(44px + var(--a2hs-h, 52px)) 0 0 0;
  }
  body.tv-mode.hbn-a2hs-open.tvb-info-open .watch {
    inset: calc(176px + var(--a2hs-h, 52px)) 0 0 0;
  }
}
