.project-workspace-shell > .dev-header.movable-back-control {
  position: fixed;
  right: auto;
  bottom: auto;
  width: max-content;
  max-width: none;
  margin: 0;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transform: none;
  transition: none;
}

.project-workspace-shell #backbtndevtool[data-movable-back],
.project-workspace-shell #backbtndevtool[data-movable-back]:hover {
  position: relative;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  transform: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  cursor: grab;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.project-workspace-shell #backbtndevtool[data-movable-back]::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 12px;
  height: 3px;
  transform: translateX(-50%);
  background: radial-gradient(circle, currentColor 1px, transparent 1.5px) 0 0 / 4px 3px;
  opacity: 0.5;
  pointer-events: none;
}

.project-workspace-shell #backbtndevtool[data-movable-back].is-dragging {
  cursor: grabbing;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(79, 118, 246, 0.2);
}

.movable-back-hint {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(247, 250, 252, 0.96);
  color: #365773;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
}

.movable-back-control.hint-to-left .movable-back-hint {
  left: auto;
  right: calc(100% + 10px);
}

.movable-back-instructions {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.movable-back-safe-area {
  position: absolute;
  width: 0;
  height: 0;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .project-workspace-shell #backbtndevtool[data-movable-back] {
    transition: none;
  }
}
