#timelineDock .time-dock-toggle, #observatoryClock .time-dock-toggle {
  position:absolute;
  right:0;
  bottom:calc(100% + 6px);
  min-height:34px;
  padding:5px 10px;
  border:1px solid #b9c6d55c;
  border-radius:8px;
  background:#101b2b;
  color:#e5edf8;
  font-size:12px;
  white-space:nowrap;
}
#timelineDock .time-dock-toggle:focus-visible,
#observatoryClock .time-dock-toggle:focus-visible {outline:2px solid var(--accent);outline-offset:2px}
body.time-dock-collapsed :is(#timelineDock,#observatoryClock) {
  left:auto;
  padding:0;
  border:0;
  background:none;
  box-shadow:none;
  backdrop-filter:none;
}
body.time-dock-collapsed :is(#timelineDock,#observatoryClock) > :not(.time-dock-toggle) {display:none}
body.time-dock-collapsed :is(#timelineDock,#observatoryClock) .time-dock-toggle {position:static}
body.time-dock-collapsed #sceneTools {bottom:64px}
body.time-dock-collapsed #solarToolbar {bottom:110px}
body.time-dock-collapsed :is(#scaleLegend,#motionNote,#observatorySeason) {bottom:110px}
body.dated-clock.time-dock-collapsed #viewOptions {bottom:43px}
@media (max-width:550px) {
  #timelineDock .time-dock-toggle, #observatoryClock .time-dock-toggle {min-height:38px}
  body[data-scene="galaxy"]:not(.time-dock-collapsed) #sceneTools {transform:translateY(-44px)}
  body.time-dock-collapsed #sceneTools {bottom:calc(60px + env(safe-area-inset-bottom))}
  body.time-dock-collapsed #solarToolbar {bottom:calc(142px + env(safe-area-inset-bottom))}
  body.time-dock-collapsed :is(#scaleLegend,#motionNote,#observatorySeason) {bottom:calc(136px + env(safe-area-inset-bottom))}
}
