/* The shell owns one return handle in Live. Legacy navigation remains elsewhere. */
html[data-hc-live-controls] .iu-shell > .iu-shell-return,
.iu-shell:has(.iu-live-player) > .iu-shell-return {
  display: none !important;
}

body > .hc-live-mobile-return {
  position: fixed;
  z-index: 110;
  inset: auto 0 max(5px, env(safe-area-inset-bottom)) 0;
  display: grid;
  place-items: center;
  width: 120px;
  height: 44px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
body > .hc-live-mobile-return::before {
  content: '';
  width: 96px;
  height: 7px;
  border-radius: 99px;
  background: #f04450;
}
body > .hc-live-mobile-return:active::before { background: #d83340; }
body > .hc-live-mobile-return:focus-visible {
  border-radius: 12px;
  outline: 2px solid #59e0d3;
  outline-offset: -2px;
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  body > .hc-live-mobile-return { display: none; }
}

body > .hc-live-mobile-return {
  inset-block-end: max(10px, calc(env(safe-area-inset-bottom) + 5px));
}
body > .hc-live-mobile-return::before {
  width: 70px;
  height: 4px;
}
body > .hc-live-mobile-return--watch {
  inset-block-end: max(46px, calc(env(safe-area-inset-bottom) + 42px));
}
