.launcher.window-movable {
  --window-x: 0px;
  --window-y: 0px;
  transform: translate3d(var(--window-x), var(--window-y), 0);
}

body.paws-window-movable {
  overflow-x: clip;
}

.titlebar .window-button {
  flex-shrink: 0;
  margin-left: 0;
}

.window-drag-handle {
  display: flex;
  flex: 1 1 auto;
  align-self: stretch;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 72px;
  padding: 0 8px;
  cursor: grab;
  touch-action: none;
  color: #9c95a5;
  border-radius: 4px;
  user-select: none;
  -webkit-user-select: none;
}

.window-drag-handle .titlebar-caption {
  margin-left: 0;
  color: inherit;
}

.window-drag-handle > .icon {
  width: 14px;
  height: 14px;
  color: #89818f;
  opacity: .8;
}

.window-drag-handle:hover {
  color: #d4c9dd;
  background: #ffffff03;
}

.window-drag-handle:focus-visible {
  outline-color: #a6a3ad;
  outline-offset: -5px;
  background: #ffffff04;
}

.window-drag-handle.pointer-focus:focus { outline: none; }

.window-drag-handle:disabled {
  cursor: default;
}

.window-is-dragging,
.window-is-returning {
  will-change: transform;
}

.window-is-dragging .window-drag-handle {
  cursor: grabbing;
  color: #f0e6f7;
  background: #ffffff04;
}

body.paws-window-dragging,
body.paws-window-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.launcher:fullscreen {
  transform: none !important;
}

.launcher:fullscreen .window-drag-handle {
  cursor: default;
  touch-action: auto;
  background: none;
}

.launcher:fullscreen .window-drag-handle > .icon,
.launcher:fullscreen #center-window-button {
  display: none;
}

.window-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .launcher.window-movable {
    transform: none;
  }

  .titlebar {
    gap: 12px;
  }

  .window-drag-handle {
    cursor: default;
    touch-action: auto;
    background: none;
    min-width: 0;
  }

  .window-drag-handle > .icon,
  #center-window-button {
    display: none;
  }

  .window-drag-handle .titlebar-caption {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .window-is-returning {
    will-change: auto;
  }
}

.launcher:fullscreen .window-drag-handle .titlebar-caption{visibility:hidden}
