/* Keep the route summary in the page flow, below the scenic preview. */
.bottomoverlay {
  position: static;
  align-items: center;
  padding: 10px 16px;
  background: #0c2330;
}
.bottomoverlay .route {flex: 1; min-width: 0; background: none; padding: 0}
.bottomoverlay #ghost {display: none}
.video-badge {display: none !important}
.stage .pacehud {width: min(285px, calc(100% - 80px)); right: 14px; bottom: 14px}
.stage .beatroute-screen-toggle {left: 14px; bottom: 14px}
.stage .v7hud {display: none !important}

body[data-activity="run"] #connect,
body[data-activity="run"] .erg-metric,
body[data-activity="run"] #customBuilder,
body[data-activity="run"] .demo-power-controls {display: none}
.run-metric {display: none}
body[data-activity="run"] .run-metric {display: block}

@media (max-width: 1050px) {
  .layout {grid-template-columns: minmax(0, 1fr)}
  aside {border-left: 0}
  .stage {height: clamp(360px, 58vw, 530px)}
  .stage .topoverlay {left: 12px; top: 12px; right: 12px}
  .stage .chip {font-size: 10px; padding: 8px}
  .stage .chip strong {font-size: 17px}
  .stage .beatroute-quick-controls {top: 80px; right: 12px}
  body.immersive .stage .beatroute-quick-controls {top: 80px !important; right: 12px !important}
  .stage .interval-hud,
  .stage .interval-instruction {display: none !important}
}

@media (max-height: 470px) {
  body.immersive .stage .pacehud .legend,
  body.immersive .stage .pacehud .note {display: none}
}
