/* Fit the quantity controls inside the existing PC merchant row wells. */
#dialogbody .pc-item-list .pc-shop-quantity380 {
  position: absolute;
  left: 132px;
  width: 78px;
  height: 22px;
  display: flex;
  gap: 1px;
  align-items: stretch;
  background: #151310;
  z-index: 1;
}
#dialogbody .pc-item-list .pc-shop-quantity380 button {
  position: static;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent center / 10px 11px no-repeat;
  image-rendering: pixelated;
  cursor: pointer;
  touch-action: manipulation;
}
#dialogbody .pc-item-list .pc-shop-quantity380 button:disabled {
  opacity: .45;
  cursor: default;
}
#dialogbody .pc-item-list .pc-shop-quantity380 input {
  box-sizing: border-box;
  flex: 0 0 32px;
  width: 32px;
  min-width: 0;
  height: 22px;
  margin: 0;
  padding: 0 1px;
  border: 1px solid #8e7951;
  border-radius: 1px;
  background: #090806;
  color: #eee8dc;
  font: 12px/20px 'PMingLiU', serif;
  text-align: center;
}
#dialogbody .pc-item-list:has(.pc-shop-quantity380) .pc-item-list-row small {
  right: 79px;
}
#dialog.pc-shop-dialog:has(.pc-shop-quantity380) .pc-shop-checkout {
  left: 158px;
  top: 309px;
  width: 34px;
  height: 24px;
  background-position: center;
}
#dialog.pc-shop-dialog:has(.pc-shop-quantity380) .pc-shop-cancel {
  left: 192px;
  top: 309px;
  width: 44px;
  height: 24px;
  background-position: center;
}
#dialog.pc-shop-dialog:has(.pc-shop-quantity380) .pc-shop-total {
  width: 110px;
}
