/* A character moves by its handle; the existing dossier remains the main action. */
#characterOrderInstructions {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.deskHero[data-character-order-id] .deskHeroIdentity > small {
  display: block;
  min-height: 20px;
  padding-right: 36px;
}
.deskHero[data-character-order-id] .deskHeroIdentity h3 {
  margin-top: 13px;
}
.characterOrderHandle {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: #bca777;
  background: #101a1380;
  border: 1px solid #b49a5630;
  border-radius: 5px;
  box-shadow: inset 0 1px #e9d3a20a;
  font: 18px/1 var(--font-ui, system-ui);
  opacity: .74;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease, opacity 120ms ease;
}
.characterOrderHandle svg {
  width: 16px;
  height: 20px;
  fill: currentColor;
}
.characterOrderHandle:focus-visible {
  opacity: 1;
  outline: 2px solid #e4c88b;
  outline-offset: 2px;
  border-color: #d6b77b;
}
.characterOrderHandle:not(:disabled):hover,
.characterOrderHandle[aria-pressed="true"] {
  opacity: 1;
  color: #ead3a2;
  background: #263025;
  border-color: #b99d6075;
  transform: none;
}
.characterOrderHandle:not(:disabled):active,
.characterOrderSource .characterOrderHandle {
  cursor: grabbing;
}
.characterOrderHandle:disabled {
  opacity: .35;
  cursor: default;
}
.characterOrderSource {
  opacity: .45;
}
.deskHero:is(.characterOrderDropBefore, .characterOrderDropAfter) {
  border-color: #d8bb7b;
  box-shadow: inset 0 0 0 1px #d8bb7b30, 0 6px 15px #0004;
}
.deskHero:is(.characterOrderDropBefore, .characterOrderDropAfter)::after {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 1px;
  background: #ead09b;
  box-shadow: 0 0 4px #d3ac6350;
  pointer-events: none;
}
.deskHero.characterOrderDropBefore::after {
  left: 2px;
}
.deskHero.characterOrderDropAfter::after {
  right: 2px;
}
.characterOrderSingleColumn .deskHero:is(.characterOrderDropBefore, .characterOrderDropAfter)::after {
  left: 8px;
  right: 8px;
  width: auto;
  height: 2px;
}
.characterOrderSingleColumn .deskHero.characterOrderDropBefore::after {
  top: 2px;
  bottom: auto;
}
.characterOrderSingleColumn .deskHero.characterOrderDropAfter::after {
  top: auto;
  bottom: 2px;
}
.characterOrderGhost {
  background: #101912;
  border-radius: 5px;
}
.physicalGhost .characterOrderGhostFace {
  opacity: 1 !important;
  border-color: #d3b577;
  box-shadow: inset 0 1px #f3debb20, 0 18px 35px #0009;
  transform: scale(1.02);
  transform-origin: var(--pickup-x) var(--pickup-y);
  transition: none;
  cursor: grabbing;
}
.characterOrderGhost.physicalLanding .characterOrderGhostFace {
  transform: none;
}
.characterOrderGhostFace .characterOrderHandle {
  visibility: hidden;
}
.deskToolbar:has([data-character-order-status]) {
  position: relative;
}
[data-character-order-status] {
  position: absolute;
  top: calc(100% + 1px);
  left: 26px;
  right: 26px;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #b3aa8d;
  font: 11px/1.3 var(--font-ui, system-ui);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-character-order-status]:empty {
  display: none;
}
@media (hover: none), (pointer: coarse) {
  .characterOrderHandle {
    opacity: .9;
    border-color: #b49a5645;
  }
}
@media (max-width: 760px) {
  [data-character-order-status] {
    left: 17px;
    right: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .characterOrderHandle,
  .characterOrderSource,
  .physicalGhost:has(.characterOrderGhostFace),
  .physicalGhost .characterOrderGhostFace {
    transition: none !important;
    animation: none !important;
  }
  .physicalGhost .characterOrderGhostFace {
    transform: none !important;
  }
}
